如何在R中绘制ArcGIS导出的XML格式底图?
如何在R(ggplot/geom_sf)中绘制ArcGIS导出的XML格式底图?
我有一份从ArcGIS导出的XML格式底图文件,希望用R中的ggplot和geom_sf工具完成绘制。目前我已经通过XML包成功加载了这份文件,但不清楚后续该如何将XML数据转换为可用于绘图的空间对象,也不知道怎么在ggplot中展示这份底图。
我加载XML文件的代码如下:
#How I loaded my XML file into r # Load the package required to read XML files. library("XML") # Also load the other required package. library("methods") # Give the input file name to the function. result <- xmlParse(file = "Grey background.xml") # Print the result. print(result)
我没法把XML文件附在提问里,不过可以提供ArcGIS中该底图的示例截图:
内容的提问来源于stack exchange,提问作者confusedindividual
相关产品推荐
相关产品推荐

