[GRASS-dev] r.slope.aspect: one pixel less in the output at the border shrinks region extent in further calculations

Helmut Kudrnovsky hellik at web.de
Sat Jan 3 04:49:50 PST 2015


hi devs,

I've added a script [1] with following calculations ideas:

- do some calculations with r.slope.aspect output
- coarse the resolution (but meet the DEM extent)
- do some calculations with r.slope.aspect output at the coarser resolution
- coarse the resolution again  (but meet the DEM extent)
- do some calculations with r.slope.aspect output at the again coarser
resolution
- combine all the results for some index calculation

as the extent of the r.slope.aspect output is 1 pixel less then DEM input,
the extent of the calculation output shrinks from one step to the next as
the resolution is coarsening.

any idea how to overcome such a shrinking?

[1]
http://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/r-slope-aspect-one-pixel-less-in-the-output-at-the-border-shrinks-region-extent-in-further-calculatis-tp5179874.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list