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

CRS.isHorizontalCRS(...) should recognize a wider range of types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.4, 0.5, 0.6, 0.7, 0.8
    • None
    • Referencing
    • None

    Description

      The CRS.isHorizontalCRS(CoordinateReferenceSystem) method currently returns true if the given CRS is a two-dimensional GeographicCRS or a ProjectedCRS, and conservatively returns false in all other cases. We should be able to expand the range of recognized types. One use case is a radar station using a polar coordinate system in a DerivedCRS instance based on a projected CRS. The problem is that we do not know if the conversion associated to the DerivedCRS instance is performing a rotation along some horizontal axis. For example the DerivedCRS instance could represent an inclined plane.

      The proposed approach is to provide ourselves the MathTransform implementations performing coordinate conversions between various CoordinateSystem types, and check if the DerivedCRS instance is using one of those types. This is not a fully generic approach, but would allows us to go some steps further.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: