Opened 15 years ago

Closed 8 years ago

#2935 closed enhancement (fixed)

floating point option for USGSDEM

Reported by: mdunn Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: USGSDEM


Please include FP in addition to the default integer as option for USGSDEM format.

Thanks! Mike

Change History (2)

comment:1 by warmerdam, 15 years ago

Component: defaultGDAL_Raster
Keywords: USGSDEM added

The USGSDEM driver supports reading floating point files, but does not support writing them. It would be desirable to support writing them as well, though to be honest this is not very high on my priority list.

comment:2 by Jukka Rahkonen, 8 years ago

Resolution: fixed
Status: newclosed

There is this creation option:

ZRESOLUTION=float: DEM's store elevation information as positive integers, and these integers are scaled using the "z resolution." By default, this resolution is written as 1.0. However, you may specify a different resolution here, if you would like your integers to be scaled into floating point numbers.

It feels to me that this option fulfills the need.

Note: See TracTickets for help on using tickets.