Hi,

my problem is - I have polygons defined as a set of coordinates with
assigned categories and I want to create vector areas where the centroid
would have that category. I don't want to use PyGRASS because of ctypes. I
wanted to write an ascii file (ascii vector format) but it allows me to
write only boundaries and centroids (not areas). But I don't have
centroids. So I can write boundaries and then use v.centroids afterwards
but I don't know how to specify the correct category values for those new
centroids. There doesn't seem to be any way to transfer categories from
boundaries to centroids. So, am I missing something? Why vector ascii
format doesn't support areas? Would it be difficult to add it?

Thanks,

Anna
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to