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

Martin Desruisseaux closed SIS-204.
-----------------------------------

> Verify CompoundCRS restrictions at format time
> ----------------------------------------------
>
>                 Key: SIS-204
>                 URL: https://issues.apache.org/jira/browse/SIS-204
>             Project: Spatial Information Systems
>          Issue Type: Sub-task
>          Components: Referencing
>    Affects Versions: 0.4, 0.5
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>             Fix For: 0.6
>
>
> ISO 19162 restricts compound CRS to the following components in that order:
> * A mandatory horizontal CRS (only one of two-dimensional {{GeographicCRS}} 
> or {{ProjectedCRS}} or {{EngineeringCRS}})
> * Optionally followed by a {{VerticalCRS}} or a {{ParametricCRS}} (but not 
> both).
> * Optionally followed by a {{TemporalCRS}}.
> SIS currently does not enforce those restrictions. In particular:
> * Components may appear in different order.
> * {{VerticalCRS}} + {{TemporalCRS}} (without horizontal component) is 
> accepted.
> * {{GeocentricCRS}} or three-dimensional {{GeographicCRS}} can be combined 
> with {{TemporalCRS}}.
> We should nevertheless perform a check and raise a flag if the CRS does not 
> meet WKT restrictions, even if we still format it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to