You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2023/05/06 14:24:41 UTC

[sis] branch geoapi-3.1 updated (7d712579ff -> b486f990bc)

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 7d712579ff Merge branch 'geoapi-4.0' into geoapi-3.1. Contains parameterized type change in Filter and Expression for more type safety.
     add 7e19b7fe50 Restore contravariance on `FeatureQuery` class. This is a much smaller scope than the previous contravariance on `Filter` interface. Furthermore the addition of `getResourceClass()` in previous commit allows some type checks if needed.
     add d8bbaf214a Clarify which `Feature` instance is used for the different projection types. Other opportunistic clarifications as we tried to verify the behavior. Replace `ExpressionOperation` by `LinkOperation` when applicable.
     add f308b11bc8 Rename `ProjectionType.COMPLETING` ad `COMPUTING`.
     add 31126879d2 Retrofit `GroupAsPolylineOperation` together with all other feature operations. It required a generalization for working on attributes as well as associations.
     add 3d84f4f38a More conservative handling of nested operations in `GroupAsPolylineOperation`.
     add d6577877ca Provide a way to tell whether an expression is a volatile function. This is internal API for now; we have not yet determined where would be a public API.
     add 2bf0bc48a0 Clarify whether to inherit the intrinsic properties of a function or to inherit only the transitive properties.
     add 6ad64f5ffa Use the information about volatile function in order to determine whether to apply an optimization.
     new b486f990bc 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:
 .../org/apache/sis/feature/AbstractFeature.java    |  12 +-
 .../apache/sis/feature/DefaultAssociationRole.java |   8 +-
 .../java/org/apache/sis/feature/DenseFeature.java  |   1 +
 .../org/apache/sis/feature/EnvelopeOperation.java  |  21 +-
 .../apache/sis/feature/ExpressionOperation.java    |  67 ++++--
 .../org/apache/sis/feature/FeatureOperations.java  |  74 ++++--
 .../main/java/org/apache/sis/feature/Features.java |  39 +++-
 .../sis/feature/GroupAsPolylineOperation.java      | 250 +++++++++++++++++++++
 .../java/org/apache/sis/feature/LinkOperation.java |   2 +-
 .../org/apache/sis/feature/OperationResult.java    |  71 ++++++
 .../java/org/apache/sis/feature/SparseFeature.java |   1 +
 .../apache/sis/feature/StringJoinOperation.java    |  13 +-
 .../org/apache/sis/filter/AssociationValue.java    |  12 +
 .../org/apache/sis/filter/ConvertFunction.java     |  12 +
 .../java/org/apache/sis/filter/LeafExpression.java |  26 +++
 .../java/org/apache/sis/filter/Optimization.java   |  48 +++-
 .../java/org/apache/sis/filter/PropertyValue.java  |   1 +
 .../sis/internal/coverage/j2d/ObservableImage.java |   2 +-
 .../sis/internal/feature/FeatureExpression.java    |  15 +-
 .../apache/sis/internal/feature/Geometries.java    |  33 ---
 .../sis/internal/feature/GeometryWrapper.java      |   6 +-
 .../apache/sis/internal/feature/esri/Wrapper.java  |   4 +-
 .../sis/internal/feature/j2d/PointWrapper.java     |   2 +-
 .../apache/sis/internal/feature/j2d/Wrapper.java   |   2 +-
 .../apache/sis/internal/feature/jts/Wrapper.java   |   2 +-
 .../java/org/apache/sis/internal/filter/Node.java  |  87 +++++++
 .../apache/sis/{ => internal}/filter/XPath.java    |   8 +-
 .../apache/sis/feature/FeatureOperationsTest.java  |   2 +-
 .../sis/feature/GroupAsPolylineOperationTest.java  |  71 ++++++
 .../org/apache/sis/filter/LogicalFilterTest.java   |  26 +++
 .../test/java/org/apache/sis/filter/XPathTest.java |   1 +
 .../sis/internal/feature/GeometriesTestCase.java   |   2 +-
 .../apache/sis/test/suite/FeatureTestSuite.java    |   1 +
 .../org/apache/sis/internal/map/SEPortrayer.java   |   5 +-
 .../java/org/apache/sis/math/FunctionProperty.java |  85 ++++++-
 .../org/apache/sis/math/FunctionPropertyTest.java  |  28 ++-
 .../apache/sis/test/suite/UtilityTestSuite.java    |   3 +-
 .../java/org/apache/sis/storage/FeatureQuery.java  | 112 ++++++---
 .../java/org/apache/sis/storage/FeatureSubset.java |   6 +-
 .../org/apache/sis/storage/FeatureQueryTest.java   |   8 +-
 .../storage/gpx/GroupAsPolylineOperation.java      | 211 -----------------
 .../org/apache/sis/internal/storage/gpx/Types.java |  31 ++-
 42 files changed, 1025 insertions(+), 386 deletions(-)
 create mode 100644 core/sis-feature/src/main/java/org/apache/sis/feature/GroupAsPolylineOperation.java
 create mode 100644 core/sis-feature/src/main/java/org/apache/sis/feature/OperationResult.java
 rename core/sis-feature/src/main/java/org/apache/sis/{ => internal}/filter/XPath.java (90%)
 create mode 100644 core/sis-feature/src/test/java/org/apache/sis/feature/GroupAsPolylineOperationTest.java
 copy storage/sis-geotiff/src/test/java/org/apache/sis/storage/geotiff/TagsTest.java => core/sis-utility/src/test/java/org/apache/sis/math/FunctionPropertyTest.java (53%)
 delete mode 100644 storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/GroupAsPolylineOperation.java


