Support for the datum alias file has been removed from Geotk and will not be ported to SIS. Datum aliases is work from other GeoTools contributors, so we are not allowed to port it. If we want to do something similar in Apache SIS, one possible approach would be to declare the aliases in the "Alias" table of the EPSG database instead than creating a separated file.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r12061:12133 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/wkt/Parser.java
Revision 12061 | Revision 12133 |
---|---|
BursaWolfParameters toWGS84 = parseToWGS84(element); // Optional; may be null. Map properties = parseAuthority(element, name); element.close(); if (toWGS84 != null) { if (properties.size() == 1) { properties = new HashMap(properties); |
BursaWolfParameters toWGS84 = parseToWGS84(element); // Optional; may be null. Map properties = parseAuthority(element, name); element.close(); //if our name is in our list of datum aliases, add the aliases to the property //the following can be removed when this is done in the DatumFactory org.geotools.resources.DatumAliases aliases = new org.geotools.resources.DatumAliases(); if (aliases.containsAlias(name)) { if (properties.size() == 1) { properties = new HashMap(properties); } Identifier[] identifiers = aliases.getAliases(name); if (identifiers != null) { properties.put(IdentifiedObject.ALIAS_PROPERTY, identifiers); } } if (toWGS84 != null) { if (properties.size() == 1) { properties = new HashMap(properties); |