This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
from ff9f96a15a Provide a base class for the encoders of referencing by
identifiers. It requires the addition of encoder-neutral methods for specifying
the desired precision, which in turn requires the capability to convert angular
precision to linear precision.
new e50774dce6 Add a `Coder.getReferenceSystem()` method.
new e638f9ad48 Add a `GazetteerFactory` class using the name of reference
system implementations.
new 1aaf5e2ba3 Bug fix: geohash length not updated after precision has
been specified.
new baaa577132 Allow the status bar to show coordinates using another
system than `CoordinateReferenceSystem`. Current implementation uses
`ReferenceSystemUsingIdentifiers` as a proof of work. The intent is to show
coverage grid cell coordinates in a next commit.
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
application/sis-javafx/pom.xml | 5 +
.../apache/sis/gui/coverage/CoverageCanvas.java | 2 +-
.../apache/sis/gui/coverage/CoverageExplorer.java | 2 +-
.../main/java/org/apache/sis/gui/map/MapMenu.java | 4 +-
.../org/apache/sis/gui/map/OperationFinder.java | 4 +-
.../java/org/apache/sis/gui/map/StatusBar.java | 615 +++++++++++++++------
.../org/apache/sis/gui/referencing/MenuSync.java | 131 +++--
.../sis/gui/referencing/ObjectStringConverter.java | 14 +-
.../gui/referencing/RecentReferenceSystems.java | 246 ++++++---
.../org/apache/sis/internal/gui/Resources.java | 10 +
.../apache/sis/internal/gui/Resources.properties | 2 +
.../sis/internal/gui/Resources_fr.properties | 2 +
.../apache/sis/internal/gazetteer/Resources.java | 5 +
.../sis/internal/gazetteer/Resources.properties | 1 +
.../sis/internal/gazetteer/Resources_fr.properties | 1 +
.../referencing/gazetteer/GazetteerFactory.java | 106 ++++
.../gazetteer/GeohashReferenceSystem.java | 38 +-
.../gazetteer/MilitaryGridReferenceSystem.java | 28 +-
.../gazetteer/ReferencingByIdentifiers.java | 16 +-
.../gazetteer/GazetteerFactoryTest.java | 55 ++
.../suite/ReferencingByIdentifiersTestSuite.java | 5 +-
.../org/apache/sis/internal/util/Constants.java | 2 +-
.../org/apache/sis/internal/util/package-info.java | 2 +-
23 files changed, 1007 insertions(+), 289 deletions(-)
create mode 100644
core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/GazetteerFactory.java
create mode 100644
core/sis-referencing-by-identifiers/src/test/java/org/apache/sis/referencing/gazetteer/GazetteerFactoryTest.java