Opened 12 years ago
Last modified 5 years ago
#4892 closed defect
gdal_convert creates incorrect negative values when converting to ARG format. — at Version 1
Reported by: | remanuele | Owned by: | dzwarg |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | gdal_translate ARG |
Cc: |
Description (last modified by )
reproduction:
In working directory, where ever attached dem file is located
$ gdal_translate -of ARG -ot Float32 mt_st_helens.dem mt_st_helens.arg
Actual Behavior:
$ gdalinfo -stats mt_st_helens.dem | grep Min
Minimum=676.000, ...
$ gdalinfo -stats mt_st_helens.arg | grep Min
Minimum=-32767.000, ...
Expected behavior: the Minimum for the .tiff and .arg files would be the same (676.0)
This same behavior happens if you were to convert the DEM to GeoTIFF, and then convert the GeoTIFF to ARG. The DEM and GeoTIFF formats both have a Minimum of 676.0, the ARG has -32767.0.
Change History (2)
by , 12 years ago
Attachment: | mt_st_helens.dem added |
---|
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
Mt. St. Helens DEM data from before the 1980 eruption.