[GRASS-dev] v.edit

Hamish hamish_nospam at yahoo.com
Tue Jun 6 07:33:10 EDT 2006


Wolf wrote:
> Adding an area tries to put a centroid in the geographic mean, and if
> it fails it will exit, with nothing added.

donut case? kidney shape ("C")?


Use Vect_get_point_in_area() to find a centroid that is really in the
area.

see v.category add GV_AREA.
 [It tests for an existing one first with Vect_get_area_centroid()]


the vector lib has most common tools aready....


Hamish




More information about the grass-dev mailing list