# UgCS Custom Digital Elevation Model

This document outlines the UgCS custom **Digital Elevation Models** or **DEMs**, how to create custom terrain models for precise flying without a rangefinder. Maps are available from the USGS website or using the UgCS Mapper application.&#x20;

Here is a quick tutorial video from SPH to explain the process:&#x20;

{% embed url="<https://www.youtube.com/watch?v=w-IPdWUy2Yg>" %}

## Finding or Creating Custom DEMs

### USGS

{% embed url="<https://apps.nationalmap.gov/downloader/#/>" %}

The USGS website has map data available for download, using the website above you can locate the most accurate terrain data available for your flight area.&#x20;

1.) Select the Data checkbox for Elevation Products.

2.) **Zoom in** to your planned flight area and **select the polygon option**, outline the borders of your desired area.&#x20;

3.) Select **Search Products** to see available DEM options in the area.

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FAgOsXCiIjgsbZvCqaowW%2FDEM_image_01.png?alt=media&#x26;token=77565a29-aba3-4275-9c4b-5413592a6867" alt=""><figcaption></figcaption></figure>

You will then see the available map options in the area. Choose **Download Link** to get the **.tiff file** to upload into UgCS.<br>

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2F0iGn1jIaeu6g0C2VeIvt%2FDEM_image_02.png?alt=media&#x26;token=4e30f496-8fda-4111-9df0-2098148a0993" alt=""><figcaption></figcaption></figure>

## UgCS Mapper

UgCS Mapper gives you the ability to create your own DEM from orthomosaic datasets.

**Select your image database and output directory**, then when processing is complete you will have .tiff files for orthophoto and terrain.

<br>

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FZgMonYejSQUgkQZuu0Vi%2FDEM_image_03.png?alt=media&#x26;token=74a34db0-882b-422f-bb0e-d5b6856e069f" alt=""><figcaption></figcaption></figure>

## Uploading to UgCS

### Terrain

On the top of UgCS window, select the **Map Options** button.

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FvAJ70vrUnjt27zpYCj22%2FDEM_image_04.png?alt=media&#x26;token=c7961904-1780-4311-95da-83441303c42c" alt=""><figcaption></figcaption></figure>

Select the **Elevation** tab, then **Add** to bring up the creation menu.

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FUNNVxD2KKDZvH1fyTXA6%2FDEM_image_05.png?alt=media&#x26;token=d4fb00e3-1704-4472-b75b-e032e7b4fbe9" alt=""><figcaption></figcaption></figure>

Give your elevation source a name, then hit the **Create** button.

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FQApThiXh8oUB0Jju55E9%2FDEM_image_06.png?alt=media&#x26;token=77654d3b-7500-47dd-a33f-f4a11e5dcddd" alt=""><figcaption></figcaption></figure>

Then select **Upload** to load your .tiff elevation data file. The map icon will appear filled in when the data has finished loading, you will also see on the UgCS Map view the terrain turn green when viewing the enabled elevation data source.

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FSwNDN6H73YJWIMMmgNx0%2FDEM_image_07.png?alt=media&#x26;token=346d5a55-dca9-48e9-93da-81adaf7fea6a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FMa9iqixpUsigsPGT7QmM%2FDEM_image_08.png?alt=media&#x26;token=89910622-9cde-456a-84a1-b268c26f7044" alt=""><figcaption></figcaption></figure>

### Map Overlay

Using the orthophoto .tiff file created, you can also overlay the digital imagery on the UgCS map view. From the **Map Layers** window, **add a source** and **upload the orthophoto file** using the same method as **Terrain**.

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2Fq6JE14HQPKd8Hmv7qFbN%2FDEM_image_09.png?alt=media&#x26;token=2f3aa340-6374-4948-b24e-89c696c649e8" alt=""><figcaption><p>Overlay</p></figcaption></figure>

<figure><img src="https://240141666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhMePZ0UIa6VYv9VbYu4u%2Fuploads%2FYFe7ExfJn4i3RHbATI1k%2FDEM_image_010.png?alt=media&#x26;token=a1e5b12e-917a-4834-9042-da41c4772bc0" alt=""><figcaption><p>Example overlay image</p></figcaption></figure>
