1
我用mapproj软件包将lat/long设置为地图投影(在本例中为lagrange)。接下来我用它来定义空间上的其他几个点。我现在想要将这些新点转换回lat/long,但mapproj不提供这样的功能,我也没有在其他地方找到它。R reprojecting map lat/long
cord<-data.frame(x, y)
lagrange<-mapproject(cord$x, cord$y, projection="lagrange")
#Some
#clustering
#here
#Here are cluster centers, but in the form of lagrange projection. I want a lat/long cord of them
cluster.centers
如何在R中做到这一点?
检查'rgdal'包和'project'功能(特别是'inv'参数)。 – nicola 2014-10-08 13:47:13