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

Improve CRS.suggestCommonTarget(…) by allowing to know Set<FunctionProperty>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Referencing
    • None

    Description

      The Mollweide projection added by SIS-426 is not surjective: not all (x, y) values can be mapped to a (latitude, longitude) values. Consequently current implementation of CRS.suggestCommonTarget(…), which is to suggest converting projected coordinates to geographic coordinates, may not work for Mollweide. For that projection, it may be more reliable to convert geographic coordinates to projected coordinates.

      For allowing CRS.suggestCommonTarget(…) to make a better choice, we need to know more about the MathTransform properties. One approach would be to add a MathTransform.getFunctionProperties() method which would return an Set<FunctionProperty>. This set can tell us if the function is invertible, injective, surjective or bijective.

      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: