Martin Desruisseaux created SIS-585:
---------------------------------------

             Summary: Remove deprecated dimension attributes from 
OperationMethod
                 Key: SIS-585
                 URL: https://issues.apache.org/jira/browse/SIS-585
             Project: Spatial Information Systems
          Issue Type: Task
          Components: Referencing
    Affects Versions: 1.3, 1.2, 1.1
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 1.4


The following methods are derived from {{CC_OperationMethod}} attributes 
present in ISO 19111:2007 but removed in ISO 19111:2019 (note that 
{{MathTransform}} has attributes of the same name, which are not affected):

* {{getSourceDimensions()}}
* {{getTargetDimensions()}}

Those methods have been deprecated in SIS 1.1, but they were still there in SIS 
1.2 and 1.3 because removing those attributes actually implies an amount of 
changes much larger than only the {{DefaultOperationMethod}} class. Now it is 
time to remove those attributes, because they are blocking other tasks such as 
SIS-584. The reason for that is because the management of the number of 
dimensions of an {{OperationMethod}} is actually a difficult task, which 
required hacks in the way we discover providers with 
{{java.util.ServiceLoader}}.

Removing above-cited methods (actually make them returning {{null}} in most 
cases but not all) allow the removal of non-trivial code and SQL queries in 
{{EPSGFactory}} which were trying to discover the number of dimensions of an 
operation method. Various other classes got significant complexity removal too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to