# DEMConvert

## Brief Description

Converts a geo-referenced DEM image into a general raster file compatible with OTB DEM handling.

## Tags

Image Manipulation

## Long Description

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.

## Parameters

- [param] -in <string> Input geo-referenced DEM to convert to general raster format.. Mandatory: True. Default Value: ""
- [param] -out <string> will be used to get the prefix (name withtout extensions) of the files to write. Three files - prefix.geom, prefix.omd and prefix.ras - will be generated.. Mandatory: True. Default Value: ""
- [param] -inxml <string> Load otb application from xml file. Mandatory: False. Default Value: ""
- [param] -outxml <string> Save otb application to xml file. Mandatory: False. Default Value: ""

## Limitations

None

## Authors

OTB-Team

## See Also

## Example of use

- in: QB_Toulouse_Ortho_Elev.tif

- out: outputDEM