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 b6f2655  Dissociate the process loading data in `GridView` and 
`CoverageCanvas`. Previous version was systematically loading data in 
`GridView` (even if it was not visible) then gave the `GridCoverage` reference 
to `CoverageCanvas` in order to load data only once. This new version loads 
data independently; we will rely more on `DataStore` resource caching. This 
separation is needed because `GridView` and `CoverageCanvas` will not load the 
same data anymore after we take pyramid i [...]
     new d3560bf  Minor fixes for javadoc, formatting and state of immutable 
object.
     new 9a928b7  Allow `GridDerivation.subgrid(GridGeometry)` to work when the 
query contains only a "grid to CRS" transform, without envelope or grid extent.
     new f039368  Add an `Extents.union(…)` method and modify implementations 
of `intersection` methods for sharing code.
     new 348c8c8  Add a `CoverageCanvas.resourceProperty` in replacement of 
previous WeakReference to resource "originator". Add 
`MultiResolutionCoverageLoader` class for loading `GridCoverage` from a 
resource at different resolution. Together, those changes allow 
`CoverageCanvas` to use data loaded at a pyramid level determined from the zoom 
level.
     new 52cff9a  Move `RenderingData` to the portrayal module without the 
pseudo-styling part. It will allows the reuse of this rendering code for 
targets other than JavaFX.

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:
 .../apache/sis/gui/coverage/CoverageCanvas.java    | 326 ++++++++++-----
 .../apache/sis/gui/coverage/CoverageControls.java  |  82 ++--
 .../apache/sis/gui/coverage/CoverageExplorer.java  | 283 ++++++++-----
 .../org/apache/sis/gui/coverage/GridControls.java  |  11 +-
 .../java/org/apache/sis/gui/coverage/GridView.java |   8 +-
 .../org/apache/sis/gui/coverage/ImageRequest.java  |  77 +---
 .../gui/coverage/MultiResolutionImageLoader.java   | 156 ++++++++
 .../sis/gui/coverage/StyledRenderingData.java      | 104 +++++
 .../apache/sis/gui/coverage/ViewAndControls.java   |   3 +-
 .../java/org/apache/sis/gui/map/MapCanvas.java     |   6 +-
 .../java/org/apache/sis/gui/map/MapCanvasAWT.java  |   2 +-
 .../org/apache/sis/internal/gui/LogHandler.java    |  14 +-
 .../apache/sis/coverage/grid/GridDerivation.java   |   3 +
 .../org/apache/sis/coverage/grid/GridGeometry.java |   2 +-
 .../sis/coverage/grid/GridDerivationTest.java      |  24 +-
 .../apache/sis/metadata/iso/extent/Extents.java    |  83 ++--
 .../coverage/MultiResolutionCoverageLoader.java    | 395 ++++++++++++++++++
 .../sis/internal/map}/coverage/RenderingData.java  | 442 ++++++++++++++-------
 .../sis/internal/map/coverage}/package-info.java   |   9 +-
 .../MultiResolutionCoverageLoaderTest.java         | 180 +++++++++
 .../apache/sis/test/suite/PortrayalTestSuite.java  |   5 +-
 .../sis/test/storage/CoverageReadConsistency.java  |  11 +-
 22 files changed, 1722 insertions(+), 504 deletions(-)
 create mode 100644 
application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/MultiResolutionImageLoader.java
 create mode 100644 
application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/StyledRenderingData.java
 create mode 100644 
core/sis-portrayal/src/main/java/org/apache/sis/internal/map/coverage/MultiResolutionCoverageLoader.java
 rename {application/sis-javafx/src/main/java/org/apache/sis/gui => 
core/sis-portrayal/src/main/java/org/apache/sis/internal/map}/coverage/RenderingData.java
 (58%)
 copy {application/sis-javafx/src/main/java/org/apache/sis/internal/setup => 
core/sis-portrayal/src/main/java/org/apache/sis/internal/map/coverage}/package-info.java
 (88%)
 create mode 100644 
core/sis-portrayal/src/test/java/org/apache/sis/internal/map/coverage/MultiResolutionCoverageLoaderTest.java

Reply via email to