convert x,y site lists to utm coords
Katie Alvin
kalvin at mt.nrcs.usda.gov
Fri Oct 2 15:08:52 EDT 1998
Francisco,
If you have at least 4 points that you have know UTM coordinates for,
you can use v.transform, however this will only work on an ascii file.
If your site_lists file is not in vector format yet, do s.to.vect.
Convert the file to an ascii coverage using v.out.ascii. Make a file
called "points" or something in the format:
old-x1 old-y1 new-x1 new-y1
old-x2 old-y2 new-x2 new-y2
old-x3 old-y3 new-x3 new-y3
...and so on...you need at least 4 points. Run the v.transform script to
generate a new ascii coverage. (It's easy to run interactively.) Then,
finally, use v.in.ascii to convert back to a binary vector file. I just
did this two days ago to convert a geodimeter file to UTM and it is
quite simple! I only used 4 points and got an RMS of 2.9.
Good Luck!
--
Katie Alvin
FOCS/FGI/GIS Specialist
USDA NRCS, Bozeman, MT
(406)587-6929
kalvin at mt.nrcs.usda.gov
More information about the grass-user
mailing list