Converts a geo-referenced DEM image into a general raster file compatible with OTB DEM handling.
In order to be understood by the Orfeo ToolBox and the underlying OSSIM library, a geo-referenced Digital Elevation Model image can be converted into a general raster image, which consists in 3 files with the following extensions: .ras, .geom and .omd. Once converted, you have to place these files in a separate directory, and you can then use this directory to set the ”DEM Directory” parameter of a DEM based OTB application or filter.
This section describes in details the parameters available for this application. Table 4.8, page 428 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is DEMConvert.
Parameter key | Parameter type |
Parameter description |
in | Input image |
Input geo-referenced DEM |
out | Output File name |
Prefix of the output files |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
None
This application has been written by OTB-Team.