[gdal-dev] Unexpected results with GDALDEM
Even Rouault
even.rouault at mines-paris.org
Tue Jul 9 14:37:54 PDT 2013
Le mardi 09 juillet 2013 23:30:19, William Hudspeth, Ph.D. a écrit :
> Hello all,
>
> I am using gdaldem that came with the GDAL 1.7.3 version on Ubuntu
> 12.04. I am trying to create slope maps with a command something like this:
>
> gdaldem slope -s scale=111120 source_DEM.tif target_SLOPE.tif
An error is "-s scale=111120" (which is interpreted as "-s 0"). It must be
just "-s 111120"
I've just added a validation check in the code so that it would now be
reported as an error if you use the wrong syntax.
>
> the source DEM geotiff was created with gdalwarp, re-projecting a
> National Elevation Dataset 30 meter, ESRIHdr formatted grid from
> geographic-NAD83 to geographic-WGS84. Based on a thread I found on use
> of 'gdaldem slope' on the web, the re-projection was attempted with both
> a bilinear and cubic re-sampling method.
>
> The target geotiff has values of only 90 and Null. I am getting no
> intermediate values (in degrees, the default).
>
> Thanks for any help in advance,
>
> Bill
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Geospatial professional services
http://even.rouault.free.fr/services.html
More information about the gdal-dev
mailing list