[GRASS-user] Divide raster map using vector line

Rich Shepard rshepard at appl-ecosys.com
Wed Jun 7 15:21:48 PDT 2017


On Tue, 6 Jun 2017, Helmut Kudrnovsky wrote:

> What about?:
> -g.region by your raster
> -v.in.region to get a vector area of your raster
> -split the vector area by your road

   I have a line that defines the two areas. When I try to use v.overlay to
union the two maps (using ain=line, bin=area and op=or) the module tells me
I cannot add a line to an area.

   The v.overlay manual page tells me that the union operator can be applied
only to an area, and that the ainput type can be line, area, or auto while
the binput type must be an area.

   The v.split module works on lines.

Cluestick needed,

Rich


More information about the grass-user mailing list