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 4fe1348 Rename the `list` field as `children` and make the code more
null-safe by replacing the null value by a more explicit `isEnumeration` flag.
new 606b226 Clarify the behavior of `WKTFormat.clone()` and avoid cloning
the `fragments` map if possible. The intent is to allow more efficient
`WKTFormat` cloning for parsing many WKT strings in parallel.
new 847ab7e Clarify which locale is used in error messages.
new 5e13b7f Initial version of `WKTDictionary` for allowing users to
define CRS for custom codes. https://issues.apache.org/jira/browse/SIS-502
The 3 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:
.../apache/sis/internal/referencing/Resources.java | 22 +-
.../sis/internal/referencing/Resources.properties | 6 +-
.../internal/referencing/Resources_fr.properties | 6 +-
.../java/org/apache/sis/io/wkt/AbstractParser.java | 75 +-
.../main/java/org/apache/sis/io/wkt/Element.java | 131 ++-
.../main/java/org/apache/sis/io/wkt/Formatter.java | 36 +-
.../java/org/apache/sis/io/wkt/WKTDictionary.java | 884 +++++++++++++++++++++
.../main/java/org/apache/sis/io/wkt/WKTFormat.java | 205 +++--
.../java/org/apache/sis/io/wkt/doc-files/ESRI.txt | 69 ++
.../java/org/apache/sis/io/wkt/package-info.java | 4 +-
.../org/apache/sis/io/wkt/WKTDictionaryTest.java | 104 +++
.../java/org/apache/sis/io/wkt/WKTFormatTest.java | 3 +-
.../sis/test/suite/ReferencingTestSuite.java | 1 +
.../resources/org/apache/sis/io/wkt/ExtraCRS.txt | 65 ++
.../java/org/apache/sis/internal/jdk9/JDK9.java | 14 +-
.../java/org/apache/sis/internal/util/Strings.java | 25 +
.../java/org/apache/sis/math/StatisticsFormat.java | 3 +-
.../sis/util/collection/TreeTableFormat.java | 4 +-
18 files changed, 1545 insertions(+), 112 deletions(-)
create mode 100644
core/sis-referencing/src/main/java/org/apache/sis/io/wkt/WKTDictionary.java
create mode 100644
core/sis-referencing/src/main/java/org/apache/sis/io/wkt/doc-files/ESRI.txt
create mode 100644
core/sis-referencing/src/test/java/org/apache/sis/io/wkt/WKTDictionaryTest.java
create mode 100644
core/sis-referencing/src/test/resources/org/apache/sis/io/wkt/ExtraCRS.txt