This class will be rewritten from scratch on top of GeodeticAuthorityFactory
and using WKTFormat
.
Furthermore we do not port the Hints
framework to SIS, so this commit does not apply anyway.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r29104:29105 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/factory/PropertyAuthorityFactory.java
Revision 29104 | Revision 29105 |
---|---|
super(factories, MINIMUM_PRIORITY + 10);
// The following hints have no effect on this class behaviour,
// but tell to the user what this factory do about axis order.
hints.put(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, Boolean.FALSE);
hints.put(Hints.FORCE_STANDARD_AXIS_DIRECTIONS, Boolean.FALSE);
hints.put(Hints.FORCE_STANDARD_AXIS_UNITS, Boolean.FALSE);
ensureNonNull("authorities", authorities); |
super(factories, MINIMUM_PRIORITY + 10); // The following hints have no effect on this class behaviour, // but tell to the user what this factory do about axis order. hints.put(Hints.FORCE_STANDARD_AXIS_DIRECTIONS, Boolean.FALSE); hints.put(Hints.FORCE_STANDARD_AXIS_UNITS, Boolean.FALSE); ensureNonNull("authorities", authorities); |
final Symbols s = Symbols.DEFAULT; for (final Object wkt : this.definitions.values()) { if (s.containsAxis((String) wkt)) { return; } } hints.remove(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER); } /** |
final Symbols s = Symbols.DEFAULT; for (final Object wkt : this.definitions.values()) { if (s.containsAxis((String) wkt)) { LOGGER.warning("Axis elements found in a wkt definition, the force longitude " + "first axis order hint might not be respected:\n" + wkt); } } } /** |