尝试将SF DataFrame导出到r中的r中的.csv文件
我有一个带有类似几何列的SF DataFrame:
geometry
list(list(c(53252.151421, 421516.3252...
list(list(c(53252.151421, 421516.3252...
list(list(c(53252.151421, 421516.3252...
我正在尝试使用此命令将整个DF导出到.csv:
st_write(df, "name.csv", layer_options = "GEOMETRY=AS_WKT")
但是,在运行命令后,我将获得此CSV文件。
我该如何解决此问题?
I have a sf dataframe which has geometry column looking like this:
geometry
list(list(c(53252.151421, 421516.3252...
list(list(c(53252.151421, 421516.3252...
list(list(c(53252.151421, 421516.3252...
and I'm trying to export this whole df to .csv using this command:
st_write(df, "name.csv", layer_options = "GEOMETRY=AS_WKT")
However, after running the command I get this csv file.
this is the exported .csv after running the command
how can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论