Martin Desruisseaux created SIS-427: ---------------------------------------
Summary: Need a MathTransform.getFunctionProperties() method Key: SIS-427 URL: https://issues.apache.org/jira/browse/SIS-427 Project: Spatial Information Systems Issue Type: Improvement Components: Referencing Reporter: Martin Desruisseaux Assignee: Martin Desruisseaux 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 {{getFunctionProperties()}} method which would return an {{Set<FunctionProperty>}}. This set can tell us if the function is invertible, injective, surjective or bijective. -- This message was sent by Atlassian JIRA (v7.6.3#76005)