简体   繁体   中英

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:

## 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. 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()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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