This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a change to branch geoapi-3.1
in repository https://gitbox.apache.org/repos/asf/sis.git.
from b818b0e Merge branch 'geoapi-4.0' into geoapi-3.1
add c01aadc Documentation fixes.
add 0d35997 Initial support of Area Of Interest (AOI) crossing
anti-meridian in call to GridDerivation.subgrid(…).
add 695c27f Envelopes.findOperation(…) should be robust to the case where
the geographic bounding box contains only NaN values. If we fail to compute a
geographic bounding box, try to be more accurate on the method name in the
logging message. When converting an envelope to a geographic bounding box,
preserve better the box when it crosses anti-meridian.
add 0ca59eb Add a convenience method for declaring the domain of validity
of a CRS to be built.
add 678c3d3 Better handling of NaN values when computing the area of
interest of a coordinate operation between two CRS.
add 009819e MathTransform2D.transform(Shape) now throws an exception if
the transform result in NaN of infinite coordinates. We do not allow such
coordinates because accepting NaN here results in failures later anyway, when
using some Java2D objects like java.awt.geom.Area.
add 577ec58 Fix links to http://www.epsg.org/TermsOfUse.aspx
add a770c7f Make GridDerivation.subgrid(Envelope, …) more robust to
"wraparound" axes. For example requesting [-20 … 30]° of longitude on an image
spaning [0 … 360]° of longitude.
add 95f8657 Coordinate axis in netCDF files shall take in account the
"scale_factor" and "add_offset" attributes.
add b47d01b Documentation cleaning and adjustement in minor logging
messages.
add bc58b81 Better selection of axis with fatest increasing values.
add f7788b2 Add some tests.
add c468907 Documentation updates and upgrade some dependencies.
add 2b41224 Improve accuracy of temporal position to date/instant
conversions and add tests.
add 0218c71 Take in account the case where the temporal origin of a
dataset has fractional seconds.
add 6ec2776 Replace some !isInfinite(x) && !isNaN(x) pairs by isFinite(x).
add 88aa2b2 Rename a the localization keys of a few error messages.
add 4e26b79 Consolidation of error messages related to duplicated values
or key collision. Addition of an ArgumentChecks.ensureNonEmpty(…) method which
also check against duplicated values.
add 141af47 Tests against some integer overflows.
add f17de4b First draft of the use of linearizers in
LinearTransformBuilder. https://issues.apache.org/jira/browse/SIS-446
add 87f6141 Rename ArraysExt.sequence(…) as ArraysExt.range(…) and modify
its semantic for consistency with IntStream.range(…).
add e7de3e0 Share the CONTINUATION_MARK and CONTINUATION_END characters.
add fd7b9d7 Allow LocalizationGridBuilder to use the "linearizers"
functionality added in LinearTransformBuilder.
add dcbec9b Statistics on LocalizationGridBuilder should include the
inverse transformations.
add 45ab473 Change the label in the statistics shown by
LocalizationGridBuilder, making clearer that they are about errors.
add 789880f Relax tolerance threshold if InterpolatedTransform does not
converge.
add aca9be6 The non-linear transform concatenated by
LocalizationGridBuilder needs to take in account axis swapping.
add fdedea8 Provide information about the parent of a variable. This
information is useful for customized implementations of Convention.
add c70d212 Invocation of GridDerivation.rescale needs to use the inverse
of the scale factor defined in "resampling_interval" attribute.
new d416de4 Merge branch 'geoapi-4.0' into 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:
NOTICE | 2 +-
.../sis-openoffice/src/main/unopkg/license.txt | 2 +-
.../org/apache/sis/internal/doclet/Rewriter.java | 5 +-
.../org/apache/sis/feature/NamedFeatureType.java | 3 +-
.../internal/metadata/LegacyPropertyAdapter.java | 4 +-
.../sis/internal/metadata/ReferencingServices.java | 16 +-
.../apache/sis/internal/simple/SimpleCitation.java | 3 +-
.../apache/sis/internal/simple/SimpleFormat.java | 3 +-
.../apache/sis/io/wkt/GeodeticObjectParser.java | 3 +-
.../apache/sis/metadata/iso/DefaultMetadata.java | 4 +-
.../sis/metadata/iso/extent/DefaultExtent.java | 4 +-
.../iso/extent/DefaultGeographicBoundingBox.java | 2 +-
.../metadata/iso/identification/OperationName.java | 3 +-
.../sis/metadata/iso/quality/AbstractElement.java | 2 +-
.../apache/sis/util/iso/DefaultRecordSchema.java | 3 +-
.../main/java/org/apache/sis/util/iso/Types.java | 2 +-
.../src/main/java/org/apache/sis/xml/Pooled.java | 3 +-
.../apache/sis/coverage/grid/GridDerivation.java | 35 +-
.../org/apache/sis/coverage/grid/GridExtent.java | 11 +-
.../org/apache/sis/coverage/grid/GridGeometry.java | 1 +
.../apache/sis/internal/raster/RasterFactory.java | 2 +-
.../sis/coverage/grid/GridDerivationTest.java | 84 +++-
.../org/apache/sis/image/DefaultIteratorTest.java | 2 +-
.../java/org/apache/sis/image/TiledImageMock.java | 2 +-
.../org/apache/sis/geometry/EnvelopeReducer.java | 18 +-
.../java/org/apache/sis/geometry/Envelopes.java | 12 +-
.../org/apache/sis/geometry/GeneralEnvelope.java | 4 +-
.../java/org/apache/sis/geometry/Shapes2D.java | 2 +-
.../sis/internal/referencing/ExtentSelector.java | 2 +-
.../referencing/GeodeticObjectBuilder.java | 34 ++
.../internal/referencing/ReferencingUtilities.java | 215 +++++++++
.../apache/sis/internal/referencing/Resources.java | 10 +
.../sis/internal/referencing/Resources.properties | 2 +
.../internal/referencing/Resources_fr.properties | 2 +
.../internal/referencing/ServicesForMetadata.java | 98 ++--
.../referencing/provider/MapProjection.java | 2 +-
.../sis/internal/referencing/provider/NTv2.java | 2 +-
.../org/apache/sis/parameter/TensorParameters.java | 11 +-
.../sis/parameter/UninitializedParameter.java | 3 +-
.../sis/referencing/crs/DefaultTemporalCRS.java | 120 +++--
.../factory/sql/InstallationScriptProvider.java | 4 +-
.../apache/sis/referencing/operation/CRSPair.java | 3 +-
.../operation/CoordinateOperationContext.java | 38 +-
.../operation/CoordinateOperationSorter.java | 2 +-
.../operation/builder/LinearTransformBuilder.java | 514 +++++++++++++++++----
.../operation/builder/LocalizationGridBuilder.java | 366 ++++++++++++---
.../operation/builder/ProjectedTransformTry.java | 359 ++++++++++++++
.../operation/builder/TransformBuilder.java | 6 +
.../sis/referencing/operation/matrix/Solver.java | 2 +-
.../operation/transform/AbstractMathTransform.java | 2 +-
.../transform/AbstractMathTransform2D.java | 24 +-
.../operation/transform/InterpolatedTransform.java | 26 +-
.../operation/transform/PassThroughTransform.java | 2 +-
.../operation/transform/TransformSeparator.java | 8 +-
.../referencing/ReferencingUtilitiesTest.java | 113 ++++-
.../referencing/ServicesForMetadataTest.java | 6 +-
.../referencing/crs/DefaultTemporalCRSTest.java | 55 ++-
.../factory/sql/epsg/DataScriptFormatter.java | 2 +-
.../sis/referencing/factory/sql/epsg/package.html | 2 +-
.../builder/LinearTransformBuilderTest.java | 37 +-
.../operation/builder/NonLinearTransform.java} | 41 +-
.../projection/MapProjectionTestCase.java | 2 +-
.../sis/internal/util/StandardDateFormat.java | 9 +-
.../java/org/apache/sis/internal/util/Strings.java | 38 +-
.../main/java/org/apache/sis/math/ArrayVector.java | 16 +-
.../org/apache/sis/math/ConcatenatedVector.java | 13 +-
.../main/java/org/apache/sis/math/Fraction.java | 7 +-
.../org/apache/sis/math/LinearlyDerivedVector.java | 331 +++++++++++++
.../src/main/java/org/apache/sis/math/Plane.java | 4 +
.../java/org/apache/sis/math/SequenceVector.java | 22 +-
.../src/main/java/org/apache/sis/math/Vector.java | 120 +++--
.../java/org/apache/sis/measure/AbstractUnit.java | 3 +
.../java/org/apache/sis/measure/UnitFormat.java | 3 +
.../src/main/java/org/apache/sis/setup/About.java | 12 +-
.../apache/sis/setup/InstallationResources.java | 4 +-
.../java/org/apache/sis/util/ArgumentChecks.java | 88 +++-
.../main/java/org/apache/sis/util/ArraysExt.java | 90 +++-
.../src/main/java/org/apache/sis/util/Version.java | 5 +-
.../sis/util/collection/DefaultTreeTable.java | 5 +-
.../sis/util/collection/TreeTableFormat.java | 4 +-
.../java/org/apache/sis/util/logging/Logging.java | 23 +-
.../apache/sis/util/logging/MonolineFormatter.java | 19 +-
.../java/org/apache/sis/util/resources/Errors.java | 43 +-
.../apache/sis/util/resources/Errors.properties | 19 +-
.../apache/sis/util/resources/Errors_fr.properties | 25 +-
.../org/apache/sis/util/resources/Vocabulary.java | 20 +
.../sis/util/resources/Vocabulary.properties | 4 +
.../sis/util/resources/Vocabulary_fr.properties | 4 +
.../org/apache/sis/internal/util/CitationMock.java | 2 +-
.../apache/sis/math/LinearlyDerivedVectorTest.java | 82 ++++
.../apache/sis/test/suite/UtilityTestSuite.java | 1 +
.../org/apache/sis/util/ArgumentChecksTest.java | 16 +-
.../java/org/apache/sis/util/ArraysExtTest.java | 13 +
.../sis/util/logging/MonolineFormatterTest.java | 5 +-
ide-project/NetBeans/nbproject/genfiles.properties | 2 +-
ide-project/NetBeans/nbproject/project.xml | 3 +
pom.xml | 26 +-
.../org/apache/sis/storage/gdal/Proj4Parser.java | 2 +-
.../java/org/apache/sis/internal/netcdf/Axis.java | 71 ++-
.../org/apache/sis/internal/netcdf/CRSBuilder.java | 2 +-
.../apache/sis/internal/netcdf/NamedElement.java | 13 +-
.../org/apache/sis/internal/netcdf/Resources.java | 5 +
.../sis/internal/netcdf/Resources.properties | 1 +
.../sis/internal/netcdf/Resources_fr.properties | 1 +
.../org/apache/sis/internal/netcdf/Variable.java | 19 +-
.../org/apache/sis/internal/netcdf/ucar/Utils.java | 3 +-
.../sis/internal/netcdf/ucar/VariableWrapper.java | 11 +
.../apache/sis/storage/netcdf/AttributeNames.java | 3 +-
.../sis/internal/storage/AbstractGridResource.java | 2 +-
109 files changed, 2993 insertions(+), 573 deletions(-)
create mode 100644
core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/ProjectedTransformTry.java
copy
core/{sis-feature/src/test/java/org/apache/sis/internal/feature/Java2DTest.java
=>
sis-referencing/src/test/java/org/apache/sis/referencing/operation/builder/NonLinearTransform.java}
(54%)
create mode 100644
core/sis-utility/src/main/java/org/apache/sis/math/LinearlyDerivedVector.java
create mode 100644
core/sis-utility/src/test/java/org/apache/sis/math/LinearlyDerivedVectorTest.java