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-303) Do not allow instantion of CoumpoudCRS with Geographic2D + ellipsoidal height
Date Fri, 13 Nov 2015 13:36:10 GMT
Martin Desruisseaux created SIS-303:
---------------------------------------

             Summary: Do not allow instantion of CoumpoudCRS with Geographic2D + ellipsoidal
height
                 Key: SIS-303
                 URL: https://issues.apache.org/jira/browse/SIS-303
             Project: Spatial Information Systems
          Issue Type: Task
          Components: Referencing
    Affects Versions: 0.6, 0.5, 0.4
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.7


{{DefaultCompoundCRS}} can be used for combining various kind of {{SingleCRS}} instances,
for example a {{ProjectedCRS}} and a {{TemporalCRS}}. But there is one combination which is
explicitly forbidden by ISO 19111: a two-dimensional {{GeographicCRS}} instance with a {{VerticalCRS}}
of type _"ellipsoidal height"_. In this particular case, a three-dimensional {{GeographicCRS}}
instance shall be created instead.

There is currently nothing in Apache SIS that enforce the above directive. Consequently geographic
CRS with ellipsoidal height can currently appear in two different forms (one legal and one
illegal). This will complicate the search for transformation paths when we will implement
{{CoordinateOperationFactory}}. We should add a check in {{DefaultCompoundCRS}} constructor
that disallows the illegal form, but this will break the code of all users that were not aware
of the three-dimensional geographic CRS special case.



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

Mime
View raw message