sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated (0d3851e -> bf4cb0c)
Date Tue, 06 Jul 2021 15:41:28 GMT
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 0d3851e  Fix spelling errors spotted by Bruno on https://github.com/apache/sis/pull/23
merge request.
     add 5fa76e9  Added an internal method for converting `java.awt.image.DataBuffer` enumeration
values to `org.apache.sis.util.Numbers` enumeration values.
     add 63be6f5  Add a variant of `HyperRectangleReader.read(Region)` method for returning
the data array wrapped in a `java.nio.Buffer`.
     add ecbad76  Add a Vector.fill(…) method as a convenient way to initialize the content
of an array of unknown type.
     add cb58f9f  Revisit GridDerivation: - Add a `GridDerivation.chunkSize(…)` method for
expanding a grid extent to an integer amount of tiles. - Fix an inconsistency in the way clipping
is handled by `GridCoverageDerivation`.   We resolve this inconsistency by giving more control
to the caller on clipping. - Deprecate some methods having a contract at odd with `subgrid(…)`
methods - Documentation clarification.
     add bf4cb0c  Read GeoTIFF sample values from a potentially n-dimensional data cube. Whether
the file has 3 or more dimensions is assumed already known; this commit does not yet include
a convention for specifying that.

No new revisions were added by this update.

Summary of changes:
 .../sis/coverage/grid/DisjointExtentException.java |   3 +-
 .../apache/sis/coverage/grid/GridClippingMode.java |  51 ++
 .../apache/sis/coverage/grid/GridDerivation.java   | 761 +++++++++++++++------
 .../org/apache/sis/coverage/grid/GridExtent.java   | 125 ++--
 .../org/apache/sis/coverage/grid/GridGeometry.java |  11 +-
 .../apache/sis/coverage/grid/GridRoundingMode.java |   2 +-
 .../sis/coverage/grid/ResampledGridCoverage.java   |   6 +-
 .../java/org/apache/sis/image/BandSelectImage.java |   2 +-
 .../main/java/org/apache/sis/image/DataType.java   |   3 +-
 .../java/org/apache/sis/image/PlanarImage.java     |   8 +-
 .../internal/coverage/j2d/ColorModelFactory.java   |  82 ++-
 .../sis/internal/coverage/j2d/Colorizer.java       |   2 +-
 .../sis/internal/coverage/j2d/ImageUtilities.java  |  19 +
 .../sis/internal/coverage/j2d/TiledImage.java      |  37 +-
 .../sis/coverage/grid/GridDerivationTest.java      |  85 ++-
 .../apache/sis/coverage/grid/GridExtentTest.java   |  42 +-
 .../apache/sis/coverage/grid/GridGeometryTest.java |  10 +-
 .../internal/coverage/j2d/ImageUtilitiesTest.java  |  15 +
 .../main/java/org/apache/sis/math/ArrayVector.java |  52 ++
 .../org/apache/sis/math/ConcatenatedVector.java    |  13 +
 .../org/apache/sis/math/LinearlyDerivedVector.java |  31 +-
 .../java/org/apache/sis/math/PackedVector.java     |   2 +-
 .../src/main/java/org/apache/sis/math/Vector.java  |  16 +
 .../main/java/org/apache/sis/util/ArraysExt.java   |  18 -
 .../test/java/org/apache/sis/math/VectorTest.java  |  12 +-
 .../org/apache/sis/internal/geotiff/Resources.java |  15 +
 .../sis/internal/geotiff/Resources.properties      |   3 +
 .../sis/internal/geotiff/Resources_fr.properties   |   3 +
 .../org/apache/sis/storage/geotiff/CRSBuilder.java |   8 +-
 .../org/apache/sis/storage/geotiff/DataCube.java   | 151 ++++
 .../org/apache/sis/storage/geotiff/DataSubset.java | 297 ++++++++
 .../org/apache/sis/storage/geotiff/GeoTIFF.java    |  10 +-
 .../apache/sis/storage/geotiff/GeoTiffStore.java   |  11 +
 .../sis/storage/geotiff/GridGeometryBuilder.java   |   7 +-
 .../sis/storage/geotiff/ImageFileDirectory.java    | 395 +++++++++--
 .../org/apache/sis/storage/geotiff/Reader.java     |  16 +-
 .../apache/sis/internal/netcdf/RasterResource.java |   2 +-
 .../sis/internal/storage/AbstractGridResource.java |  18 +-
 .../sis/internal/storage/MemoryGridResource.java   |  29 +-
 .../org/apache/sis/internal/storage/Resources.java |   5 +
 .../sis/internal/storage/Resources.properties      |   1 +
 .../sis/internal/storage/Resources_fr.properties   |   1 +
 .../sis/internal/storage/TiledGridCoverage.java    | 678 ++++++++++++++++++
 .../sis/internal/storage/TiledGridResource.java    | 199 ++++++
 .../sis/internal/storage/io/ChannelDataInput.java  |   9 +-
 .../sis/internal/storage/io/DataTransfer.java      |   7 +-
 .../internal/storage/io/HyperRectangleReader.java  |  36 +-
 .../internal/storage/io/MemoryDataTransfer.java    |   3 +-
 .../org/apache/sis/internal/storage/io/Region.java |  23 +-
 .../sis/internal/storage/query/CoverageQuery.java  |  21 +-
 .../sis/internal/storage/query/CoverageSubset.java |  48 +-
 .../sis/test/storage/CoverageReadConsistency.java  | 301 ++++++++
 .../apache/sis/test/storage/SubsampledImage.java   | 247 +++++++
 .../org/apache/sis/test/storage}/package-info.java |  15 +-
 54 files changed, 3486 insertions(+), 481 deletions(-)
 create mode 100644 core/sis-feature/src/main/java/org/apache/sis/coverage/grid/GridClippingMode.java
 create mode 100644 storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/DataCube.java
 create mode 100644 storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/DataSubset.java
 create mode 100644 storage/sis-storage/src/main/java/org/apache/sis/internal/storage/TiledGridCoverage.java
 create mode 100644 storage/sis-storage/src/main/java/org/apache/sis/internal/storage/TiledGridResource.java
 create mode 100644 storage/sis-storage/src/test/java/org/apache/sis/test/storage/CoverageReadConsistency.java
 create mode 100644 storage/sis-storage/src/test/java/org/apache/sis/test/storage/SubsampledImage.java
 copy {application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control => storage/sis-storage/src/test/java/org/apache/sis/test/storage}/package-info.java
(55%)

Mime
View raw message