[
https://issues.apache.org/jira/browse/SIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-204:
------------------------------------
Summary: Verify CompoundCRS restrictions at format time (was: Enforce
CompoundCRS restrictions)
> 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, 0.6
> Reporter: Martin Desruisseaux
> Priority: Minor
>
> 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.3.4#6332)