I have two vector layers - one with polygons and one with points, both
in UTM 34 S.
Now I would like to calculate the area of the polygons in circles
around the points, i.e. how much area in a 500m circle around the
points is covered by the polygons, and store this in the attribute
table of the point layer.
Is there any easy way of achieving this? If I simply buffer the
points, the circles overlap sometimes and form one polygon, and I want
to have the results for each point - so that doesn't work.
On Donnerstag, 12. Juni 2008 19:13:18 Rainer M Krug wrote:
Hi
I have two vector layers - one with polygons and one with points, both
in UTM 34 S.
Now I would like to calculate the area of the polygons in circles
around the points, i.e. how much area in a 500m circle around the
points is covered by the polygons, and store this in the attribute
table of the point layer.
Is there any easy way of achieving this? If I simply buffer the
points, the circles overlap sometimes and form one polygon, and I want
to have the results for each point - so that doesn't work.
perhaps if you create a loop:
v.to.rast your points output=points use=cat
max=`r.info -r "points" | grep max | cut -f2 -d=`
COUNTER=`r.info -r "points" | grep min | cut -f2 -d=`
Thanks - that sounds interesting. So there is no way of doing that
without a loop?
Rainer
On Thu, Jun 12, 2008 at 7:25 PM, Martin Wegmann
<wegmann@biozentrum.uni-wuerzburg.de> wrote:
Hello Rainer,
On Donnerstag, 12. Juni 2008 19:13:18 Rainer M Krug wrote:
Hi
I have two vector layers - one with polygons and one with points, both
in UTM 34 S.
Now I would like to calculate the area of the polygons in circles
around the points, i.e. how much area in a 500m circle around the
points is covered by the polygons, and store this in the attribute
table of the point layer.
Is there any easy way of achieving this? If I simply buffer the
points, the circles overlap sometimes and form one polygon, and I want
to have the results for each point - so that doesn't work.
perhaps if you create a loop:
v.to.rast your points output=points use=cat
max=`r.info -r "points" | grep max | cut -f2 -d=`
COUNTER=`r.info -r "points" | grep min | cut -f2 -d=`