[GRASS-user] v.select usage

Alexander Muriy amuriy at gmail.com
Thu Jun 28 12:38:12 PDT 2012


*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-polygon The 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

--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120628/f3e84810/attachment.html>


More information about the grass-user mailing list