[GRASS-user] get x,y from <gravity point> of a centroid

Patton, Eric epatton at nrcan.gc.ca
Thu Mar 6 11:53:22 EST 2008


>how can I get the x,y -coordinates from the <gravity point> of a centroid ?
>
>Regards
>
>Chris

Try v.to.db:

http://grass.itc.it/grass63/manuals/html63_user/v.to.db.html

You'll need to add category numbers to your centroids first with v.category if you haven't done so;
v.to.db only reports coordinates for centroids with existing categories.

http://grass.itc.it/grass63/manuals/html63_user/v.category.html

~ Eric.



More information about the grass-user mailing list