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 5112580cf8 `SQLStore` needs to understand more than one CRS definition column. The current use case is to accept the Geopackage extension storing a WKT 2 definition in a separated column in addition to WKT 1. Future versions may accept more columns for CRS-JSON or others. new d05929f39d Simplify a little bit the way to search for spatial tables. This is a modification of the previous commit. new d72d2efd1f Add a constant for the "INSERT INTO" string, for the same reason as "SELECT": make a little bit easier to identify where we build a SQL insert statement. We do not use it for `toString()` implementations, as they are not really SQL. new 0d44b82483 Replace the boolean in `Dialect` by flags, because we are getting more and more of them and a long list of boolean values is difficult to read. new a17e58e5de Add read/write lock for databases that do not support concurrent transactions. This is the case of SQLite used for Geopackage. new a09dffd3c5 If a CRS is not found in the "SPATIAL_REF_SYS" table, optionally add a new record in that table. This feature need to be enabled by setting the `Database.allowAddCRS` flag to `true`, which should be done only when the caller intend to write in the database. The 5 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/metadata/sql/MetadataWriter.java | 14 +- .../org/apache/sis/metadata/sql/privy/Dialect.java | 78 +++-- .../apache/sis/metadata/sql/privy/SQLBuilder.java | 20 ++ .../sis/metadata/sql/privy/ScriptRunner.java | 6 +- .../apache/sis/metadata/sql/privy/Supports.java | 74 +++++ .../org/apache/sis/metadata/sql/TestDatabase.java | 8 +- .../apache/sis/storage/sql/feature/Database.java | 121 +++---- .../sis/storage/sql/feature/FeatureStream.java | 6 +- .../sis/storage/sql/feature/InfoStatements.java | 349 ++++++++++++++++++--- .../sis/storage/sql/feature/SpatialSchema.java | 30 +- .../sis/storage/sql/postgis/ExtentEstimator.java | 2 +- .../org/apache/sis/util/stream/DeferredStream.java | 49 ++- .../storage/sql/feature/InfoStatementsTest.java | 152 +++++++++ .../sql/feature/TemporalValueGetterTest.java | 2 +- .../factory/sql/epsg/DataScriptFormatter.java | 3 +- 15 files changed, 763 insertions(+), 151 deletions(-) create mode 100644 endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/sql/privy/Supports.java create mode 100644 endorsed/src/org.apache.sis.storage.sql/test/org/apache/sis/storage/sql/feature/InfoStatementsTest.java