Point in polygon: Difference between revisions
Jump to navigation
Jump to search
⚠️Craigleat (talk | contribs) No edit summary |
m (link to help page) |
||
Line 1: | Line 1: | ||
'''''Q:''' Is there a way to query if a given point is inside a polygon (closed area)?'' | '''''Q:''' Is there a way to query if a given point is inside a polygon (closed area)?'' | ||
'''''A:''' Yes, with v.select. It allows you to select points which overlap areas or vice versa: | '''''A:''' Yes, with {{cmd|v.select}}. It allows you to select points which overlap areas or vice versa: | ||
v.select ainput=points binput=areas output=points_in_areas | v.select ainput=points binput=areas output=points_in_areas |
Revision as of 12:49, 18 November 2008
Q: Is there a way to query if a given point is inside 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).