|
On 31/10/2012 06:02, Stephen Roecker
wrote:
Is their a simple way to convert the aspect raster produced from r.param.scale to the conventional geographic convention of 0 to 360, rather than 0 to +/-180? I see that this issue has been discussed before, but the previous threads solution was specific to r.slope.aspect and the programming was frankly beyond my understanding. I think this mapcalc _expression_ will convert an r.param.scale aspect map to the "conventional" north=0, clockwise angles: r.mapcalc aspect0to360 = "if(aspect >= 90, aspect - 90, aspect + 270)" Thanks, -- Micha Silver GIS Consulting 052-3665918 http://www.surfaces.co.il |
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
