Skip to content
Prev 5321 / 29559 Next

convert point and map coordinates UTM to WSG

Hi,

To transform coordinates you can use the spTransform function from the 
rgdal pacakge. It uses proj4 to do the transformations. Proj uses a 
string to describe a certain projection, the so called proj4string. If 
you can determine the proj4string for both your projections you can 
transform between them. The first string (WGS84) looks like this:

"+proj=longlat +datum=WGS84"

The second (UTM) something like:

"+proj=utm +zone=yourzone +datum=yourdatum"

See the documentation of spTransform for more information on how to use 
the function.

cheers and hth,
Paul
Marc Mar? Dell'Olmo wrote: