[ https://issues.apache.org/jira/browse/SIS-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux closed SIS-569. ----------------------------------- > 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: Improvement > Components: Referencing > Affects Versions: 0.7, 0.8, 1.0, 1.1, 1.2, 1.3 > Reporter: Martin Desruisseaux > Assignee: Martin Desruisseaux > Priority: Major > 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)