Hi,

2012/8/24 Margherita Di Leo <[email protected]>:
> v.extract in=poly out=centr type=centroid
> v.type in=centr out=centr_pts from_type=centroid to_type=point
> v.db.addcolumn map=centr_pts col="x double precision,y double precision"
> v.to.db map=centr_pts option=coor col=x,y

you could also use v.out.ascii

v.out.ascii in=poly type=centroid

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to