We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some areas are negative
library(sf) nc <- st_read(system.file("shape/nc.shp", package="sf")) library(googlePolylines) library(boostgeometry) enc <- encode(nc) wkt <- polyline_wkt(encode(nc)) bg_area(wkt$geometry, strategy = "geographic") sf::st_area(nc)
Has to do with winding, but, why are the already considered 'correct'?
bg_area(bg_reverse(wkt[98, 'geometry']), strategy = "geographic") bg_area(bg_correct(wkt[98, 'geometry']), strategy = "geographic")
The text was updated successfully, but these errors were encountered:
My example seems to be related to googlePolylines precision : SymbolixAU/googlePolylines#23
googlePolylines
Sorry, something went wrong.
7964c12
No branches or pull requests
Some areas are negative
Has to do with winding, but, why are the already considered 'correct'?
The text was updated successfully, but these errors were encountered: