[Gdal-dev] gdal_contour missing contours!
Jeshua Lacock
jeshua at OpenOSX.com
Sat Jan 7 16:02:49 EST 2006
On Jan 7, 2006, at 9:24 AM, Frank Warmerdam wrote:
> mydem.tif isn't a DEM, it's a colored encoding of a DEM
> in RGB. You need to generate the DEM against the
> original DEM data.
>
> warmerda at gdal2200[6]% gdalinfo -mm mydem.tif
> Driver: GTiff/GeoTIFF
> Size is 339, 467
> Coordinate System is `'
> Corner Coordinates:
> Upper Left ( 0.0, 0.0)
> Lower Left ( 0.0, 467.0)
> Upper Right ( 339.0, 0.0)
> Lower Right ( 339.0, 467.0)
> Center ( 169.5, 233.5)
> Band 1 Block=339x8 Type=Byte, ColorInterp=Red
> Computed Min/Max=0.000,255.000
> Band 2 Block=339x8 Type=Byte, ColorInterp=Green
> Computed Min/Max=0.000,255.000
> Band 3 Block=339x8 Type=Byte, ColorInterp=Blue
> Computed Min/Max=0.000,255.000
Doh!
Of course, I was starting to suspect that myself.
Can you recommend a method of exporting a DEM from GRASS?
Thanks again,
Jeshua Lacock ___________________________
Programmer/Owner Phone: 877.240.1364
http://OpenOSX.com Fax: 415.462.6211
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the Gdal-dev
mailing list