Martin Desruisseaux created SIS-569:
---------------------------------------
Summary: Replace Path by URI for datum shift grid files
Key: SIS-569
URL: https://issues.apache.org/jira/browse/SIS-569
Project: Spatial Information Systems
Issue Type: Task
Components: Referencing
Affects Versions: 1.3, 1.2, 1.1, 1.0, 0.8, 0.7
Reporter: Martin Desruisseaux
Assignee: Martin Desruisseaux
Fix For: 1.4
The {{ParameterDescriptor}} of the following operations use a
{{java.nio.file.Path}} value:
* North American Datum Conversion ({{NADCON}})
* National Transformation version 2 ({{NTv2}})
* Geocentric translation by Grid Interpolation (IGN)
({{FranceGeocentricInterpolation}})
We should replace the {{Path}} value by {{URI}} for the following reasons:
* {{Path}} are not serializable (SIS-567)
* {{ParameterValue}} needs unambiguous textual representation. This is required
for encodings such as WKT or GML. But {{Path.toString()}} is not defined as
rigorously as {{URI.toString()}}.
* {{Path}} can not be used for HTTP or FTP files by default (it could be done
with custom {{FileSystem}} however).
The use of {{java.net.URI}} would avoid those issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)