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 (d33c28c -> f2701ff)
Date Thu, 07 Jan 2021 18:08:29 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 d33c28c  Move part of `CategoryColorCell` into a new `ColorCell` base class. The
intent is to share this code with other kinds of color tables, to be created later for isolines.
     new da676c5  Move remaining code from `CategoryColorsCell` into `ColorCell` for sharing
(in a future commit) with isoline table. The methods that were previously overridden in `CategoryColorsCell`
class are now overridden in `ColorColumnHandler`. Cell behavior has been reworked for reducing
the amount of mouse clicks and for enabling keyboard usage.
     new 34f7b23  Let `Polyline` computes the bounds itself.
     new e9ea08a  Fix an `IndexOutOfBoundsException` when CRS has more dimensions than the
dimensions for which a precision has been specified.
     new f2701ff  Support the case where one of the CRS axes in a netCDF file is a scalar
(number of dimensions = 0). In such case, the scale factor does not exist in the "gridToCRS"
matrix; we have only a translation term. In other words, there is no corresponding source
coordinate, only a target coordinate which is constant. Some netCDF files use scalar for specifying
for example that all values are located at a height of 2 metres.

The 4 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/gui/coverage/CategoryColorsCell.java       | 220 -----------
 .../apache/sis/gui/coverage/CoverageControls.java  |   2 +-
 .../apache/sis/gui/coverage/CoverageStyling.java   |  85 ++++-
 .../sis/internal/gui/ImmutableObjectProperty.java  |   5 +-
 .../apache/sis/internal/gui/control/ColorCell.java | 421 +++++++++++++--------
 .../internal/gui/control/ColorColumnHandler.java   | 124 ++++++
 .../gui/control/ColorRamp.java}                    | 131 ++++---
 .../sis/gui/coverage/CoverageStylingApp.java       |   6 +-
 .../apache/sis/internal/feature/j2d/FlatShape.java |  22 ++
 .../sis/internal/feature/j2d/PathBuilder.java      |  20 +-
 .../apache/sis/internal/feature/j2d/Polygon.java   |   7 +-
 .../apache/sis/internal/feature/j2d/Polyline.java  |  14 +-
 .../sis/internal/feature/j2d/FlatShapeTest.java    |   9 +-
 .../org/apache/sis/geometry/CoordinateFormat.java  |   2 +-
 .../java/org/apache/sis/internal/netcdf/Axis.java  |  12 +-
 .../java/org/apache/sis/internal/netcdf/Grid.java  |  24 ++
 .../sis/internal/netcdf/ucar/GridWrapper.java      |  10 +-
 17 files changed, 608 insertions(+), 506 deletions(-)
 delete mode 100644 application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CategoryColorsCell.java
 create mode 100644 application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorColumnHandler.java
 rename application/sis-javafx/src/main/java/org/apache/sis/{gui/coverage/CategoryColors.java
=> internal/gui/control/ColorRamp.java} (55%)


Mime
View raw message