You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (JIRA)" <ji...@apache.org> on 2013/10/24 14:56:01 UTC

[jira] [Created] (SIS-143) DefaultGeographicBoundingBox should support spanning of anti-meridian

Martin Desruisseaux created SIS-143:
---------------------------------------

             Summary: DefaultGeographicBoundingBox should support spanning of anti-meridian
                 Key: SIS-143
                 URL: https://issues.apache.org/jira/browse/SIS-143
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Metadata
    Affects Versions: 0.3
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.4


{{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°).




--
This message was sent by Atlassian JIRA
(v6.1#6144)