r 读取kml文件并将kmz转换为kml

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了r 读取kml文件并将kmz转换为kml相关的知识,希望对你有一定的参考价值。



# example of reading kml file
sf_mp <- st_read(dsn = "doc.kml")

# convert sf kmz to kml
# <https://github.com/r-spatial/sf/issues/133>
# rename 116-poly.kmz to 116-poly.kml.zip
# unzip, this will create doc.kml file

# write to KML
# st_write(pivot_aoi,
#          paste0(out_path, "/pivot_aoi", ".kml"),
#          driver = "KML",
#          delete_dsn = TRUE)

以上是关于r 读取kml文件并将kmz转换为kml的主要内容,如果未能解决你的问题,请参考以下文章

ArcGIS微课1000例0014:ArcGIS中如何将kml(kmz)文件转shp,并进行投影转换?

ArcGIS微课1000例0014:ArcGIS中如何将kml(kmz)文件转shp,并进行投影转换?

python 转换KMZ,KML,Shapefile

CAD转KML乱码处理

利用Global Mapper实现kml转换dwg文件。投影如何设置,请教。

构建大型 KML 文件