[GRASS-user] how to test if a point is inside a polygon

Hi,

I haven't worked much with the vector features of grass. Is there a way to query if a given point is inside if a polygon (closed area)?

Many thanks
Wolfgang

Don't know if there's a faster way, but i'll do this:

1 - Buffer (small radius) around points
2 - Intersection with polygons
3- Calculate the area of each intersection
4 - Extract the ones that are >0

Let me know

Bye
Luca

Il giorno 12/lug/07, alle ore 16:10, WolfgangZ ha scritto:

Hi,

I haven't worked much with the vector features of grass. Is there a way to query if a given point is inside if a polygon (closed area)?

Many thanks
Wolfgang

v.select will allow you to select points which overlap areas or vice versa.

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

points_in_areas will contain points which are inside the areas.

--Wolf

On 12.07.2007 17:10, WolfgangZ wrote:

Hi,

I haven't worked much with the vector features of grass. Is there a way
to query if a given point is inside if a polygon (closed area)?

Many thanks
Wolfgang

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--

<:3 )---- Wolf Bergenheim ----( 8:>

Wolf Bergenheim schrieb:

v.select will allow you to select points which overlap areas or vice versa.

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

points_in_areas will contain points which are inside the areas.

--Wolf

On 12.07.2007 17:10, WolfgangZ wrote:

Hi,

I haven't worked much with the vector features of grass. Is there a way
to query if a given point is inside if a polygon (closed area)?

Many thanks
Wolfgang

Hi Wolf,

thank for your help. There are sometimes too many commands in grass to find the right one!

Wolfgang

Now in the FAQ:

http://grass.gdf-hannover.de/wiki/Category:FAQ
-> Point in polygon

Markus
--
View this message in context: http://www.nabble.com/how-to-test-if-a-point-is-inside-a-polygon-tf4068417.html#a11565329
Sent from the Grass - Users mailing list archive at Nabble.com.