Point in polygon

From GRASS-Wiki
Revision as of 17:50, 12 July 2007 by Neteler (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Q: Is there a way to query if a given point is inside if a polygon (closed area)?

A: Yes, with v.select. It allows you to select points which overlap areas or vice versa:

    v.select ainput=points binput=areas output=points_in_areas

The resulting map 'points_in_areas' will contain points which are inside the area(s).