Skip to content
Prev 296569 / 398500 Next

Converiting longitude/latitude to utm

You might try R-Sig-Geo for the reasons, but you need to include the UTM
zone to convert:

SP<-SpatialPoints(cbind(126.59,-14.30),proj4string=CRS("+proj=longlat"))
SP

SpatialPoints:
     coords.x1 coords.x2
[1,]    126.59     -14.3
Coordinate Reference System (CRS) arguments: +proj=longlat +ellps=WGS84

coordinatesUTM<-spTransform(SP,CRS("+proj=utm +zone=52"))
coordinatesUTM

SpatialPoints:
     coords.x1 coords.x2
[1,]  240015.6  -1582256
Coordinate Reference System (CRS) arguments: +proj=utm +zone=52
+ellps=WGS84

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352