Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-163 Unsupported WKT 2 features
  3. SIS-204

Verify CompoundCRS restrictions at format time

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4, 0.5
    • Fix Version/s: 0.6
    • Component/s: Referencing
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                desruisseaux Martin Desruisseaux
                Reporter:
                desruisseaux Martin Desruisseaux
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: