[GRASS-user] v.select usage

*Rich

GRASS don’t work with 3D-topology. If your “drillholes” map is 3D, try to make its 2D copy using <v.to.3d> module with the flag “-r” and then try to select “drillholes” in “catchments”.

v.to.3d -r in=drillholes out=drillholes_2d
v.select ain=drillholes_2d bin=catchments out=holesbybasin op=overlap

is this not the appropriate
module to find the solution to points-in-polygons?

Try module <v.distance>. As written in man page:

Point-in-polygonThe option dmax=0 is here important because otherwise for points not falling into any area, the category of the nearest area is recorded.

For each point from vector map pnt, find the area from vector map ar in which the individual point falls, and write the related area categories to column areacat into the attribute table attached to vector map pnt:

v.distance from=pnt to=ar dmax=0 upload=cat column=areacat

--------------------------------------------------------
 

On Thu, 28 Jun 2012, Alexander Muriy wrote:

GRASS don't work with 3D-topology. If your "drillholes" map is 3D, try to
make its 2D copy using <v.to.3d> module with the flag "-r" and then try to
select "drillholes" in "catchments".

   It's not 3d. Don't know why you thought it was.

Try module <v.distance>

   I'll look at that.

Rich

On Thu, 28 Jun 2012, Alexander Muriy wrote:

Try module <v.distance>.

Alexander,

   This does the job very nicely. Thank you.

Rich