hexbin_metrics cell area wrong? #473
hansoleorka
started this conversation in
General
Replies: 1 comment 1 reply
-
Thanks for updating! But sad to hear that you would remove it from this package - hexagons have some nice properties for some applications. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Converting the results from hexbin_metrics seems to return the wrong cell area. Example under are supposed to provide 400 m^2 cells but will return 534 m^2 using the sp::HexPoints2SpatialPolygons to convert to polygons:
The reason seems to be that hexbin_metrics assumes the same cell height/width in both X and Y directions. Updating code to have different height and width provides the correct area:
Beta Was this translation helpful? Give feedback.
All reactions