简体   繁体   English

我的 R-markdown 文件中的错误消息(编织后)

[英]Error message in my R-markdown file (post-knit)

I'm using a markdown file to build a leaflet map in R, and after I've knitted my document, I get this error message in my rmd file: I'm using a markdown file to build a leaflet map in R, and after I've knitted my document, I get this error message in my rmd file:

## although coordinates are longitude/latitude, st_union assumes that they are planar

Could you help me?你可以帮帮我吗? I believe what I'm trying to display that keep erroring out like this are some of my tables.我相信我试图展示的不断出错的是我的一些表格。

Thank you:)谢谢:)

From here :这里

Most (but not all) of the geometry calculating routines used by sf come from the GEOS library. sf 使用的大多数(但不是全部)几何计算例程都来自 GEOS 库。 This library considers coordinates in a two-dimensional, flat, Euclidian space.该库考虑二维、平坦、欧几里得空间中的坐标。 For longitude latitude data, this is not the case.对于经度纬度数据,情况并非如此。

It seems it has to do with the arguments you are passing to st_union()似乎它与您传递给st_union()的 arguments 有关

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM