This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/sis.git
from 20ea158492 Merge branch 'geoapi-3.1'
add 255d12c4b6 Basic support of some compression in GeoHEIF files:
add 7d72c08606 fix(JTS): compute 3D and 4D envelopes in JTS geometry
Wrapper.getEnvelope() method
add c4cb4db1ca Move the code that search for Z and M values in a separated
classes. It make easier to manage the ranges, the flags about Z and M presence
and the dimensions all together.
add 593a479d5c Javadoc, formatting and warning suppressions.
add ca60298d0c Add support for writing pyramided GeoTIFF. This is an
important step toward a COG writer, but not yet fully COG compliant.
add 71b882f252 feat(Geotiff): if added resource is tiled, try to reuse
it's matrix model.
add 10619683eb Add a `SOURCE_NAME_KEY` property to `PlanarImage` for
making debugging easier.
add 45eb43ee19 Javadoc and class renaming for clarity.
add 4a5efac0c6 Move part of the `org.apache.sis.storage.geotiff.inflater`
package to `org.apache.sis.io.stream.inflater` for sharing with GeoHEIF.
add 83e5974f24 Refactor the GeoHEIF reader with more separation of
concern. The code that creates color and sample models moves to a new class.
The code for uncompressing tiles with ZLIB uses the code shared with GeoTIFF.
add 3e9a1deb2e Move also the predictor base class to the shared package.
Reuse the byte buffer in the GeoHEIF reader when possible.
add b4604cdd7d Anticipate for the reuse of `ImageModel` in a future
version.
add 53ca1f0dc8 Replace an item list by an item map in the resource builder
implementation. This is more convenient and more efficient when getting item by
identifier.
add 23b494440e Added support for the "deflate" compression method as a
slight variation of the "zlib" method.
add d5f800f70f Grid coverage cleanup: javadoc and more a class to where it
is used.
add 84de818e9f Implement pyramid support in the GeoHEIF reader.
add d1a6399c25 Initial support of "tili" image type in GeoHEIF files.
add 0f40dab9ea Fix a wrong position of to the ZIP data to uncompress in a
HEIF file.
add 72024eaabc Make HEIF pyramid more tolerant to the case when the "grid
to CRS" transform is not specified.
add b811a4f260 Add image size columns in `TileMatrixSetFormat`.
add e14da0d68c Allows to specify the locale when launching the JavaFX
application. This is useful for screenshots to an international audience.
add ccfa3c1130 Fix the order of pyramid levels in HEIF file. Opportunistic
fix in the formatting of scale factors.
add 98c2112e62 Fix the computation of tile index in "tili" image scheme of
GeoHEIF. Less distracting exception thrown when an error occurred during
decompression.
add f2376c46f8 Fix a buffer used when inflating tile data in HEIF.
add c13530cdad Try harder to build a sample model when there is
insuffisient information.
add 9db36b9428 Merge branch 'geoapi-4.0' into geoapi-3.1
new f7bef1427d Merge branch 'geoapi-3.1'. Contains developments of HEIF
reader with support of `tili` image scheme and pyramid.
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:
.../sis/coverage/grid/BufferedGridCoverage.java | 2 +-
.../org/apache/sis/coverage/grid/GridExtent.java | 38 ++
.../org/apache/sis/coverage/grid/GridGeometry.java | 41 +-
.../apache/sis/coverage/grid/ImageRenderer.java | 2 +-
.../sis/geometry/wrapper/jts/GeometryWalker.java | 184 ++++++++
.../apache/sis/geometry/wrapper/jts/Wrapper.java | 64 +--
.../main/org/apache/sis/image/ComputedImage.java | 2 +-
.../main/org/apache/sis/image/ImageProcessor.java | 34 +-
.../main/org/apache/sis/image/MaskImage.java | 7 +-
.../main/org/apache/sis/image/OverviewImage.java | 310 +++++++++++++
.../main/org/apache/sis/image/PixelIterator.java | 6 +-
.../main/org/apache/sis/image/PlanarImage.java | 29 +-
.../sis/image/PositionalConsistencyImage.java | 2 +
.../main/org/apache/sis/image/ResampledImage.java | 5 +-
.../org/apache/sis/image/StatisticsCalculator.java | 8 +-
.../main/org/apache/sis/image/UserProperties.java | 2 +-
.../image/internal/shared/DeferredProperty.java | 5 +-
.../apache/sis/coverage/grid/GridGeometryTest.java | 38 ++
.../apache/sis/geometry/wrapper/jts/JTSTest.java | 8 +-
.../org/apache/sis/image/BandedIteratorTest.java | 1 +
.../org/apache/sis/image/ComputedImageTest.java | 1 +
.../test/org/apache/sis/image/DataTypeTest.java | 1 +
.../test/org/apache/sis/image/ImageLayoutTest.java | 1 +
.../org/apache/sis/image/ImageOverlayTest.java | 1 +
.../test/org/apache/sis/image/ImageTestCase.java | 1 +
.../org/apache/sis/image/InterpolationTest.java | 1 +
.../org/apache/sis/image/LinearIteratorTest.java | 1 +
.../test/org/apache/sis/image/MaskedImageTest.java | 1 +
.../org/apache/sis/image/OverviewImageTest.java | 135 ++++++
.../test/org/apache/sis/image/TiledImageMock.java | 17 +
.../sis/map/coverage/RenderingWorkaround.java | 2 +
.../main/org/apache/sis/io/wkt/Formatter.java | 2 +-
.../main/module-info.java | 6 +-
.../apache/sis/storage/geotiff/Compression.java | 27 +-
.../org/apache/sis/storage/geotiff/DataCube.java | 8 +-
.../org/apache/sis/storage/geotiff/DataSubset.java | 4 +-
.../apache/sis/storage/geotiff/FormatModifier.java | 19 +-
.../apache/sis/storage/geotiff/GeoTiffStore.java | 45 +-
.../sis/storage/geotiff/ImageFileDirectory.java | 16 +-
.../apache/sis/storage/geotiff/NativeMetadata.java | 6 +-
.../apache/sis/storage/geotiff/WritableStore.java | 36 +-
.../org/apache/sis/storage/geotiff/Writer.java | 49 ++-
.../{Compression.java => CompressionMethod.java} | 57 +--
.../apache/sis/storage/geotiff/base/Predictor.java | 37 +-
.../org/apache/sis/storage/geotiff/base/Tags.java | 2 +-
.../sis/storage/geotiff/inflater/CCITTRLE.java | 14 +-
.../storage/geotiff/inflater/CopyFromBytes.java | 4 +-
.../geotiff/inflater/HorizontalPredictor.java | 19 +-
.../sis/storage/geotiff/inflater/Inflater.java | 45 +-
.../apache/sis/storage/geotiff/inflater/LZW.java | 16 +-
.../sis/storage/geotiff/inflater/PackBits.java | 3 +-
.../sis/storage/geotiff/inflater/PixelChannel.java | 52 ---
.../sis/storage/geotiff/inflater/package-info.java | 6 +-
.../apache/sis/storage/geotiff/package-info.java | 3 +
.../sis/storage/geotiff/writer/TileMatrix.java | 18 +-
.../sis/storage/geotiff/GeoTiffStoreTest.java | 78 ++++
.../sis/storage/geotiff/base/CompressionTest.java | 20 +-
.../sis/storage/geotiff/inflater/CCITTRLETest.java | 3 +-
.../org/apache/sis/storage/netcdf/base/Raster.java | 4 +-
.../sis/storage/netcdf/classic/VariableInfo.java | 6 +-
.../org.apache.sis.storage/main/module-info.java | 4 +
.../org/apache/sis/io/stream/ChannelDataInput.java | 15 +-
.../apache/sis/io/stream/HyperRectangleReader.java | 1 -
.../apache/sis/io/stream/HyperRectangleWriter.java | 2 +-
.../main/org/apache/sis/io/stream/Region.java | 14 +-
.../io/stream/inflater/CompressionException.java} | 32 +-
.../io/stream/inflater/ComputedByteChannel.java | 115 +++++
.../apache/sis/io/stream/inflater/Deflate.java} | 35 +-
.../sis/io/stream/inflater/InflaterChannel.java} | 77 +---
.../sis/io/stream}/inflater/PredictorChannel.java | 35 +-
.../sis/io/stream/inflater}/package-info.java | 14 +-
.../sis/storage/AbstractGridCoverageResource.java | 9 +
.../apache/sis/storage/GridCoverageResource.java | 1 +
.../sis/storage/aggregate/CoverageAggregator.java | 1 -
.../{base => aggregate}/PseudoResource.java | 4 +-
.../apache/sis/storage/base/OverviewIterator.java} | 31 +-
.../storage/base/WritableTiledResourceSupport.java | 86 ++++
.../apache/sis/storage/tiling/ImagePyramid.java | 50 ++-
.../apache/sis/storage/tiling/ImageTileMatrix.java | 10 +
.../apache/sis/storage/tiling/TileMatrixSet.java | 2 +-
.../sis/storage/tiling/TileMatrixSetFormat.java | 101 +++--
.../apache/sis/storage/tiling/TileReadEvent.java | 7 +-
.../sis/storage/tiling/TiledGridCoverage.java | 17 +-
.../storage/tiling/TiledGridCoverageResource.java | 30 +-
.../io/stream/SubsampledRectangleWriterTest.java | 4 +-
.../apache/sis/util/internal/shared/Numerics.java | 115 +----
.../sis/storage/geoheif/CoverageBuilder.java | 481 +++++++++------------
.../apache/sis/storage/geoheif/FromImageIO.java | 66 ++-
.../apache/sis/storage/geoheif/GeoHeifStore.java | 26 +-
.../main/org/apache/sis/storage/geoheif/Image.java | 24 +-
.../org/apache/sis/storage/geoheif/ImageModel.java | 322 ++++++++++++++
.../apache/sis/storage/geoheif/ImageResource.java | 123 ++++--
.../org/apache/sis/storage/geoheif/Pyramid.java | 211 ++++++++-
.../sis/storage/geoheif/ResourceBuilder.java | 245 +++++++----
.../org/apache/sis/storage/geoheif/TiledImage.java | 119 +++++
.../sis/storage/geoheif/UncompressedImage.java | 167 +++++--
.../sis/storage/isobmff/MainBoxRegistry.java | 10 +
.../org/apache/sis/storage/isobmff/Reader.java | 4 +-
.../org/apache/sis/storage/isobmff/TreeNode.java | 4 +-
.../apache/sis/storage/isobmff/base/ItemData.java | 10 +-
.../sis/storage/isobmff/base/ItemInfoEntry.java | 3 +-
...Reference.java => AuxiliaryImageReference.java} | 12 +-
...ImageReference.java => BaseImageReference.java} | 11 +-
...rence.java => PremultipliedImageReference.java} | 11 +-
...ImageReference.java => ThumbnailReference.java} | 11 +-
.../{geo => image}/TiledImageConfiguration.java | 3 +-
...{FieldInterlaceType.java => CleanAperture.java} | 16 +-
.../apache/sis/storage/isobmff/mpeg/Component.java | 19 +-
.../isobmff/mpeg/CompressedUnitsItemInfo.java | 122 ++++++
...FieldInterlaceType.java => CompressionAV1.java} | 16 +-
...lockInfo.java => CompressionConfiguration.java} | 65 +--
...ieldInterlaceType.java => CompressionJP2K.java} | 16 +-
...terlaceType.java => HevcConfigurationItem.java} | 16 +-
.../apache/sis/storage/isobmff/mpeg/UnitType.java | 71 +++
.../main/org/apache/sis/gui/DataViewer.java | 29 +-
.../main/org/apache/sis/gui/Option.java | 96 ++++
.../apache/sis/gui/coverage/TileMatrixSetPane.java | 33 +-
117 files changed, 3527 insertions(+), 1202 deletions(-)
create mode 100644
endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/jts/GeometryWalker.java
create mode 100644
endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/OverviewImage.java
create mode 100644
endorsed/src/org.apache.sis.feature/test/org/apache/sis/image/OverviewImageTest.java
rename
endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/base/{Compression.java
=> CompressionMethod.java} (71%)
delete mode 100644
endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/PixelChannel.java
copy
endorsed/src/{org.apache.sis.feature/test/org/apache/sis/feature/DenseFeatureTest.java
=>
org.apache.sis.storage/main/org/apache/sis/io/stream/inflater/CompressionException.java}
(56%)
create mode 100644
endorsed/src/org.apache.sis.storage/main/org/apache/sis/io/stream/inflater/ComputedByteChannel.java
rename
endorsed/src/{org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/ZIP.java
=> org.apache.sis.storage/main/org/apache/sis/io/stream/inflater/Deflate.java}
(77%)
rename
endorsed/src/{org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/CompressionChannel.java
=>
org.apache.sis.storage/main/org/apache/sis/io/stream/inflater/InflaterChannel.java}
(53%)
rename
endorsed/src/{org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff
=>
org.apache.sis.storage/main/org/apache/sis/io/stream}/inflater/PredictorChannel.java
(83%)
copy {optional/src/org.apache.sis.gui/main/org/apache/sis/gui/internal/io =>
endorsed/src/org.apache.sis.storage/main/org/apache/sis/io/stream/inflater}/package-info.java
(62%)
rename endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/{base
=> aggregate}/PseudoResource.java (94%)
copy
endorsed/src/org.apache.sis.storage/{test/org/apache/sis/storage/base/StoreUtilitiesTest.java
=> main/org/apache/sis/storage/base/OverviewIterator.java} (54%)
create mode 100644
endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/WritableTiledResourceSupport.java
create mode 100644
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/ImageModel.java
create mode 100644
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/TiledImage.java
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/image/{DerivedImageReference.java
=> AuxiliaryImageReference.java} (76%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/image/{DerivedImageReference.java
=> BaseImageReference.java} (76%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/image/{DerivedImageReference.java
=> PremultipliedImageReference.java} (76%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/image/{DerivedImageReference.java
=> ThumbnailReference.java} (76%)
rename
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/{geo
=> image}/TiledImageConfiguration.java (97%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/{FieldInterlaceType.java
=> CleanAperture.java} (78%)
create mode 100644
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/CompressedUnitsItemInfo.java
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/{FieldInterlaceType.java
=> CompressionAV1.java} (78%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/{TAIClockInfo.java
=> CompressionConfiguration.java} (56%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/{FieldInterlaceType.java
=> CompressionJP2K.java} (78%)
copy
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/{FieldInterlaceType.java
=> HevcConfigurationItem.java} (78%)
create mode 100644
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/isobmff/mpeg/UnitType.java
create mode 100644
optional/src/org.apache.sis.gui/main/org/apache/sis/gui/Option.java