[GRASS-dev] [GRASS GIS] #2526: extend r.slope.aspect to compute the values at the edges

GRASS GIS trac at osgeo.org
Fri Oct 11 04:36:05 PDT 2019


#2526: extend r.slope.aspect to compute the values at the edges
--------------------------+-------------------------
  Reporter:  hellik       |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.6.2
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  slope
       CPU:  All          |   Platform:  All
--------------------------+-------------------------

Comment (by veroandreo):

 Replying to [comment:7 mmetz]:
 > Implemented in r72653 with a new -e flag to compute values at edges,
 idea and method from gdaldem -compute_edges.

 I just discovered the issue of null borders in the output of
 G7:r.slope.aspect and I tested this flag in grass dev, but nothing
 changes. Is there anything else that needs to be set?

 This is what I do:

 {{{
 g.region vector=firestations align=elev_state_500m
 r.slope.aspect -e elevation=elev_state_500m slope=slope_500
 aspect=aspect_500
 }}}

 The output still has one pixel less all over the 4 borders. See the
 attachment.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2526#comment:12>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list