[英]Custom UTM coordinates to ggmap
On maps obtained from osm/cloudmade etc using get_map
, how does one change the projection to a custom UTM coordinate using Proj4/CRS? 在使用get_map
从osm / cloudmade等获得的地图上,如何使用get_map
/ CRS将投影更改为自定义UTM坐标?
Can something like 可以像
pc0.1<- spTransform(pc0,CRS("+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs+ellps=WGS84+towgs84=0,0,0"))
be used with the get_map
or ggmap
or ggplot in general? 通常与get_map
或ggmap
或ggplot一起使用? Is there any way other than changing all my UTM to match the LL? 除了更改我的所有UTM以匹配LL之外,还有其他方法吗? Thanks 谢谢
I have done this previously when using library(OpenStreetMap)
with the command openproj
, but I'm not sure if this exists in the ggmap
library. 我在使用带有命令openproj
library(OpenStreetMap)
时已经完成了这个,但是我不确定它是否存在于ggmap
库中。 I generally found that OpenStreetMap
gave me more additional functionality than ggmap
. 我一般发现OpenStreetMap
给了我比ggmap
更多的附加功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.