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 410b3a1f6a Merge branch 'geoapi-3.1': remove contravariance in filters and expressions. https://issues.apache.org/jira/browse/SIS-578 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. add b486f990bc Merge branch 'geoapi-4.0' into geoapi-3.1. new b98a31fa9b 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: .../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 | 20 +- .../apache/sis/feature/ExpressionOperation.java | 66 +++++- .../org/apache/sis/feature/FeatureOperations.java | 74 +++++-- .../main/java/org/apache/sis/feature/Features.java | 39 +++- .../sis/feature/GroupAsPolylineOperation.java | 242 +++++++++++++++++++++ .../java/org/apache/sis/feature/LinkOperation.java | 2 +- .../org/apache/sis/feature/OperationResult.java | 66 ++++++ .../java/org/apache/sis/feature/SparseFeature.java | 1 + .../apache/sis/feature/StringJoinOperation.java | 12 +- .../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 | 49 ++++- .../java/org/apache/sis/filter/PropertyValue.java | 1 + .../sis/internal/coverage/j2d/ObservableImage.java | 2 +- .../sis/internal/feature/FeatureExpression.java | 19 +- .../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 | 65 ++++++ .../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 + .../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 | 207 ------------------ .../org/apache/sis/internal/storage/gpx/Types.java | 31 ++- 41 files changed, 1007 insertions(+), 378 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