This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sis.git
from 09d75edb69 Merge branch 'geoapi-3.1'
add 4bce208f4d Replace "Proj.4" by "PROJ" when refering to the project. We
keep "Proj4" as the namespace for PROJ-specific parameters because those
parameters were defined before PROJ 6 provided full EPSG support.
add 06e6987fd0 First draft of a limit applied (at visualisation time) on
image reprojection. This is for preventing exceptions when rendering a world
image in Mercator. For now we check only the World Mercator projection, but
other cases should be added progressively in the future.
add 7af56f6285 Replace `ProjectionLimits` by a more reliable mechanism
defined directly in `MathTransform` implementations. For now only `Mercator`
and `TransverseMercator` defines those limit. More will be added in the future.
add c71a1d11dc Better implementation of `getDomain(…)` on inverse
transforms. Remove infinite values in Mercator.getDomain(…).
add 29beeb7358 Add `getDomain(…)` implementations for a few more map
projections (only the easiest cases).
add d41d7fa838 Make a better use of new `MathTransforms.getDomain(…)` API
in JavaFX viewer.
add 9be9ddb65a Add a safety against some invalid LZW compressions (missing
EOI code).
add 677f463a3a Improve by 20~30% the performance of LZW decompression by
avoiding to create too many small arrays.
add 04d4eee7a7 Documentation, renaming or minor reorganization. No
significant code change in this commit.
add 69f581c4ae Switch the position of offset and length in
`entriesForCodes` bit patterns. It makes easier the use of compressed offset in
next commit.
add 35b5576064 Allocate memory for new entries by blocks of 4 bytes
instead of doing an unconditional allocation for each new entry. It reduces the
amount of calls to `System.arraycopy(…)` by a factor close to 4 and also
reduces memory consumption. The performance improvement was not as expected;
this new version is even a bit slower than the one in previous commit. It is a
little bit surprising because a code block with branching, bounds checks and
copies should be executed less oft [...]
add 705de4a756 Try harder to resolve ambiguity when axis type is X, Y or Z.
add 8c09e2f76d Finish filling the buffer before to return from LSW
decompression method. Documentation fix.
add fbbd6525a8 Add a convenience method for testing if a floating-point
value is an integer.
add 7447b8c95c Replace "resample" operation by a much more efficient
"translate grid" operation when the resampling is a translation of the grid by
an integer amount of cells.
add a2b029fb19 Prevent the replacement by source coverage in a situation
where it should not be done. Report the existence of a source coverage in
`toString()` output. Clarifications in documentation.
add a55b18b3b3 Transfer of pixel data from Java2D image to JavaFX image
should be scheduled to occur just before a JavaFX pulse. It seems to resolve
the mysterious flickering effects that happened for so long.
add 021178f9d9 Avoid a stack overflow when `getDomain(…)` is invoked on a
chain of transforms which contains a `WrapAroundTransform`.
add edabd5aee9 Avoid a rounding error which caused the creation of
unnecessary concatenated transforms.
add 43debe04f2 Merge branch 'geoapi-4.0' into geoapi-3.1
new 3362ae7b9b Merge branch 'geoapi-3.1'
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:
.../java/org/apache/sis/gui/map/MapCanvasAWT.java | 26 +-
.../sis/coverage/grid/ConvertedGridCoverage.java | 62 ++--
.../sis/coverage/grid/DerivedGridCoverage.java | 146 +++++++++
.../coverage/grid/FractionalGridCoordinates.java | 4 +-
.../sis/coverage/grid/GridCoverageProcessor.java | 151 ++++++++-
.../apache/sis/coverage/grid/GridEvaluator.java | 6 +
.../org/apache/sis/coverage/grid/GridExtent.java | 10 +-
.../sis/coverage/grid/ResampledGridCoverage.java | 69 ++--
.../sis/coverage/grid/TranslatedGridCoverage.java | 127 ++++++++
.../internal/processing/image/IsolineTracer.java | 5 +-
.../coverage/grid/ResampledGridCoverageTest.java | 35 +-
.../coverage/grid/TranslatedGridCoverageTest.java | 85 +++++
.../apache/sis/test/suite/FeatureTestSuite.java | 3 +-
.../sis/metadata/iso/citation/Citations.java | 7 +-
.../apache/sis/metadata/sql/MetadataFallback.java | 10 +-
.../org/apache/sis/metadata/sql/Citations.sql | 6 +-
.../sis/metadata/iso/citation/CitationsTest.java | 2 +-
.../sis/metadata/sql/MetadataSourceTest.java | 2 +-
.../sis/internal/map/coverage/RenderingData.java | 14 +-
.../java/org/apache/sis/geometry/Shapes2D.java | 22 +-
.../internal/referencing/WraparoundApplicator.java | 27 +-
.../main/java/org/apache/sis/referencing/CRS.java | 2 +-
.../sis/referencing/operation/matrix/Matrices.java | 4 +-
.../projection/LambertConicConformal.java | 21 +-
.../referencing/operation/projection/Mercator.java | 17 +
.../operation/projection/NormalizedProjection.java | 6 +-
.../operation/projection/PolarStereographic.java | 19 +-
.../operation/projection/TransverseMercator.java | 27 +-
.../operation/projection/ZonedGridSystem.java | 21 +-
.../operation/projection/package-info.java | 3 +-
.../operation/transform/AbstractMathTransform.java | 71 +++-
.../operation/transform/ConcatenatedTransform.java | 22 +-
.../operation/transform/DomainDefinition.java | 284 ++++++++++++++++
.../operation/transform/MathTransforms.java | 29 +-
.../operation/transform/WraparoundTransform.java | 13 +-
.../operation/projection/AlbersEqualAreaTest.java | 4 +-
.../projection/CylindricalEqualAreaTest.java | 2 +-
.../operation/projection/SinusoidalTest.java | 4 +-
.../operation/transform/DomainDefinitionTest.java | 52 +++
.../operation/transform/PseudoTransform.java | 67 +++-
.../sis/test/integration/ConsistencyTest.java | 4 +-
.../sis/test/suite/ReferencingTestSuite.java | 3 +-
.../org/apache/sis/internal/util/Constants.java | 2 +
.../org/apache/sis/internal/util/Numerics.java | 19 +-
.../org/apache/sis/math/LinearlyDerivedVector.java | 3 +-
.../src/main/java/org/apache/sis/math/Vector.java | 4 +-
.../apache/sis/internal/storage/inflater/LZW.java | 360 ++++++++++++++++-----
.../org/apache/sis/internal/netcdf/AxisType.java | 48 ++-
.../org/apache/sis/internal/netcdf/Variable.java | 5 +
.../storage/io/ChannelImageInputStream.java | 2 +-
50 files changed, 1698 insertions(+), 239 deletions(-)
create mode 100644
core/sis-feature/src/main/java/org/apache/sis/coverage/grid/DerivedGridCoverage.java
create mode 100644
core/sis-feature/src/main/java/org/apache/sis/coverage/grid/TranslatedGridCoverage.java
create mode 100644
core/sis-feature/src/test/java/org/apache/sis/coverage/grid/TranslatedGridCoverageTest.java
create mode 100644
core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DomainDefinition.java
create mode 100644
core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/DomainDefinitionTest.java