[GRASS-user] upload long lat coordinates to attribute table

Hamish hamish_b at yahoo.com
Tue Aug 6 12:28:38 PDT 2013

Pierluigi De Rosa wrote:

>  I have a vector map into a mapset of projected CRS (epsg 3004). I have
>  some issue to upload long/lat coordinates into attribute table of the
>  vector map.
>  What is the best/easy way to to that?
>  v.to.db upload coordinate but without reprojecting it's values.

perhaps use v.db.select to print out the epsg:3004 coords and pipe
those through 'm.proj -o' to get long/lat, then either write that to
a formatted SQL file for db.execute or into a `while read` loop for
v.db.update (slower).

is it a points map?


More information about the grass-user mailing list