This is an automated email from the ASF dual-hosted git repository. jsorel pushed a change to branch feat/image2polygon in repository https://gitbox.apache.org/repos/asf/sis.git
discard 151d4d885f Change Predicate<Double> to DoublePredicate, add test for ImageProcessor.areas discard acf0d9371e Rework ImageProcessor areas operation, use Predicate and DoubleToIntFunction to classify points discard fe6bca1e57 Add image to polygon area algorithm discard 237fd4bc1f Improve AWT to JTS conversion logic add 913e4ff28a Move `ListingPropertyVisitor` from Shapefile module to the main feature module. It will also be needed by the SQL data store, among others. add c5ac1dc86a When only a subset of the feature properties is requested, declare only that subset in the SQL `SELECT` statement. add ceacb1c0df Remove an internal utility class which is no longer useful. add ece63c46f5 Fix a never-ending loop when temporal objects are compared as `java.lang.Object`. Add a note about future development needed in WKT parsing. Minor cleaning. add 304b134b1d Fix a `ClassCastException` in the comparison of temporal objects. add f5847a4f88 Handle LocalDate format in CQL parser add c171717d16 Allow to specify a timezone when reading features from a Shapefile. If a timezone is specified, then hours are arbitrarily set to the middle of the day. The default stay no timezone, in which case dates are instances of `java.time.LocalDate`. add f8a9c9ae79 Partial replacement of `java.util.TimeZone` by `java.time.ZoneId`. The old timezone is kept in codes related to `java.text.Format`. This commit has two incompatible changes: add 934715d706 Move `SchemaModifier` (renamed `CoverageModifier`) to public API. Add a method for customizing the `GridGeometry` and invoke it in the WorldFile reader. This is useful when an image does not declare a CRS but the user know what the CRS should be. add 1476b6c6ec Allow to customize the the sample dimensions and grid geometry created by GeoHEIF store. add 2d528ffbea Post-merge 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. new 610f4bc122 Improve AWT to JTS conversion logic new c06f9aa189 Add image to polygon area algorithm new fd950b7257 Rework ImageProcessor areas operation, use Predicate and DoubleToIntFunction to classify points new e9c53951a4 Change Predicate<Double> to DoublePredicate, add test for ImageProcessor.areas This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (151d4d885f) \ N -- N -- N refs/heads/feat/image2polygon (e9c53951a4) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. 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: .../main/org/apache/sis/console/AboutCommand.java | 4 +- .../main/org/apache/sis/console/CommandRunner.java | 9 +- .../org/apache/sis/console/CommandRunnerTest.java | 11 +- .../org/apache/sis/feature/AbstractOperation.java | 18 + .../org/apache/sis/feature/EnvelopeOperation.java | 3 +- .../apache/sis/feature/ExpressionOperation.java | 3 +- .../sis/feature/GroupAsPolylineOperation.java | 3 +- .../main/org/apache/sis/feature/LinkOperation.java | 3 +- .../apache/sis/feature/StringJoinOperation.java | 3 +- .../sis/feature/privy/AttributeConvention.java | 6 + .../apache/sis/feature/privy/FeatureUtilities.java | 98 ------ .../main/org/apache/sis/filter/TemporalFilter.java | 6 +- .../main/org/apache/sis/filter/internal/Node.java | 2 +- .../sis/filter/privy/ListingPropertyVisitor.java | 137 ++++++++ .../org/apache/sis/filter/privy/WarningEvent.java | 2 +- .../main/org/apache/sis/image/ImageProcessor.java | 4 +- .../org.apache.sis.metadata/main/module-info.java | 1 + .../org/apache/sis/metadata/sql/privy/Dialect.java | 63 ++-- .../apache/sis/metadata/sql/privy/Reflection.java | 2 + .../apache/sis/metadata/sql/privy/Supports.java | 12 + .../main/org/apache/sis/temporal/TimeMethods.java | 168 +++++++-- .../main/org/apache/sis/xml/MarshalContext.java | 21 +- .../main/org/apache/sis/xml/Pooled.java | 21 +- .../main/org/apache/sis/xml/XML.java | 5 +- .../main/org/apache/sis/xml/bind/Context.java | 8 +- ...neralDurationTest.java => TimeMethodsTest.java} | 30 +- .../org/apache/sis/xml/privy/XmlUtilitiesTest.java | 2 +- .../test/org/apache/sis/xml/test/TestCase.java | 4 +- .../apache/sis/io/wkt/GeodeticObjectParser.java | 21 +- .../main/org/apache/sis/io/wkt/WKTFormat.java | 16 +- .../test/org/apache/sis/io/wkt/WKTFormatTest.java | 3 +- .../main/org/apache/sis/storage/landsat/Band.java | 9 +- .../main/module-info.java | 3 - .../org/apache/sis/storage/geotiff/DataCube.java | 3 +- .../org/apache/sis/storage/geotiff/DataSubset.java | 41 ++- .../apache/sis/storage/geotiff/GeoTiffStore.java | 32 +- .../sis/storage/geotiff/ImageFileDirectory.java | 50 +-- .../sis/storage/geotiff/spi/SchemaModifier.java | 306 ---------------- .../sis/storage/geotiff/spi/package-info.java | 23 -- .../sis/storage/geotiff/writer/GeoEncoder.java | 2 +- .../sis/storage/netcdf/base/GridMapping.java | 3 +- .../main/org/apache/sis/storage/sql/SQLStore.java | 2 +- .../org/apache/sis/storage/sql/duckdb/DuckDB.java | 2 +- .../storage/sql/duckdb/ExtendedClauseWriter.java | 2 + .../sis/storage/sql/duckdb/package-info.java | 4 + .../apache/sis/storage/sql/feature/Analyzer.java | 12 +- .../org/apache/sis/storage/sql/feature/Column.java | 67 +++- .../apache/sis/storage/sql/feature/Database.java | 34 +- .../sis/storage/sql/feature/FeatureAdapter.java | 8 +- .../sis/storage/sql/feature/FeatureAnalyzer.java | 10 +- .../sis/storage/sql/feature/FeatureIterator.java | 49 ++- .../sis/storage/sql/feature/FeatureStream.java | 56 ++- .../apache/sis/storage/sql/feature/Relation.java | 48 ++- .../apache/sis/storage/sql/feature/Resources.java | 5 + .../sis/storage/sql/feature/Resources.properties | 1 + .../storage/sql/feature/Resources_fr.properties | 3 +- .../sis/storage/sql/feature/SelectionClause.java | 12 +- .../storage/sql/feature/SelectionClauseWriter.java | 4 +- .../org/apache/sis/storage/sql/feature/Table.java | 140 ++++++-- .../apache/sis/storage/sql/postgis/Postgres.java | 2 +- .../org/apache/sis/storage/sql/SQLStoreTest.java | 22 +- .../sis/storage/sql/postgis/PostgresTest.java | 2 +- .../sis/storage/xml/stream/StaxDataStore.java | 4 +- .../org.apache.sis.storage/main/module-info.java | 1 + .../org/apache/sis/io/stream/ChannelDataInput.java | 15 + .../org/apache/sis/io/stream/HttpByteChannel.java | 21 ++ .../main/org/apache/sis/storage/DataOptionKey.java | 9 + .../main/org/apache/sis/storage/FeatureQuery.java | 237 +++++-------- .../main/org/apache/sis/storage/FeatureSubset.java | 37 +- .../apache/sis/storage/base/FeatureProjection.java | 383 ++++++++++++++++++++ .../sis/storage/base/TiledDeferredImage.java | 1 + .../apache/sis/storage/base/TiledGridCoverage.java | 19 +- .../org/apache/sis/storage/base/URIDataStore.java | 4 +- .../main/org/apache/sis/storage/folder/Store.java | 8 +- .../apache/sis/storage/folder/StoreProvider.java | 6 +- .../sis/storage/image/WorldFileResource.java | 16 +- .../apache/sis/storage/image/WorldFileStore.java | 31 +- .../org/apache/sis/storage/internal/Resources.java | 5 + .../sis/storage/internal/Resources.properties | 1 + .../sis/storage/internal/Resources_fr.properties | 1 + .../sis/storage/modifier/CoverageModifier.java | 385 +++++++++++++++++++++ .../apache/sis/storage/modifier}/package-info.java | 7 +- .../org/apache/sis/storage/wkt/StoreFormat.java | 4 +- .../org/apache/sis/storage/FeatureQueryTest.java | 24 ++ .../main/org/apache/sis/setup/OptionKey.java | 11 +- .../apache/sis/util/collection/WeakHashSet.java | 1 + .../main/antlr/org/apache/sis/cql/internal/CQL.g4 | 4 +- .../main/org/apache/sis/cql/CQL.java | 4 +- .../org/apache/sis/cql/ExpressionReadingTest.java | 15 +- .../org/apache/sis/cql/ExpressionWritingTest.java | 11 +- .../sis/storage/geoheif/CoverageBuilder.java | 38 +- .../apache/sis/storage/geoheif/FromImageIO.java | 65 ++-- .../apache/sis/storage/geoheif/GeoHeifStore.java | 9 +- .../main/org/apache/sis/storage/geoheif/Image.java | 51 ++- .../apache/sis/storage/geoheif/ImageResource.java | 157 ++++++--- .../sis/storage/geoheif/ResourceBuilder.java | 14 +- .../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 ++--- .../storage/shapefile/ListingPropertyVisitor.java | 82 ----- .../sis/storage/shapefile/ShapefileStore.java | 55 ++- .../apache/sis/storage/shapefile/dbf/DBFField.java | 31 +- .../sis/storage/shapefile/dbf/DBFHeader.java | 5 +- .../sis/storage/shapefile/dbf/DBFReader.java | 5 +- .../sis/storage/shapefile/dbf/DBFIOTest.java | 6 +- .../apache/sis/storage/shapefile/dbf/Snippets.java | 8 +- .../org/apache/sis/gui/referencing/WKTPane.java | 3 +- .../org/apache/sis/storage/gdal/FieldAccessor.java | 3 +- .../org/apache/sis/storage/gdal/GDALStore.java | 2 +- 112 files changed, 2571 insertions(+), 1340 deletions(-) delete mode 100644 endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/privy/FeatureUtilities.java create mode 100644 endorsed/src/org.apache.sis.feature/main/org/apache/sis/filter/privy/ListingPropertyVisitor.java copy endorsed/src/org.apache.sis.metadata/test/org/apache/sis/temporal/{GeneralDurationTest.java => TimeMethodsTest.java} (54%) delete mode 100644 endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/spi/SchemaModifier.java delete mode 100644 endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/spi/package-info.java create mode 100644 endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/FeatureProjection.java create mode 100644 endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/modifier/CoverageModifier.java copy {optional/src/org.apache.sis.gui/main/org/apache/sis/gui/referencing => endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/modifier}/package-info.java (85%) 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 delete mode 100644 incubator/src/org.apache.sis.storage.shapefile/main/org/apache/sis/storage/shapefile/ListingPropertyVisitor.java