[GRASS-dev] [GRASS GIS] #387: r.grow.distance,
r.random.surface ignores raster MASK
GRASS GIS
trac at osgeo.org
Mon Dec 1 11:39:25 EST 2008
#387: r.grow.distance, r.random.surface ignores raster MASK
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Raster | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
When r.grow.distance or r.random.surface are run with enabled raster MASK,
mask is used only to filter out input values but does not affect output
maps (they contain also values in areas hidden by mask).
{{{
g.copy rast=trn.sites,MASK
r.grow.distance input=roads distance=dist_to_road
r.random.surface output=randomized
g.remove rast=MASK
}}}
Display resulting maps -> areas OUTSIDE of MASK also contain some values.
In r.random.surface case value in MASKed area is NOT random. As most GRASS
modules will work only in not masked area, it's conterintuitive and
requires additional processing to remove MASKed areas from output maps.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/387>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list