Description
GeneralEnvelope supports the spanning of anti-meridian. DefaultGeographicBoundingBox needs similar support. This is especially important since such geographic bounding boxes exist in the EPSG database (for example the EPSG:2373 - USA - Alaska including EEZ). This imply:
- relax the argument check done by the constructor and the setBounds(…) method;
- make the add and intersect methods aware of anti-meridian spanning, in a similar way than what we did for GeneralEnvelope.
The above-cited argument check may be replaced by an automatic normalization of longitude and latitude values (e.g. replace a longitude of 360° by 0°).
Attachments
Issue Links
- breaks
-
SIS-347 Extents.area(GeographicBoundingBox) returns 0 if the longitude range is 360° large.
- Closed