-
Notifications
You must be signed in to change notification settings - Fork 13
[Bug]: as_dict method cuts off border polygons on antimeridian #86
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingneeds triageIssue requires triage to proceedIssue requires triage to proceed
Description
Checked for duplicates
Yes - I've already checked
Describe the bug
The as_dict code will cut off half the polygon for bursts on the antimeridian (-180 longitude)
https://github.com/opera-adt/s1-reader/blob/main/src/s1reader/s1_burst_slc.py#L367
The anti-meridian crossing bursts (international date line) have two polygons, since it's conventional to split the latlon that way.
What did you expect?
The likely fix will be converting to a MultiPolygon which can still be represented as WKT.
Reproducible steps
No response
Environment
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds triageIssue requires triage to proceedIssue requires triage to proceed