Opened 9 years ago

Last modified 6 years ago

#2046 new enhancement

radius limitation option on v.voroni

Reported by: dnewcomb Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Default Version: unspecified
Keywords: Cc:
CPU: Unspecified Platform: Unspecified


In the calculation of foraging areas for different bird species, the foraging areas can change based on the location of adjacent nests. I would like to run v.voroni to calculate polygons out to a maximum radius as a command line option. The end result would be similar to running v.voroni on a set of points , running v.buffer on each point individually create a series of polygon layers of individual circles ( that may overlap), then intersecting the geometry of each v.voroni polygon with each buffer individually to generate a series of polygon layers that are then merged to a single polygon layer.

The bird species that I have in mind has an 800 m maximum foraging range. The preferred out put in this case would be the standard v.voroni polygons in areas where nests are closer then 800m. In areas where there are no other nests within 800m the polygon would be an 800m radius circle. The maximum distance from the origin point of the v.voroni polygon to any edge of the output polygon would be no greater than the distance given in the command line option ( in this case 800m)

Change History (2)

comment:1 by mmetz, 9 years ago

This can be done with v.voronoi + v.buffer + v.overlay.

For example with hospitals in the NC dataset:

g.region -p vect=boundary_county
g.region -pa res=100

v.voronoi in=hospitals out=hospitals_v
v.buffer in=hospitals out=hospitals_b distance=20000 type=point
v.overlay ain=hospitals_v atype=area bin=hospitals_b op=and out=hospitals_vb olayer=0,1,0

comment:2 by neteler, 6 years ago

Note: See TracTickets for help on using tickets.