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
s2_centroid()
s2_centroid_agg()
PointGeography()
This affects a distance calculation (and probably other point operations:
library(s2) geog <- as_s2_geography(c("POINT (45.867 11.972)", "POINT (45.867 11.972)")) centroid <- s2_centroid_agg(geog) s2_distance(geog, centroid) #> [1] 6671706 6671706 s2_distance(geog, s2_as_text(centroid)) #> [1] 0 0
Created on 2021-06-04 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered:
make sure aggregate centroids normalize points when creating a PointG…
8401275
…eography (#119)
No branches or pull requests
This affects a distance calculation (and probably other point operations:
Created on 2021-06-04 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: