[Qgis-user] DEM terrain models problem

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Aug 16 00:33:54 PDT 2011


Hi Carlos

Is it possible your map units are in degrees (and your elevation units are in 
meters)? If so, you could set the option '-s 111120' (see 
http://www.gdal.org/gdaldem.html)

Regards,
Marco

Am Dienstag, 16. August 2011, 03.47:00 schrieb Carlos Cerdán:
> Dear QGIS list members:
> 
> I've got some ASTER_GDEM data
> (http://www.gdem.aster.ersdac.or.jp/search.jsp) and I was testing the
> /DEM terrain models/ GDAL tool with my DEM.
> 
> The shaded relief map that I got is ok, but slope map is wrong: this one
> has 0 (zero) and over 89 degrees only, (there are not 1, 2, 3....88) .
> I've tried all options but I got always a 0 and 89 (and decimal) degress
> map.
> 
> I've tried with the r.slope module (GRASS pluggin)  and it does a good
> job: I get a full-slope map.
> 
> My distro: QGIS 1.7 on Ubuntu 11.04. A month ago I fixed it for the TIFF
> images problem reported here:
> http://osgeo-org.1803224.n2.nabble.com/gdal-1-8-0-no-tiff-support-anymore-i
> n-Ubuntu-11-04-Natty-tc6365327.html It is relationed with this slopes
> problem?
> 
> As I said, the GRASS pluggin did the right work, but I'd liked GDAL tool
> does too. Perhaps I did something wrong or Is something wrong with this
> tool?
> 
> Thank you in advance for sugestions
> 
> Regards from Cajamarca - Perú
> 
> Carlos Cerdán


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-user mailing list