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 2016/05/17 21:30:13 UTC

[jira] [Updated] (SIS-303) Do not allow instantion of CompoudCRS with Geographic2D + ellipsoidal height

     [ https://issues.apache.org/jira/browse/SIS-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Desruisseaux updated SIS-303:
------------------------------------
    Affects Version/s: 0.7
        Fix Version/s:     (was: 0.7)
                       0.8

> Do not allow instantion of CompoudCRS 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.4, 0.5, 0.6, 0.7
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>             Fix For: 0.8
>
>
> {{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)