This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a change to branch geoapi-3.1 in repository https://gitbox.apache.org/repos/asf/sis.git
from 3e609d464e Merge of automatic reorganization of imports order. add ec8d89adde Allow to read tiles through HTTP using HTTP range requests. It requires some reorganization for allowing to know the ranges in advance. add e07452d79e Check HTTP status when opening a file from an URL. add 9a1e96040c Workaround for limitations observed in DuckDB 1.2.1: - Ignore the catalog name when the database is DuckDB. - Do not add SRID argument in geometries because not supported. add ab0610bcf7 Remove the hack for DuckDB 1.2.1 since it has been fixed in DuckDB 1.2.2.0. Document DuckDB 1.2.2.0 as the minimal version required by Apache SIS. add 8abf1fdeeb Add explicit `ST_AsBinary` or `ST_AsText` functions when requesting a geometry. add bce9be08df Add a fallback for trying to guess the SRID when the table of a column is unknown. This is a workaround for incomplete JDBC drivers (in this case, DuckDB 1.2.2.0). add aefe5d2936 Add getContentPath() method on Tile to allow access to the raw tile content without opening a resource add 0b665692dc Simplify the default implementation of `getContentPath()`. Add `@since 1.5` Javadoc tag and adjust `{@link}` versus `{@linkplain}`. Minor editions to the Javadoc sentences and a bit of formatting (one sentence per line). add 90aaa358f1 Clarification about the circumstances when `guessCRS` may be invoked. add 2f1112858c Implement getFileSet() on landsat resources add 12d68ec5d1 Resolve shapefile sibling files without going trought parent path which may be null add db6cf1093b More reliable determination of the path to the metadata file used for opening a Landsat store. Opportunistic minor editions. add 71c5b4f09b Add a `Features.getLinkTargets(PropertyType)` method in complement to `getLinkTarget(PropertyType)` method (plural versus singular). Bug fix in `SQLStore` where foreigner keys in queries were followed in the wrong directions (foreigner keys in tables were okay). Minor simplification in exception handling of `DeferredStream` and minor javadoc editions. add 428ee02c5e Add a `PropertyTypeBuilder.replaceBy(…)` method. add 0db3b21989 `SQLStore` should accept queries with a "projection" (in SQL sense) that contains links such as "sis:identifier". add ff4f8725a6 Add a test for the new support of "sis:identifier" in FeatureQuery. add 26bdb313f1 Move flexibility for configuring the builder wrapped by `FeatureProjectionBuilder.Item`. More conservative check of whether the FeatureType is different than the source. add 305ae17810 Improve AWT to JTS conversion logic. new ffa96dbde4 Merge branch 'geoapi-4.0' into geoapi-3.1. Contains improvements in `SQLStore`. The 1 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/cloud/aws/s3/ClientFileSystem.java | 2 +- .../org.apache.sis.feature/main/module-info.java | 1 + .../org/apache/sis/feature/AbstractOperation.java | 4 +- .../apache/sis/feature/ExpressionOperation.java | 2 +- .../org/apache/sis/feature/FeatureOperations.java | 75 ++- .../main/org/apache/sis/feature/Features.java | 25 +- .../apache/sis/feature/StringJoinOperation.java | 14 + .../sis/feature/builder/AttributeTypeBuilder.java | 14 +- .../sis/feature/builder/FeatureTypeBuilder.java | 10 +- .../sis/feature/builder/OperationWrapper.java | 30 +- .../sis/feature/builder/PropertyTypeBuilder.java | 32 +- .../apache/sis/feature/builder/TypeBuilder.java | 2 +- .../org/apache/sis/feature/internal/Resources.java | 5 + .../sis/feature/internal/Resources.properties | 1 + .../sis/feature/internal/Resources_fr.properties | 1 + .../main/org/apache/sis/feature/package-info.java | 2 +- .../sis/feature/privy/FeatureExpression.java | 87 ++- .../sis/feature/privy/FeatureProjection.java | 341 ++++++++++ .../feature/privy/FeatureProjectionBuilder.java | 741 +++++++++++++++++++++ .../org/apache/sis/feature/privy/FeatureView.java | 131 ++++ .../org/apache/sis/filter/ArithmeticFunction.java | 8 +- .../org/apache/sis/filter/AssociationValue.java | 22 +- .../org/apache/sis/filter/ConvertFunction.java | 19 +- .../apache/sis/filter/DefaultFilterFactory.java | 25 + .../InvalidXPathException.java} | 41 +- .../main/org/apache/sis/filter/LeafExpression.java | 15 +- .../main/org/apache/sis/filter/PropertyValue.java | 75 +-- .../main/org/apache/sis/filter/privy/XPath.java | 18 +- .../apache/sis/filter/sqlmm/FunctionWithSRID.java | 24 +- .../apache/sis/filter/sqlmm/SpatialFunction.java | 36 +- .../sis/geometry/wrapper/jts/ConverterTo2D.java | 227 +++++++ .../sis/geometry/wrapper/jts/ShapeConverter.java | 73 +- .../feature/builder/FeatureTypeBuilderTest.java | 29 + .../geometry/wrapper/jts/ShapeConverterTest.java | 40 +- .../org/apache/sis/metadata/sql/privy/Dialect.java | 65 +- .../apache/sis/metadata/sql/privy/Reflection.java | 2 + .../apache/sis/metadata/sql/privy/Supports.java | 15 + .../main/org/apache/sis/storage/landsat/Band.java | 27 +- .../org/apache/sis/storage/landsat/BandGroup.java | 15 + .../apache/sis/storage/landsat/LandsatStore.java | 27 +- .../org/apache/sis/storage/sql/duckdb/DuckDB.java | 2 +- .../sis/storage/sql/duckdb/package-info.java | 4 + .../apache/sis/storage/sql/feature/Analyzer.java | 7 +- .../org/apache/sis/storage/sql/feature/Column.java | 50 +- .../apache/sis/storage/sql/feature/Database.java | 56 +- .../sis/storage/sql/feature/FeatureAdapter.java | 20 +- .../sis/storage/sql/feature/FeatureIterator.java | 31 +- .../sis/storage/sql/feature/FeatureStream.java | 38 +- .../sis/storage/sql/feature/GeometryEncoding.java | 93 ++- .../storage/sql/feature/GeometryTypeEncoding.java | 2 + .../sis/storage/sql/feature/InfoStatements.java | 124 +++- .../sis/storage/sql/feature/QueryAnalyzer.java | 7 +- .../sis/storage/sql/feature/SelectionClause.java | 10 +- .../storage/sql/feature/SelectionClauseWriter.java | 10 +- .../sis/storage/sql/feature/SpatialSchema.java | 9 +- .../org/apache/sis/storage/sql/feature/Table.java | 48 +- .../sis/storage/sql/feature/TableAnalyzer.java | 10 + .../sis/storage/sql/feature/ValueGetter.java | 2 +- .../apache/sis/storage/sql/postgis/Postgres.java | 4 +- .../org/apache/sis/util/stream/DeferredStream.java | 10 +- .../org/apache/sis/storage/sql/SQLStoreTest.java | 30 +- .../org/apache/sis/io/stream/ChannelDataInput.java | 15 + .../org/apache/sis/io/stream/HttpByteChannel.java | 21 + .../main/org/apache/sis/storage/FeatureQuery.java | 59 +- .../main/org/apache/sis/storage/FeatureSubset.java | 6 +- .../apache/sis/storage/base/FeatureProjection.java | 383 ----------- .../sis/storage/base/TiledDeferredImage.java | 1 + .../apache/sis/storage/base/TiledGridCoverage.java | 19 +- .../org/apache/sis/storage/internal/Resources.java | 5 + .../sis/storage/internal/Resources.properties | 1 + .../sis/storage/internal/Resources_fr.properties | 1 + .../main/org/apache/sis/storage/tiling/Tile.java | 19 + .../sis/util/privy/UnmodifiableArrayList.java | 3 +- .../apache/sis/storage/geoheif/FromImageIO.java | 65 +- .../main/org/apache/sis/storage/geoheif/Image.java | 43 +- .../apache/sis/storage/geoheif/ImageResource.java | 152 +++-- .../sis/storage/geoheif/ResourceBuilder.java | 6 +- .../sis/storage/geoheif/UncompressedImage.java | 69 +- .../org/apache/sis/storage/isobmff/ByteRanges.java | 163 +++++ .../org/apache/sis/storage/isobmff/ByteReader.java | 92 --- .../org/apache/sis/storage/isobmff/Reader.java | 14 +- .../apache/sis/storage/isobmff/base/ItemData.java | 32 +- .../sis/storage/isobmff/base/ItemLocation.java | 96 +-- .../sis/storage/shapefile/ShapefileStore.java | 12 +- 84 files changed, 3060 insertions(+), 1107 deletions(-) create mode 100644 endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/privy/FeatureProjection.java create mode 100644 endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/privy/FeatureProjectionBuilder.java create mode 100644 endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/privy/FeatureView.java copy endorsed/src/org.apache.sis.feature/main/org/apache/sis/{coverage/MismatchedCoverageRangeException.java => filter/InvalidXPathException.java} (52%) create mode 100644 endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/jts/ConverterTo2D.java delete mode 100644 endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/FeatureProjection.java create mode 100644 incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/ByteRanges.java delete mode 100644 incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/ByteReader.java