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: latitude or longitude exceeded limits

Can someone explain me what I did wrong? I am using coordinates of
Australia so the range of my longitudes is around [110,150] and the one of
my latitudes [-10,-45].

Thanks in advance,

Cheers,
Boris

	[[alternative HTML version deleted]]

