[
https://issues.apache.org/jira/browse/SIS-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-412:
------------------------------------
Description:
The {{CRS}} utility class provide a {{findOperation(…)}} static method, which
return only one operation (the one presumed to be the best one). There is
sometime a need to have the list of all possible operations, and let user
choose the desired one himself. We should add a {{findOperations(…)}} (plural
form) which return a list of coordinate operation instead than a single one.
This task involves a compatibility break at commit 1828112: the protected
{{CoordinateOperationFinder.createOperationStep(…)}} methods have been modified
to return {{List<CoordinateOperation>}} instead of {{CoordinateOperation}}.
Since those methods are protected, we hope that they were not used much outside
SIS.
was:The {{CRS}} utility class provide a {{findOperation(…)}} static method,
which return only one operation (the one presumed to be the best one). There is
sometime a need to have the list of all possible operations, and let user
choose the desired one himself. We should add a {{findOperations(…)}} (plural
form) which return a list of coordinate operation instead than a single one.
> Add a CRS.findOperations(sourceCRS, targetCRS, …) method
> --------------------------------------------------------
>
> Key: SIS-412
> URL: https://issues.apache.org/jira/browse/SIS-412
> Project: Spatial Information Systems
> Issue Type: New Feature
> Components: Referencing
> Affects Versions: 0.7, 0.8
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Major
> Fix For: 1.0
>
>
> The {{CRS}} utility class provide a {{findOperation(…)}} static method, which
> return only one operation (the one presumed to be the best one). There is
> sometime a need to have the list of all possible operations, and let user
> choose the desired one himself. We should add a {{findOperations(…)}} (plural
> form) which return a list of coordinate operation instead than a single one.
> This task involves a compatibility break at commit 1828112: the protected
> {{CoordinateOperationFinder.createOperationStep(…)}} methods have been
> modified to return {{List<CoordinateOperation>}} instead of
> {{CoordinateOperation}}. Since those methods are protected, we hope that they
> were not used much outside SIS.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)