[GRASS-user] aspect claculations with integer and float rasters

Hamish hamish_b at yahoo.com
Sun Sep 16 18:50:48 PDT 2012


Carlos wrote:
> I'm a bit annoyed by some aspect maps here. Using SRTM in a
> lat/long location, aspect presents the
> usual artifacts at 0, 45, 90, etc. So I tried to convert it
> to float, but using new = old * 1.0
> in mapcalc didn't worked (I can swear it worked before), so
> I used new = old + 0.00001
> 
> and then I ran r.slope.aspect again, but my aspect raster
> still shows the artifacts.

maybe something to do with
  https://trac.osgeo.org/grass/ticket/1728
?

can you try the r.slope.aspect 'prec=float' option?

does an aspect map made with r.slope.param look any better?


Hamish


More information about the grass-user mailing list