sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-329) Transformation of envelope from UTM to WGS84 sometime wrongly expanded to the ±180° longitude range
Date Tue, 28 Jun 2016 14:27:57 GMT
Martin Desruisseaux created SIS-329:
---------------------------------------

             Summary: Transformation of envelope from UTM to WGS84 sometime wrongly expanded
to the ±180° longitude range
                 Key: SIS-329
                 URL: https://issues.apache.org/jira/browse/SIS-329
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Referencing
    Affects Versions: 0.7
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.8


Consider the following envelope in UTM 30N (EPSG code 32630). Note that the longitude range
crosses the limit of the CRS domain of validity, which is -6° to 0°:

{noformat}
BOX(199980 4490220, 309780 4600020)
{noformat}

Transformation to WGS84 (EPSG code 4326) should give something close to:

{noformat}
BOX(-6.5941 40.5085, -5.2462 41.5292)
{noformat}

but we get:

{noformat}
BOX(-180 40.5085, +180 41.5292)
{noformat}

The longitude range (-6.6° to -5.2°) has been expanded to ±180°. This is because the {{Envelopes.transform(…)}}
method verifies if the given envelope contains a "singularity" (typically a pole), and the
±180° longitude are wrongly identified as contained singularities in this particular case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message