[GRASS-user] aspect map with azimuth values
glynn at gclements.plus.com
Wed Jul 8 15:51:23 PDT 2015
Moritz Lennert wrote:
> > how can I convert aspect map's values to azimuth values?
> > or is there any way to create aspect map with azimuth values?
> I think this should work (but you should double check):
> if aspect <= 90, then azimuth = 90 - aspect
> else: azimuth = 450 - aspect
> r.mapcalc "azimuth_aspect = if(aspect <= 90, (90 - aspect), (450 -
r.mapcalc "azimuth_aspect = (450 - aspect) % 360"
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user