[gdal-dev] gdaldem hillshade directions

Vincent Schut schut at sarvision.nl
Tue May 18 08:11:09 EDT 2010


Is it just me, or is the result/documentation for gdaldem hillshade off 
by 90 degrees?

While the docs state "azimuth of the light, in degrees. 0 if it comes 
from the top of the raster, 90 from the east, ..." (so: clockwise from 
north), I find that a sun azimuth of 0 degrees is west, 90 is south, 180 
is east and 270 is north (counter-clockwise from west)...

Vincent.


More information about the gdal-dev mailing list