DEM Import Wizard
With this DEM Import Wizard you can import DEM data and create the following output formats:
- Contour lines
- Hypsometric map
- Hill shading map
- Slope gradient map
- Vegetation height map
- Raw data points map
- Intensity map
- Classification map
- 1 DEM Import Data
- 2 Start Import DEM Wizard
- 3 Settings
- 4 LAS Settings
- 5 Create Contour Lines
- 6 Create Hypsometric Map
- 7 Create Hill Shading
- 8 Calculate Slope Gradient
- 9 Classify Vegetation Height
- 10 Summary
The DEM Import Wizard is able to import files with regular and irregular DEM data. Supported DEM data formats are:
- ESRI ASCII Grid (*.asc)
- Raw data ASCII XYZ file (*.xyz)
- ASCII Grid XYZ file (*.xyz)
- LAS file (*.las)
- compressed LAS file (*.laz or *.zlas)
- SRTM file (*.hgt)
laz and zLas Files
laz and zLas files are compressed LAS file.
This is a world wide available DEM data set from the Shuttle Radar Topography Mission (SRTM). SRTM hgt data import requires that a coordinate system set in the OCAD map file.
Start Import DEM Wizard
Select Import from the DEM menu. The DEM Import Wizard appears. Otherwise you can also drag and drop an DEM file from Windows File Explorer onto the OCAD drawing area.
First use Add button to add at least 1 DEM to the DEM Import Wizard dialog. You have three different options:
- Choose a las files which often contain DTM and DSM data
- Choose only DTM data
- Choose DTM and DSM data
Choose las Files
- After adding a las file you can select the item and click the LAS Info button. The LAS File Header dialog opens wich shows the information from the file header like the Number of Points by Return or the Extent.
Choose DTM Data
Add only the DTM file(s).
Please note that not all functions (e.g. vegetation height) are available if only DTM data are available.
Choose DTM and DSM Data
Add the DTM file(s) on the left side and the DSM file(s) on the right.
If the DSM have an other extent than the DTM then OCAD cuts to the DSM to the extent of the DTM or the choosen extent.
Usually the DEM data are in the same coordinate system as the OCAD map. So no transformation is necessary.
OCAD supports the transformation during the DEM import. Click the Choose button to select the coordinate system of the DEM data.
In this example OCAD transform the DEM data from US State Plane (Feet) to the metric UTM Zone 18 North.
Optional it is possible to convert also the height values from Feet to Meters.
DEM data are often big. So the calculation needs needs a lot of time and memory. If you do not need the whole extent of DEM data you can enter here the used extent.
Please note that when an object is selected in the drawing area and you open the DEM Import Wizard, OCAD used the extent of the selected object as default extent.
Click the Next button. OCAD imports the file(s). Depends on the file size of data this step can takes some minutes. The Settings dialog appears.
This dialog shows the information about the DEM data.
OCAD shows here the information about the map extent and the average number of point per square meter.
If the source file is a regular grid (data type of import files = grid), the Cell size box is set to read only. OCAD sets the same cell size for the imported DEM. For irregular DEM data source (data type of import files = raw) the cell size can be set in the 'cell size' box. For these DEM's OCAD interpolates a regular grid with the specified cell size during the import. The cell size depends on the import data and the further usage of the DEM.
During the import procedure the imported DEM must be saved in the OCAD DEM file format (*.ocdDem) and it is loaded to the OCAD map.
Choose here the file name of this DEM file.
If only one import file is choosen OCAD uses by default the file name of the import file. Otherwise the filename of the ocd map.
If the ocd file is untiteled OCAD exports the DEM files in the temporary user directory (C:\Users\XXX\AppData\Roaming\OCAD\OCAD 12\Tmp).
OCAD can create different outputs depending on the choosen import data type (DTM and DSM or only DTM).
Check or uncheck these outputs. OCAD shows for each output a page with options later in the DEM Import Wizard.
The LAS Settings dialog is only visble when importing las/laz/zlas files.
On the left side OCAD shows the information about the DTM, on the right to the DSM. If is possible to create both DEMs in one step or only one DEM.
Each point is classified. The value in the round brackets is the number of points for this classification.
- Click the Choose DTM button to reset the Classification ans Return Number option to the default values.
- Click the Choose DSM button to reset the Classification ans Return Number option to the default values.
Usually the default setting are right. But in some cases it makes sense to uncheck the overlap point for the DSM. It depends on the used data. Change also this settings if the data are not classified.
Create Intensity and Classification Map
Check the option Create intensity and classification map to create these maps. If created OCAD loads these raster maps as background maps.
Each data point has an intensity of the returned laser beam. This intensity is shown in a grayscale map.
Each data point has a classification or is unclassified. This intensity is shown in a colored map.
The classification tiff image has the following color index:
- 0 Created, never classified (light gray)
- 1 unclassified (red)
- 2 Ground (yellow)
- 3 Low Vegetation (light green)
- 4 Medium Vegetation (green)
- 5 High Vegetation (dark green)
- 6 Building (Generic) (gray)
- 7 Low point (noise) (gray)
- 9 Water (blue)
- 10 Bridge (brown)
- 11 Road (brown)
- 12 Overlap pointd (gray)
Check this option to create an ocdLas file. This is an file which is optimize for OCAD and contains all points with attribute.
This file is used to create profiles. This file is often very big (> 1 GB). That is the reason why OCAD doesn't load this file by default.
Learn more about the ocdLas File functions on the ocdLas File page.
Click the Next button.
Choose Create Contour Lines from DEM menu or from DEM Import Wizard. The Create Contour Lines dialog box appears.
This function calculates contour lines based on the loaded DEM.
- Define 1-3 contour intervals (for example 1m, 5m, 25m) and a pre-selected line symbol (according to the first three line symbols in the settings) for each type appears (can be changed).
- Specify the minimum (lowest) and maximum (highest) contour for the calculation.
- Activate the option Split DEM into tiles to speed up this calculate process. In this case OCAD splits the dem into small tiles and calculates tile by tile. Finally the contour lines are also splites at the tile borders. It is not visible on the screen but you see it when selecting a contour line. Use the Merge Contour Lines By Selected Symbols function to merge the contour lines if needed.
The selected contour line is cutted at the tile borders.
Create Hypsometric Map
- This function calculates a grayscale or colored hypsometric map as GeoTIFF file.
- Optionally it is directly loaded as background map.
Two different types of hypsometric maps can be edited:
- Grayscale hypsometric map
- Colored hypsometric map
Create Hill Shading
This function calculates a shaded relief picture (hill shading).
There are two calculation methods available:
- Slope shading is optimized to see outlines of features like paths in a slope.
- Slope shading combined with oblique light shading is the recommended method if the hill shading should be used as a background relief of a map.
Optionally the calculated hill shading is directly loaded as background map.
Aside from the chosen method, there is to define the Resolution and the Interpolation mode (if chosen).
The default interpolation mode is Bicubic, but there are 7 other algorithm.
Additionaly an Azimuth and a Declination of the light source has to be set. Standard settings are 315° (north-west) and 45°.
An Exaggeration factor of 4 is pre-selected and can be altered.
The Preview... button allows you get a first impression of the current setting for your hillshading and can be use to optimize it.
- Click and move with the left mouse button allows to pan the current view.
The Preview... button is only enabeld when importing a dem grid file or an ocddem is already loaded. This function is disabled when importing las/laz files.
To detect point and line objects like paths or watercourses from DEM we recommend using the same resolution as the DEM. To create a relief and if the DEM cell size isn’t high then we recommend to set a smaller resolution.
The default export file format is JPEG and creates an 8 bit JPEG with in grayscale and a world file with the geo reference. If you decide to export the file in TIFF-format, only with resolution option ‘DEM cell size’ then OCAD creates an 8 bit grayscale tiff with color palette. Otherwise a 24 bit RGB tiff.
Error Message Bitmap is too big
The size of the hill shading image is limited. If this error message appears please enter a bigger value for the interpolation.
Calculate Slope Gradient
Choose Calculate Slope Gradient from DEM menu. The Calculate Slope Gradient dialog box appears.
Select one of two different methods:
- Continous (<x° = grayscale / >x° = black)
- Black/White (<x° = white / >x° = black)
The resulting picture can be used to identify cliffs an rock faces. The result can sometimes be significantly improved with a slight adjustment of the gradient (between 42-45 degrees).
Slope gradient also shows paths or relief features independent from a azimut like the Hill Shading.
Classify Vegetation Height
Choose Classify Vegetation Height from DEM menu.
There are two different options to show vegetation height classification:
- Gray scale classification with options: Linear, Quadratic negative, Quadratic positive
- Colored classification: Define classes with a height and color range
- - Split a class into two classes by clicking the Split class button
- - Remove a class by clicking the Remove class button
- - Load the settings from a text file by clicking the Load button
- - Save the settings to a text file by clicking the Save button
- - Reset the classes and colors to the default settings by clicking the Reset classes to default button