Skip to main content
How to create DEM from ERDAS IMAGINE(*.img) raster?
A DEM isn't a format (well it is a format too), it's a type of data representing heights. Your IMG could already be a DEM, in which case I think just use a IMG reader and whatever-format writer (.dem is for USA only I think). .asc is popular for DEMs.
Here I need DEM in XYZ format....
Hi Bino,

 

 

This procedure could be a possible way.

 

ERDAS reader

 

=> RasterCellCoercer

 

Output Cell Geometry: Points

 

Extract Band Values: Z Values

 

=> PointCloudCombiner

 

=> POINTCLOUDXYZ writer

 

 

If the input raster has palette(s), you will have to remove the palette(s) with the RasterPaletteRemover before the RasterCellCoercer.

 

And also, if the raster has multiple bands, you can remove unnecessary band(s) with the RasterSelector+RasterBandRemover beforehand.

 

 

Takashi

Reply