有人能看出这个有什么问题吗:
library(rgdal)
# Make a two-column matrix, col1 = long, col2 = lat
xy <- cbind(c(-107), c(26))
# Convert it to UTM coordinates (in units of meters)
project(xy, "+proj=utm +zone=51 ellps=WGS84")
我知道纬度大于84和小于80都是无效的,但为什么我会得到以下信息?
In project(xy, "+proj=utm +zone=51 ellps=WGS84") :
1 projected point(s) not finite
谢谢!