You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by am...@apache.org on 2019/08/05 11:59:34 UTC

[sis] branch geoapi-4.0 updated (919c2f2 -> 26efb3d)

This is an automated email from the ASF dual-hosted git repository.

amanin pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git.


    from 919c2f2  Use the same latitude difference threshold for geodesic and rhumb line distances.
     new e7a95a2  fix(NetCDF): Remove subsampling doublon when preparing grid geometry for reading.
     new 26efb3d  chore(Feature): minor fix on a javadoc sentence.

The 2 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:
 .../src/main/java/org/apache/sis/coverage/grid/GridDerivation.java      | 2 +-
 .../src/main/java/org/apache/sis/internal/netcdf/RasterResource.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[sis] 02/02: chore(Feature): minor fix on a javadoc sentence.

Posted by am...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

amanin pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 26efb3d48326326504c7dbce747fd4476b22b32a
Author: Alexis Manin <al...@gmail.com>
AuthorDate: Mon Aug 5 13:48:53 2019 +0200

    chore(Feature): minor fix on a javadoc sentence.
---
 .../src/main/java/org/apache/sis/coverage/grid/GridDerivation.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/GridDerivation.java b/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/GridDerivation.java
index 7831d6f..56c1080 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/GridDerivation.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/GridDerivation.java
@@ -336,7 +336,7 @@ public class GridDerivation {
      * Adapts the base grid for the geographic area and resolution of the given grid geometry.
      * The new grid geometry will cover the spatiotemporal region given by {@code gridOfInterest} envelope
      * (coordinate operations are applied as needed if the Coordinate Reference Systems are not the same).
-     * The the new grid geometry resolution will be integer multiples of the {@link #base} grid geometry resolution.
+     * The new grid geometry resolution will be integer multiples of the {@link #base} grid geometry resolution.
      *
      * <div class="note"><b>Usage:</b>
      * This method can be helpful for implementation of


[sis] 01/02: fix(NetCDF): Remove subsampling doublon when preparing grid geometry for reading.

Posted by am...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

amanin pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit e7a95a2c215cc08d62e9f5d6d0158dc5f0d1da70
Author: Alexis Manin <al...@gmail.com>
AuthorDate: Mon Aug 5 13:47:14 2019 +0200

    fix(NetCDF): Remove subsampling doublon when preparing grid geometry for reading.
---
 .../src/main/java/org/apache/sis/internal/netcdf/RasterResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
index 908f8dc..6a7c949 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
@@ -570,7 +570,7 @@ public final class RasterResource extends AbstractGridResource implements Resour
             GridExtent areaOfInterest = targetGeometry.getIntersection();           // Pixel indices of data to read.
             int[]      subsamplings   = targetGeometry.getSubsamplings();           // Slice to read or subsampling to apply.
             int        numBuffers     = bands.length;                               // By default, one variable per band.
-            domain = targetGeometry.subsample(subsamplings).build();                // Adjust user-specified domain to data geometry.
+            domain = targetGeometry.build();                                        // Adjust user-specified domain to data geometry.
             if (bandDimension >= 0) {
                 areaOfInterest = rangeIndices.insertBandDimension(areaOfInterest, bandDimension);
                 subsamplings   = rangeIndices.insertSubsampling  (subsamplings,   bandDimension);