I was thinking more along the lines of something where you specified a set of vector features (cat=... or where=...), clicked run and after a check to make sure they are closed polylines it would add a central centroid and make them areas.
Michael On 10/10/07 12:11 AM, "Hamish" <[EMAIL PROTECTED]> wrote: > Michael Barton wrote: >> >> This brings up an issue that we might want to think about for GRASS 7. >> Currently, centroids must always be created manually to transform a >> closed polyline into an area. While we might want to keep this as an >> option (but maybe not), I think it would be better to have some kind of >> 'area-creation' utility that would transform a close polyline into an >> area by automatically adding a centroid at a predefined center location >> (geometric center or other measure) and adding a cat value. Then >> analytical utilities like you are discussing here could be more >> reliable. > > (v.type + v.centroids) > > I don't think you can convert automatically all closed boundaries as > some of the closed boundaries may be islands/holes within an area, and > you risk turning them into positives. > > > Hamish __________________________________________ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution & Social Change Center for Social Dynamics & Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

