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 8203b0337b Provide default method in `TreeTable.Node` interface for unmodifiable nodes. new 0cc353e119 Complete the translation (or "grid shift") methods by convenience methods doing the translation in the reverse direction. It avoids the need for the caller to negate the value, and in extreme case can avoid an integer overflow. new 62afc80973 Add methods in `GridDerivation` for providing more information on the subsampling. new cd3eb5eaf8 Move `ReshapedImage` to an internal package for reuse by other modules, and add a constructor for creating a translated image. It will be needed for work on aggregation in later commit. new a7888b6e69 Javadoc and minor cleaning. new 9ee2b4da8f Improve `CoverageAggregator` for better support of image mosaic, including when a subsampling is requested. A difficulty is that `GridCoverageResource` can read a coverage with a subsampling different than requested, and there is no guarantee that the different tiles in a mosaic will choose the same subsampling factors. 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: .../sis/coverage/grid/BufferedGridCoverage.java | 4 +- .../apache/sis/coverage/grid/GridCoverage2D.java | 23 +- .../apache/sis/coverage/grid/GridDerivation.java | 79 +++- .../org/apache/sis/coverage/grid/GridExtent.java | 38 +- .../org/apache/sis/coverage/grid/GridGeometry.java | 39 +- .../apache/sis/coverage/grid/PixelTranslation.java | 28 +- .../sis/coverage/privy/CommonDomainFinder.java | 18 +- .../main/org/apache/sis/image/PlanarImage.java | 9 +- .../grid => image/privy}/ReshapedImage.java | 51 ++- .../apache/sis/image/privy/TilePlaceholder.java | 5 +- .../sis/coverage/grid/GridDerivationTest.java | 10 +- .../coverage/grid/ResampledGridCoverageTest.java | 1 + .../grid => image/privy}/ReshapedImageTest.java | 12 +- .../apache/sis/storage/GridCoverageResource.java | 2 +- .../sis/storage/aggregate/AggregatedResource.java | 182 ++++++++- .../aggregate/BandAggregateGridResource.java | 78 ++-- .../aggregate/ConcatenatedGridCoverage.java | 305 +++++--------- .../aggregate/ConcatenatedGridResource.java | 440 +++++++++++---------- .../sis/storage/aggregate/CoverageAggregator.java | 68 ++-- .../apache/sis/storage/aggregate/GridSlice.java | 234 +++++++---- .../sis/storage/aggregate/GridSliceLocator.java | 205 ++++------ .../org/apache/sis/storage/aggregate/Group.java | 79 +++- .../sis/storage/aggregate/GroupAggregate.java | 175 ++------ .../apache/sis/storage/aggregate/GroupByCRS.java | 50 +-- .../sis/storage/aggregate/GroupBySample.java | 55 ++- .../sis/storage/aggregate/GroupByTransform.java | 97 +++-- .../sis/storage/base/GridResourceWrapper.java | 1 + .../sis/storage/base/MemoryGridResource.java | 44 ++- .../apache/sis/storage/image/WritableStore.java | 6 +- .../org/apache/sis/storage/internal/Resources.java | 7 +- .../sis/storage/internal/Resources.properties | 3 +- .../sis/storage/internal/Resources_fr.properties | 3 +- .../aggregate/BandAggregateGridResourceTest.java | 4 +- .../storage/aggregate/CoverageAggregatorTest.java | 107 ++++- .../sis/storage/aggregate/CoverageMosaicTest.java | 379 ++++++++++++++++++ .../sis/storage/aggregate/OpaqueGridResource.java | 11 +- .../main/org/apache/sis/gui/map/StatusBar.java | 6 +- .../org/apache/sis/storage/gdal/TiledCoverage.java | 22 +- .../org/apache/sis/storage/gdal/TiledResource.java | 5 +- 39 files changed, 1820 insertions(+), 1065 deletions(-) rename endorsed/src/org.apache.sis.feature/main/org/apache/sis/{coverage/grid => image/privy}/ReshapedImage.java (87%) rename endorsed/src/org.apache.sis.feature/test/org/apache/sis/{coverage/grid => image/privy}/ReshapedImageTest.java (94%) create mode 100644 endorsed/src/org.apache.sis.storage/test/org/apache/sis/storage/aggregate/CoverageMosaicTest.java