#3357: v.rast.stats: add support for -d flag (densified lines)
-------------------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.2.2
Component: Vector | Version: svn-trunk
Keywords: v.rast.stats, v.to.rast | CPU: Unspecified
Platform: Unspecified |
-------------------------------------+-------------------------
Currently, G7:v.rast.stats uses the default thin lines from G7:v.to.rast
to get statistics from a vector of lines. This is however not always the
best choice. In my case, for mice traplines, I need all the pixels
overlapped by the line.
Given that v.to.rast has this nice -d flag for densified lines, would that
be possible to also have that option in v.rast.stats since it internally
calls v.to.rast to get raster statistics for lines or polygons? That would
reduce the current workflow from:
{{{v.to.rast -d }}} ; {{{r.to vect type=area}}} ; {{{v.rast.stats}}} to
only {{{v.rast.stats}}} (with -d flag in case densified lines are
preferred :)).
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3357>
GRASS GIS <https://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev