Ai đó có thể thấy có gì sai với điều này:gói rgdal lat/long -> UTM
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")
Tôi hiểu rằng Latitude lớn hơn 84 và nhỏ hơn 80 là không hợp lệ nhưng tại sao tôi nhận được:
In project(xy, "+proj=utm +zone=51 ellps=WGS84") :
1 projected point(s) not finite
Cảm ơn!
lý do tại sao -1? Đây là một câu hỏi hợp lệ. –