[Gdal-dev] DEM Files

Frank Warmerdam warmerdam at pobox.com
Mon Jan 19 16:33:14 EST 2004


Martin Chapman wrote:
> I am using gdal to load and display usgs ascii dem files with opengl on 
> windows.  When I load the file everything works fine but all the 
> elevation values are all -32000.  Has anyone ever had this problem 
> before?  I am basically using RasterIO to read line by line of the file 
> and then storing the values into a 2D array.
>

Martin,

I have encountered USGS DEM files that were mostly the -32000 background value,
but I think there should be *some* real values.  If you think the file is not
being read properly you could email it directly to me, and I will check it
out.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list