Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-303

Do not allow instantion of CompoudCRS with Geographic2D + ellipsoidal height

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4, 0.5, 0.6, 0.7
    • 0.8
    • Referencing
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: