-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sf issues associated with s2 #265
Comments
Thanks! |
Is there a fix that does not involve changing to calculating over a flat earth? I'm trying to obtain areas for large polygons (e.g. >1000 km) and changing to a flat earth changes the calculations. |
@sschooler a fix to what? |
To the issue where s2 can't handle crossing vertices and throws the error What is recommended is using I think I might have a fix- it seems like if I use the s2 package with the |
But are the differences significant? Here is comparison using geographical coordinates and geodesic surface from |
I saw that, but that example is on the scale of millions of square meters, and the areas I'm looking at are on the scale of billions of square meters. The distances become more pronounced the larger the area because the curvature of the earth matters more. E.g. in a calculation of area for one of my polygons, there is a difference of 30 million meters when computing with the lwgeom ( |
There's a collection: r-spatial/sf#1771
The text was updated successfully, but these errors were encountered: