Displaying 1 result from an estimated 1 matches for "pj_transform".
2012 Jun 05
2
Converiting longitude/latitude to utm
Dear all,
I have been trying to convert coordinates from longitude/latitude to utm
but I got an error. As soon as the longitude coordinate is greater than 90,
I get the folloowing error message: "error in pj_transform: latitude or
longitude exceeded limits"
Here is what I did:
SP<-SpatialPoints(cbind(126.59,-14.30),proj4string=CRS("+proj=longlat"))
coordinatesUTM<-spTransform(SP,CRS("+proj=utm"))
Error in spTransform(SP, CRS("+proj=utm")) :
error in pj_transform: la...