Closed cforgaci closed 2 days ago
Maybe we can add a couple of tests to make sure it works fine for all the hemispheres (I guess no need to test edge cases such as geometries crossing the date line?).
I added two tests, one for each hemisphere. Will this do?
Thanks @cforgaci , feel free to merge! Indeed we should fix the issue with osm_bb
in a separate PR (also responsible for the lint action to fail).
This utility function returns the UTM zone of a given sf object. The longitude of the centroid is used to get the UTM zone.