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

Accept transform steps with swapped (source, target) CRS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6, 0.7, 0.8, 1.0, 1.1, 1.2, 1.3, 1.4
    • 1.5
    • Referencing
    • None

    Description

      In a ConcatenatedOperation, usually the targetCRS of a step should be the sourceCRS of the next step. But ConcatenatedOperation instances are sometime provided with steps that need to have their source and target CRS swapped in order to met above-cited consistency. Such cases should be interpreted as defining the inverse transform of a step. This practice avoids the problem of OperationMethod defined in only one direction, for example map projections (the inverse projection is defined in the text, but no OperationMethod instance is provided for them). Some ConcatenatedOperation in the EPSG geodetic dataset use that pattern.

      The changes need to be applied in DefaultConcatenatedOperation class. We also need to search all usages of ConcatenatedOperation.getOperations() for verifying if the code is robust to step with (source, target) CRS swapped.

      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: