Point in polygon

From GRASS-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Q: Is there a way to query if a given point is inside a polygon (closed area) which may have/not have a hole?

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).

See also