[sis] 01/01: Merge branch 'geoapi-4.0' into geoapi-3.1.

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

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

commit b486f990bcf7a1d08694ba74d91320ed3fa56c9e
Merge: 7d712579ff 6ad64f5ffa
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Sat May 6 16:20:20 2023 +0200

    Merge branch 'geoapi-4.0' into geoapi-3.1.

 .../org/apache/sis/feature/AbstractFeature.java    |  12 +-
 .../apache/sis/feature/DefaultAssociationRole.java |   8 +-
 .../java/org/apache/sis/feature/DenseFeature.java  |   1 +
 .../org/apache/sis/feature/EnvelopeOperation.java  |  21 +-
 .../apache/sis/feature/ExpressionOperation.java    |  67 ++++--
 .../org/apache/sis/feature/FeatureOperations.java  |  74 ++++--
 .../main/java/org/apache/sis/feature/Features.java |  39 +++-
 .../sis/feature/GroupAsPolylineOperation.java      | 250 +++++++++++++++++++++
 .../java/org/apache/sis/feature/LinkOperation.java |   2 +-
 .../org/apache/sis/feature/OperationResult.java    |  71 ++++++
 .../java/org/apache/sis/feature/SparseFeature.java |   1 +
 .../apache/sis/feature/StringJoinOperation.java    |  13 +-
 .../org/apache/sis/filter/AssociationValue.java    |  12 +
 .../org/apache/sis/filter/ConvertFunction.java     |  12 +
 .../java/org/apache/sis/filter/LeafExpression.java |  26 +++
 .../java/org/apache/sis/filter/Optimization.java   |  48 +++-
 .../java/org/apache/sis/filter/PropertyValue.java  |   1 +
 .../sis/internal/coverage/j2d/ObservableImage.java |   2 +-
 .../sis/internal/feature/FeatureExpression.java    |  15 +-
 .../apache/sis/internal/feature/Geometries.java    |  33 ---
 .../sis/internal/feature/GeometryWrapper.java      |   6 +-
 .../apache/sis/internal/feature/esri/Wrapper.java  |   4 +-
 .../sis/internal/feature/j2d/PointWrapper.java     |   2 +-
 .../apache/sis/internal/feature/j2d/Wrapper.java   |   2 +-
 .../apache/sis/internal/feature/jts/Wrapper.java   |   2 +-
 .../java/org/apache/sis/internal/filter/Node.java  |  87 +++++++
 .../apache/sis/{ => internal}/filter/XPath.java    |   8 +-
 .../apache/sis/feature/FeatureOperationsTest.java  |   2 +-
 .../sis/feature/GroupAsPolylineOperationTest.java  |  71 ++++++
 .../org/apache/sis/filter/LogicalFilterTest.java   |  26 +++
 .../test/java/org/apache/sis/filter/XPathTest.java |   1 +
 .../sis/internal/feature/GeometriesTestCase.java   |   2 +-
 .../apache/sis/test/suite/FeatureTestSuite.java    |   1 +
 .../org/apache/sis/internal/map/SEPortrayer.java   |   5 +-
 .../java/org/apache/sis/math/FunctionProperty.java |  85 ++++++-
 .../org/apache/sis/math/FunctionPropertyTest.java} |  30 ++-
 .../apache/sis/test/suite/UtilityTestSuite.java    |   3 +-
 .../java/org/apache/sis/storage/FeatureQuery.java  | 112 ++++++---
 .../java/org/apache/sis/storage/FeatureSubset.java |   6 +-
 .../org/apache/sis/storage/FeatureQueryTest.java   |   8 +-
 .../storage/gpx/GroupAsPolylineOperation.java      | 211 -----------------
 .../org/apache/sis/internal/storage/gpx/Types.java |  31 ++-
 42 files changed, 1027 insertions(+), 386 deletions(-)