-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
It looks like shapely will "assume" a few things about geometries, so our current implementation writes an invalid bbox for Fiji.
The GeoParquet spec states that we should use the same rules as GeoJSON for bounding boxes, specifically calling out the antimeridian edge case. The GeoJSON RFC describes this here: https://datatracker.ietf.org/doc/html/rfc7946#section-5.2.
In experimenting with the antimeridian library, it seems to fix these cases.
Original bounding box (spans the entire globe longitudinally, which is not very helpful):
{'xmin': -180.0, 'ymin': -21.943428, 'xmax': 180.0, 'ymax': -12.261387}Corrected bounding box (starts west of the antimeridian):
{'xmin': 176.72958, 'ymin': -21.943428, 'xmax': -178.0035, 'ymax': -12.261387}Metadata
Metadata
Assignees
Labels
No labels