[sis] 02/02: Set version number to 1.2.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 8491f5f027bb8a64ea01e5e83699d4055dc0a976
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 17:26:15 2022 +0200

Set version number to 1.2.
---
 application/pom.xml|  2 +-
 application/sis-console/pom.xml|  2 +-
 application/sis-console/src/main/artifact/bin/sis  |  2 +-
 application/sis-javafx/pom.xml |  2 +-
 application/sis-javafx/src/main/artifact/bin/sisfx |  2 +-
 .../sis-javafx/src/main/artifact/bin/sisfx.bat |  2 +-
 application/sis-openoffice/pom.xml |  2 +-
 .../src/main/unopkg/build-instruction.html |  2 +-
 application/sis-webapp/pom.xml |  2 +-
 cloud/pom.xml  |  2 +-
 cloud/sis-cloud-aws/pom.xml|  2 +-
 core/pom.xml   |  2 +-
 core/sis-build-helper/pom.xml  |  2 +-
 .../src/main/ant/prepare-release.xml   | 44 --
 core/sis-feature/pom.xml   |  2 +-
 core/sis-metadata/pom.xml  |  2 +-
 core/sis-portrayal/pom.xml |  2 +-
 core/sis-referencing-by-identifiers/pom.xml|  2 +-
 core/sis-referencing/pom.xml   |  2 +-
 .../sis/referencing/factory/sql/epsg/package.html  |  2 +-
 core/sis-utility/pom.xml   |  2 +-
 .../src/main/java/org/apache/sis/util/Version.java |  2 +-
 pom.xml| 22 +--
 profiles/pom.xml   |  2 +-
 profiles/sis-french-profile/pom.xml|  2 +-
 profiles/sis-japan-profile/pom.xml |  2 +-
 storage/pom.xml|  2 +-
 storage/sis-earth-observation/pom.xml  |  2 +-
 storage/sis-geotiff/pom.xml|  2 +-
 storage/sis-netcdf/pom.xml |  2 +-
 storage/sis-sqlstore/pom.xml   |  2 +-
 storage/sis-storage/pom.xml|  2 +-
 storage/sis-xmlstore/pom.xml   |  2 +-
 33 files changed, 32 insertions(+), 96 deletions(-)

diff --git a/application/pom.xml b/application/pom.xml
index 8c89a03858..fe551b2d5d 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -28,7 +28,7 @@
   
 org.apache.sis
 parent
-1.2-SNAPSHOT
+1.2
   
 
 
diff --git a/application/sis-console/pom.xml b/application/sis-console/pom.xml
index fa0b9d2229..bb4c49ea9d 100644
--- a/application/sis-console/pom.xml
+++ b/application/sis-console/pom.xml
@@ -28,7 +28,7 @@
   
 org.apache.sis
 application
-1.2-SNAPSHOT
+1.2
   
 
 
diff --git a/application/sis-console/src/main/artifact/bin/sis 
b/application/sis-console/src/main/artifact/bin/sis
index 8185731384..de625073b9 100755
--- a/application/sis-console/src/main/artifact/bin/sis
+++ b/application/sis-console/src/main/artifact/bin/sis
@@ -24,7 +24,7 @@ SIS_DATA="${SIS_DATA:-$BASE_DIR/data}"
 export SIS_DATA
 
 # Execute SIS with any optional JAR that the user may put in the 'lib' 
directory.
-java -classpath "$BASE_DIR/lib/sis-console-1.2-SNAPSHOT.jar" \
+java -classpath "$BASE_DIR/lib/sis-console-1.2.jar" \
  -Djava.util.logging.config.file="$BASE_DIR/conf/logging.properties" \
  -Dderby.stream.error.file="$BASE_DIR/log/derby.log" \
  org.apache.sis.console.Command $SIS_OPTS "$@"
diff --git a/application/sis-javafx/pom.xml b/application/sis-javafx/pom.xml
index 6b05851f58..f8a25309ac 100644
--- a/application/sis-javafx/pom.xml
+++ b/application/sis-javafx/pom.xml
@@ -28,7 +28,7 @@
   
 org.apache.sis
 application
-1.2-SNAPSHOT
+1.2
   
 
 
diff --git a/application/sis-javafx/src/main/artifact/bin/sisfx 
b/application/sis-javafx/src/main/artifact/bin/sisfx
index a6070b8bac..54328b7d45 100755
--- a/application/sis-javafx/src/main/artifact/bin/sisfx
+++ b/application/sis-javafx/src/main/artifact/bin/sisfx
@@ -38,7 +38,7 @@ fi
 java -splash:"$BASE_DIR/lib/logo.jpg" \
  --add-modules javafx.graphics,javafx.controls,javafx.web \
  --module-path "$PATH_TO_FX" \
- --class-path "$BASE_DIR/lib/sis-javafx-1.2-SNAPSHOT.jar" \
+ --class-path "$BASE_DIR/lib/sis-javafx-1.2.jar" \
  
-Djava.util.logging.config.class="org.apache.sis.internal.setup.LoggingConfiguration"
 \
  -Djava.util.logging.config.file="$BASE_DIR/conf/logging.properties" \
  -Dderby.stream.error.file="$BASE_DIR/log/derby.log" \
diff --git a/application/sis-javafx/src/main/artifact/bin/sisfx.bat 
b/application/sis-javafx/src/main/artifact/bin/sisfx.bat
index 28ce060e7a..bf4b77862d 100644
--- a/application/sis-javafx/src/main/artifact/bin/sisfx.bat
+++ b/application/sis-javafx/src/main/artifact/bin/sisfx.bat
@@ -29,7 

[sis] branch 1.2-RC created (now 8491f5f027)

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch 1.2-RC
in repository https://gitbox.apache.org/repos/asf/sis.git


  at 8491f5f027 Set version number to 1.2.

This branch includes the following new commits:

 new e09ecedb1f Remove the modules to be excluded from 1.2 release.
 new 8491f5f027 Set version number to 1.2.

The 2 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.




[sis-site] branch main updated (b0ebd1e1 -> 297b42d4)

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/sis-site.git


from b0ebd1e1 Remove links to decomissioned email archives.
 new 38f76152 Remove warning about bug in URL for downloading EPSG data and 
add a list of supported formats.
 new cd4794a3 Update the list CRS and operation methods supported by Apache 
SIS 1.2.
 new 297b42d4 Release notes for Apache SIS 1.2.

The 3 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:
 layouts/_default/baseof.html  |1 +
 layouts/partials/menu.html|1 +
 layouts/shortcodes/CSV.html   |1 +
 layouts/shortcodes/GPX.html   |1 +
 source/code-patterns.md   |   24 +-
 source/command-line.md|   22 +-
 source/formats.md |  100 +
 source/javafx.md  |   57 +-
 static/release-notes/1.1.html |2 +-
 static/release-notes/1.2.html |   67 +
 static/tables/CoordinateOperationMethods.html | 3310 -
 static/tables/CoordinateReferenceSystems.html | 1556 +++-
 12 files changed, 3764 insertions(+), 1378 deletions(-)
 create mode 100644 layouts/shortcodes/CSV.html
 create mode 100644 layouts/shortcodes/GPX.html
 create mode 100644 source/formats.md
 create mode 100644 static/release-notes/1.2.html



[sis-site] 01/03: Remove warning about bug in URL for downloading EPSG data and add a list of supported formats.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 38f76152abf38271575891a3680376a7c4748a1b
Author: Martin Desruisseaux 
AuthorDate: Sat May 7 15:47:29 2022 +0200

Remove warning about bug in URL for downloading EPSG data and add a list of 
supported formats.
---
 layouts/_default/baseof.html |   1 +
 layouts/partials/menu.html   |   1 +
 layouts/shortcodes/CSV.html  |   1 +
 layouts/shortcodes/GPX.html  |   1 +
 source/code-patterns.md  |  24 ---
 source/command-line.md   |  22 +-
 source/formats.md| 100 +++
 source/javafx.md |  57 
 8 files changed, 153 insertions(+), 54 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 740cafe6..c9c1b1b1 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -36,6 +36,7 @@
 
   Home
   Standards
+  Formats
   http://www.apache.org/licenses/;>License
   Application 
(demo)
   Downloads
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 7e844450..443b3bc7 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -24,6 +24,7 @@
 
   Online 
Javadoc
   Developer Guide
+  Supported 
formats
   Supported CRS
   Map Projections
   Code 
Patterns
diff --git a/layouts/shortcodes/CSV.html b/layouts/shortcodes/CSV.html
new file mode 100644
index ..c633a1e6
--- /dev/null
+++ b/layouts/shortcodes/CSV.html
@@ -0,0 +1 @@
+CSV
\ No newline at end of file
diff --git a/layouts/shortcodes/GPX.html b/layouts/shortcodes/GPX.html
new file mode 100644
index ..1ec7a328
--- /dev/null
+++ b/layouts/shortcodes/GPX.html
@@ -0,0 +1 @@
+GPX
\ No newline at end of file
diff --git a/source/code-patterns.md b/source/code-patterns.md
index ebe649d5..266ac9b8 100644
--- a/source/code-patterns.md
+++ b/source/code-patterns.md
@@ -8,7 +8,7 @@ This page lists some recommended code pattern for developing or 
using Apache {{%
 
 # Referencing{#referencing}
 
-Recommended code pattern when using the `sis-referencing` module.
+This section lists recommended code pattern when using the `sis-referencing` 
module.
 
 ## Never explicitely swap coordinates for axis order{#axisOrder}
 
@@ -21,9 +21,9 @@ Instead of patching the coordinate values, try to make sure 
that the _Source CRS
 and the _Target CRS_ (the coordinate space where to perform the work) are 
properly defined,
 and let the referencing engine performs the conversion from the source to the 
target {{% CRS %}}.
 
-# Coverages{#coverage}
+# Rasters and coverages{#coverage}
 
-Recommended code pattern when using the `sis-coverage` module.
+This section lists recommended code pattern when using the `sis-coverage` 
module.
 
 ## Georeference images with affine transforms, _not_ bounding boxes
{#gridToCRS}
 
@@ -34,9 +34,18 @@ All images in SIS shall be georeferenced by at least an 
affine transform (more c
 never by a rectangle or bounding box.
 In the two-dimensional case, the standard `java.awt.geom.Affine­Transform` 
class can be used.
 
+## Do not cast `Raster` to `WritableRaster`
+
+Some images are writable. But modifying pixel values should be done by 
invoking the
+`getWritableTile(…)` and `releaseWritableTile(…)` methods of 
`WritableRenderedImage` interface.
+Do not cast directly a `Raster` to `WritableRaster` even when the cast is safe,
+because some raster data may be shared by many tiles having identical content.
+Furthermore changes in pixel values may be lost if {@code 
releaseWritableTile(…)} is not invoked.
+
+
 # International{#international}
 
-Recommended code pattern for internationalization.
+This section lists recommended code pattern for internationalization.
 
 ## Specify timezone{#timezone}
 
@@ -77,8 +86,11 @@ for (int i=0; ihttp://sis.apache.org/apidocs/org/apache/sis/util/logging/LoggerFactory.html).
+Apache {{% SIS %}} uses the `java.util.logging` framework.
+It does not necessarily means that all SIS users are forced to use this 
framework,
+as it is possible to use `java.util.logging` as an API and have logging 
redirected to another system.
+For example the logging can be redirect to SLF4J by adding the `jul-to-slf4j` 
dependency to a project.
+
 The logger names are usually the package name of the class emitting log 
messages, but not necessarily.
 In particular, we do not follow this convention if the class is located in an 
internal package
 (`org.apache.sis.internal.*`) since those packages are considered privates.
diff --git a/source/command-line.md b/source/command-line.md
index 3c35568f..33b5203c 100644
--- a/source/command-line.md
+++ b/source/command-line.md
@@ -144,30 +144,10 @@ sis crs EPSG:6676
 
 
 The first time that a command 

[sis-site] 03/03: Release notes for Apache SIS 1.2.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 297b42d4cb1ed4a5dc8e4c7519c21b91658e1307
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 16:45:32 2022 +0200

Release notes for Apache SIS 1.2.
---
 static/release-notes/1.1.html |  2 +-
 static/release-notes/1.2.html | 67 +++
 2 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/static/release-notes/1.1.html b/static/release-notes/1.1.html
index 874a4cf5..19013e4c 100644
--- a/static/release-notes/1.1.html
+++ b/static/release-notes/1.1.html
@@ -7,7 +7,7 @@
   
 
   Previous release
-  Next release
+  Next release
 
 SIS 1.1 Release notes
 
diff --git a/static/release-notes/1.2.html b/static/release-notes/1.2.html
new file mode 100644
index ..2a3c6154
--- /dev/null
+++ b/static/release-notes/1.2.html
@@ -0,0 +1,67 @@
+
+
+  
+SIS 1.2 Release notes
+
+  
+  
+
+  Previous release
+  Next release
+
+SIS 1.2 Release notes
+
+Summary
+Apache SIS 1.2 can read World Files and ESRI ASCII grid and BIL/BIP/BSQ 
rasters,
+   in addition to GeoTIFF support added in SIS 1.1,
+   and in addition to netCDF support added in previous releases.
+   This release also contains various bug fixes improving the stability.
+   Some changes are listed below (non-exhaustive list):
+
+
+New features
+
+[SIS-529] - 
Provide native GeoTIFF metadata
+[SIS-541] - 
Add World File reader and writer
+[SIS-540] - 
Add an ESRI ASCII Grid reader and writer
+[SIS-543] - 
Add a BIL/BIP/BSQ data store
+[SIS-524] - 
Image masking based on a geometry
+[SIS-528] - 
Add a system monitor with visual indication of seek operations
+[SIS-533] - 
Add Rotated Latitude/Longitude coordinate operation
+[SIS-228] - 
Lambert Azimuthal Equal Area (EPSG:9820)
+[SIS-229] - 
Lambert Azimuthal Equal Area (Spherical) (EPSG:1027)
+[SIS-542] - 
Mercator auxiliary sphere
+[SIS-538] - 
Support ESRI WKT element GEOGTRAN
+[SIS-539] - 
Create a cloud group of modules, starting with AWS S3
+
+
+Improvements
+
+[SIS-300] - 
Complete the information provided in Citations constants
+[SIS-520] - 
SQLStore should avoid creating features with cyclic associations
+[SIS-514] - 
GridGeometry.subgrid(…) should accept an area of interest with less dimensions 
than the base grid
+[SIS-535] - 
Search for coordinate operations create too many CRS
+[SIS-336] - 
URL to EPSG installation instructions should be customizable
+[SIS-393] - 
Missing META-INF service declarations for authority factories
+
+
+Bug fixes
+
+[SIS-523] - 
Download of EPSG data must use https
+[SIS-527] - 
Improve stability of JavaFX application
+[SIS-519] - 
Never-ending loop in AbstractFeature.equals/hashCode
+[SIS-532] - 
NaN from unhandled case in reverse Oblique Mercator calculations
+[SIS-537] - 
Oblique Stereographic: Wrong longitude in reverse transform + suggested fix 

+[SIS-522] - 
IllegalArgumentException in GridExtent.toEnvelope(…)
+[SIS-521] - 
Malformed SQL query in SQLStore
+
+
+Tasks
+
+[SIS-525] - 
Remove AccessController usage
+[SIS-530] - 
Change Interpolation interface to an abstract class
+[SIS-531] - 
Deprecate (for removal) LoggerFactory
+
+
+  
+



[sis] 02/02: Merge branch 'geoapi-3.1' for last fixes before release.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 62d82cc8471c0b2a285d551f693ff6e6b57bd633
Merge: cb2c82a5d3 1eaa4fa82c
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 16:56:40 2022 +0200

Merge branch 'geoapi-3.1' for last fixes before release.

 .../internal/referencing/provider/NorthPoleRotation.java | 12 
 .../internal/referencing/provider/SouthPoleRotation.java | 16 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)



[sis] 01/02: Avoid javadoc links to interfaces that do not exist in GeoAPI 3.0.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit cb2c82a5d3b4795ff9bf4ba787f39a285a6083a7
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 15:35:21 2022 +0200

Avoid javadoc links to interfaces that do not exist in GeoAPI 3.0.
---
 .../src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java | 2 +-
 .../src/main/java/org/apache/sis/coverage/SampleDimension.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java
 
b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java
index 076691618e..5b2b938e5e 100644
--- 
a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java
+++ 
b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/CoverageExplorer.java
@@ -62,7 +62,7 @@ import org.apache.sis.gui.Widget;
  *
  * Limitations
  * Current implementation is restricted to {@link GridCoverage} instances, but 
a future
- * implementation may generalize to {@link org.opengis.coverage.Coverage} 
instances.
+ * implementation may generalize to {@code org.opengis.coverage.Coverage} 
instances.
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @version 1.2
diff --git 
a/core/sis-feature/src/main/java/org/apache/sis/coverage/SampleDimension.java 
b/core/sis-feature/src/main/java/org/apache/sis/coverage/SampleDimension.java
index 56b617a7c9..b3cef34c78 100644
--- 
a/core/sis-feature/src/main/java/org/apache/sis/coverage/SampleDimension.java
+++ 
b/core/sis-feature/src/main/java/org/apache/sis/coverage/SampleDimension.java
@@ -517,7 +517,7 @@ public class SampleDimension implements Serializable {
  *
  * A quantitative category is a range of sample values 
associated to numbers with units of measurement.
  * For example 10 = 1.0°C, 11 = 1.1°C, 12 = 1.2°C, etc. A 
quantitative category has a
- * {@linkplain 
org.opengis.metadata.content.SampleDimension#getTransferFunctionType() transfer 
function}
+ * transfer function
  * (typically a scale factor and an offset) for converting sample values 
to values expressed
  * in the unit of measurement.
  *



[sis] branch master updated (97a5c714de -> 62d82cc847)

2022-05-09 Thread desruisseaux
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 97a5c714de Merge branch 'geoapi-3.1'
 new cb2c82a5d3 Avoid javadoc links to interfaces that do not exist in 
GeoAPI 3.0.
 add e9bb6fad89 CQL : support date, period and duration literals
 add d2eca32ddb Set the type of "North/South Pole Rotation" operation 
method, which is `Conversion`.
 add 1eaa4fa82c Merge branch 'geoapi-4.0' into geoapi-3.1 for getting last 
fixes before release.
 new 62d82cc847 Merge branch 'geoapi-3.1' for last fixes before release.

The 2 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/gui/coverage/CoverageExplorer.java|  2 +-
 .../java/org/apache/sis/coverage/SampleDimension.java|  2 +-
 .../internal/referencing/provider/NorthPoleRotation.java | 12 
 .../internal/referencing/provider/SouthPoleRotation.java | 16 +++-
 4 files changed, 29 insertions(+), 3 deletions(-)



[sis] 01/01: Merge branch 'geoapi-4.0' into geoapi-3.1 for getting last fixes before release.

2022-05-09 Thread desruisseaux
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 1eaa4fa82c95fe62a62569aa51f26cc9927912aa
Merge: 2b32e74c22 d2eca32ddb
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 16:52:06 2022 +0200

Merge branch 'geoapi-4.0' into geoapi-3.1 for getting last fixes before 
release.

 .../main/antlr4/org/apache/sis/internal/cql/CQL.g4 |  2 +-
 .../src/main/java/org/apache/sis/cql/CQL.java  |  6 +
 .../org/apache/sis/cql/ExpressionReadingTest.java  | 29 ++
 .../referencing/provider/NorthPoleRotation.java| 12 +
 .../referencing/provider/SouthPoleRotation.java| 16 +++-
 5 files changed, 53 insertions(+), 12 deletions(-)



[sis] branch geoapi-3.1 updated (2b32e74c22 -> 1eaa4fa82c)

2022-05-09 Thread desruisseaux
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 2b32e74c22 Merge branch 'geoapi-4.0' into geoapi-3.1
 add e9bb6fad89 CQL : support date, period and duration literals
 add d2eca32ddb Set the type of "North/South Pole Rotation" operation 
method, which is `Conversion`.
 new 1eaa4fa82c Merge branch 'geoapi-4.0' into geoapi-3.1 for getting last 
fixes before release.

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:
 .../main/antlr4/org/apache/sis/internal/cql/CQL.g4 |  2 +-
 .../src/main/java/org/apache/sis/cql/CQL.java  |  6 +
 .../org/apache/sis/cql/ExpressionReadingTest.java  | 29 ++
 .../referencing/provider/NorthPoleRotation.java| 12 +
 .../referencing/provider/SouthPoleRotation.java| 16 +++-
 5 files changed, 53 insertions(+), 12 deletions(-)



[sis] branch geoapi-4.0 updated: Set the type of "North/South Pole Rotation" operation method, which is `Conversion`.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
 new d2eca32ddb Set the type of "North/South Pole Rotation" operation 
method, which is `Conversion`.
d2eca32ddb is described below

commit d2eca32ddb8b3d0c6d50c0571f0aae70f5baec77
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 16:50:47 2022 +0200

Set the type of "North/South Pole Rotation" operation method, which is 
`Conversion`.
---
 .../internal/referencing/provider/NorthPoleRotation.java | 12 
 .../internal/referencing/provider/SouthPoleRotation.java | 16 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git 
a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NorthPoleRotation.java
 
b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NorthPoleRotation.java
index a1ca56f8e8..1298e9dfa7 100644
--- 
a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NorthPoleRotation.java
+++ 
b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/NorthPoleRotation.java
@@ -21,6 +21,7 @@ import org.opengis.util.FactoryException;
 import org.opengis.parameter.ParameterValueGroup;
 import org.opengis.parameter.ParameterDescriptor;
 import org.opengis.parameter.ParameterDescriptorGroup;
+import org.opengis.referencing.operation.Conversion;
 import org.opengis.referencing.operation.MathTransform;
 import org.opengis.referencing.operation.MathTransformFactory;
 import org.apache.sis.referencing.operation.transform.PoleRotation;
@@ -40,6 +41,7 @@ import org.apache.sis.measure.Units;
  * @author  Martin Desruisseaux (Geomatys)
  * @version 1.2
  *
+ * @see SouthPoleRotation
  * @see https://cfconventions.org/cf-conventions/cf-conventions.html#_rotated_pole;>Rotated
 pole in CF-conventions
  *
  * @since 1.2
@@ -139,6 +141,16 @@ public final class NorthPoleRotation extends 
AbstractProvider {
 super(2, 2, PARAMETERS);
 }
 
+/**
+ * Returns the operation type for this map projection.
+ *
+ * @return {@code Conversion.class} or a sub-type.
+ */
+@Override
+public Class getOperationType() {
+return Conversion.class;
+}
+
 /**
  * Creates a coordinate operation from the specified group of parameter 
values.
  *
diff --git 
a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/SouthPoleRotation.java
 
b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/SouthPoleRotation.java
index bd737b566f..72452c7185 100644
--- 
a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/SouthPoleRotation.java
+++ 
b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/SouthPoleRotation.java
@@ -21,6 +21,7 @@ import org.opengis.util.FactoryException;
 import org.opengis.parameter.ParameterValueGroup;
 import org.opengis.parameter.ParameterDescriptor;
 import org.opengis.parameter.ParameterDescriptorGroup;
+import org.opengis.referencing.operation.Conversion;
 import org.opengis.referencing.operation.MathTransform;
 import org.opengis.referencing.operation.MathTransformFactory;
 import org.apache.sis.referencing.operation.transform.PoleRotation;
@@ -43,7 +44,10 @@ import org.apache.sis.measure.Units;
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @version 1.2
- * @since   1.2
+ *
+ * @see NorthPoleRotation
+ *
+ * @since 1.2
  * @module
  */
 @XmlTransient
@@ -148,6 +152,16 @@ public final class SouthPoleRotation extends 
AbstractProvider {
 super(2, 2, PARAMETERS);
 }
 
+/**
+ * Returns the operation type for this map projection.
+ *
+ * @return {@code Conversion.class} or a sub-type.
+ */
+@Override
+public Class getOperationType() {
+return Conversion.class;
+}
+
 /**
  * Creates a coordinate operation from the specified group of parameter 
values.
  *



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

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 97a5c714de8b5434e40b11de1fe7c39292b9f72f
Merge: cf19121ee4 2b32e74c22
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 15:15:03 2022 +0200

Merge branch 'geoapi-3.1'

 NOTICE | 12 ++
 README | 18 +++---
 application/sis-console/src/main/artifact/README   | 28 +++---
 application/sis-javafx/src/main/artifact/README| 10 
 cloud/pom.xml  |  2 +-
 cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml  |  0
 .../apache/sis/cloud/aws/internal/Resources.java   |  0
 .../sis/cloud/aws/internal/Resources.properties|  0
 .../sis/cloud/aws/internal/Resources_fr.properties |  0
 .../sis/cloud/aws/internal/package-info.java   |  0
 .../org/apache/sis/cloud/aws/s3/BucketStore.java   |  0
 .../apache/sis/cloud/aws/s3/CachedByteChannel.java |  0
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  0
 .../org/apache/sis/cloud/aws/s3/DerivedList.java   |  0
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  0
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  |  0
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  0
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |  0
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  0
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  0
 .../services/java.nio.file.spi.FileSystemProvider  |  0
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |  0
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |  0
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  0
 .../org/apache/sis/test/suite/AWSTestSuite.java|  0
 .../org/apache/sis/test/suite/package-info.txt |  0
 .../apache/sis/setup/OptionalInstallations.java|  2 +-
 pom.xml|  2 +-
 28 files changed, 40 insertions(+), 34 deletions(-)

diff --cc pom.xml
index 11ea4113e2,5a4e7e17e1..930831261d
--- a/pom.xml
+++ b/pom.xml
@@@ -556,9 -556,9 +556,9 @@@
  8
  8
  ${project.version}
- 1.1
+ 1.2
  17 
 -3.1-SNAPSHOT
 +3.0.1

  




[sis] branch master updated (cf19121ee4 -> 97a5c714de)

2022-05-09 Thread desruisseaux
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 cf19121ee4 Merge branch 'geoapi-3.1'
 add 3cff280029 Set  to 1.2 in anticipation for 1.2 
release. Update README and NOTICE files.
 add fda2336cee Rename `sis-cloud-S3` module as `sis-cloud-aws`.
 add 2b32e74c22 Merge branch 'geoapi-4.0' into geoapi-3.1
 new 97a5c714de 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:
 NOTICE | 12 ++
 README | 18 +++---
 application/sis-console/src/main/artifact/README   | 28 +++---
 application/sis-javafx/src/main/artifact/README| 10 
 cloud/pom.xml  |  2 +-
 cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml  |  0
 .../apache/sis/cloud/aws/internal/Resources.java   |  0
 .../sis/cloud/aws/internal/Resources.properties|  0
 .../sis/cloud/aws/internal/Resources_fr.properties |  0
 .../sis/cloud/aws/internal/package-info.java   |  0
 .../org/apache/sis/cloud/aws/s3/BucketStore.java   |  0
 .../apache/sis/cloud/aws/s3/CachedByteChannel.java |  0
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  0
 .../org/apache/sis/cloud/aws/s3/DerivedList.java   |  0
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  0
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  |  0
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  0
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |  0
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  0
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  0
 .../services/java.nio.file.spi.FileSystemProvider  |  0
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |  0
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |  0
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  0
 .../org/apache/sis/test/suite/AWSTestSuite.java|  0
 .../org/apache/sis/test/suite/package-info.txt |  0
 .../apache/sis/setup/OptionalInstallations.java|  2 +-
 pom.xml|  2 +-
 28 files changed, 40 insertions(+), 34 deletions(-)
 rename cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/ClientFileSystem.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/DerivedList.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/FileService.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/KeyPathMatcher.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/PathIterator.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/resources/META-INF/services/java.nio.file.spi.FileSystemProvider
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/ClientFileSystemTest.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathMatcherTest.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/test/suite/AWSTestSuite.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/test/suite/package-info.txt (100%)



[sis] branch geoapi-3.1 updated (c654790fde -> 2b32e74c22)

2022-05-09 Thread desruisseaux
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 c654790fde Merge branch 'geoapi-4.0' into geoapi-3.1
 add 3cff280029 Set  to 1.2 in anticipation for 1.2 
release. Update README and NOTICE files.
 add fda2336cee Rename `sis-cloud-S3` module as `sis-cloud-aws`.
 new 2b32e74c22 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 | 12 ++
 README | 18 +++---
 application/sis-console/src/main/artifact/README   | 28 +++---
 application/sis-javafx/src/main/artifact/README| 14 +--
 cloud/pom.xml  |  2 +-
 cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml  |  0
 .../apache/sis/cloud/aws/internal/Resources.java   |  0
 .../sis/cloud/aws/internal/Resources.properties|  0
 .../sis/cloud/aws/internal/Resources_fr.properties |  0
 .../sis/cloud/aws/internal/package-info.java   |  0
 .../org/apache/sis/cloud/aws/s3/BucketStore.java   |  0
 .../apache/sis/cloud/aws/s3/CachedByteChannel.java |  0
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  0
 .../org/apache/sis/cloud/aws/s3/DerivedList.java   |  0
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  0
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  |  0
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  0
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |  0
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  0
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  0
 .../services/java.nio.file.spi.FileSystemProvider  |  0
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |  0
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |  0
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  0
 .../org/apache/sis/test/suite/AWSTestSuite.java|  0
 .../org/apache/sis/test/suite/package-info.txt |  0
 .../sis/metadata/sql/MetadataWriterTest.java   |  6 ++---
 .../apache/sis/setup/OptionalInstallations.java|  2 +-
 pom.xml|  2 +-
 29 files changed, 45 insertions(+), 39 deletions(-)
 rename cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/ClientFileSystem.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/DerivedList.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/FileService.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/KeyPathMatcher.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/PathIterator.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/resources/META-INF/services/java.nio.file.spi.FileSystemProvider
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/ClientFileSystemTest.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathMatcherTest.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/test/suite/AWSTestSuite.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/test/suite/package-info.txt (100%)



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

2022-05-09 Thread desruisseaux
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 2b32e74c22061ecf0a3bed5a7208d5be5f935914
Merge: c654790fde fda2336cee
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 15:06:01 2022 +0200

Merge branch 'geoapi-4.0' into geoapi-3.1

 NOTICE | 12 ++
 README | 18 +++---
 application/sis-console/src/main/artifact/README   | 28 +++---
 application/sis-javafx/src/main/artifact/README| 14 +--
 cloud/pom.xml  |  2 +-
 cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml  |  0
 .../apache/sis/cloud/aws/internal/Resources.java   |  0
 .../sis/cloud/aws/internal/Resources.properties|  0
 .../sis/cloud/aws/internal/Resources_fr.properties |  0
 .../sis/cloud/aws/internal/package-info.java   |  0
 .../org/apache/sis/cloud/aws/s3/BucketStore.java   |  0
 .../apache/sis/cloud/aws/s3/CachedByteChannel.java |  0
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  0
 .../org/apache/sis/cloud/aws/s3/DerivedList.java   |  0
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  0
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  |  0
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  0
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |  0
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  0
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  0
 .../services/java.nio.file.spi.FileSystemProvider  |  0
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |  0
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |  0
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  0
 .../org/apache/sis/test/suite/AWSTestSuite.java|  0
 .../org/apache/sis/test/suite/package-info.txt |  0
 .../sis/metadata/sql/MetadataWriterTest.java   |  6 ++---
 .../apache/sis/setup/OptionalInstallations.java|  2 +-
 pom.xml|  2 +-
 29 files changed, 45 insertions(+), 39 deletions(-)

diff --cc pom.xml
index 11c6246f79,1ebecd20a9..5a4e7e17e1
--- a/pom.xml
+++ b/pom.xml
@@@ -556,9 -556,9 +556,9 @@@
  8
  8
  ${project.version}
- 1.1
+ 1.2
  17 
 -4.0-SNAPSHOT
 +3.1-SNAPSHOT

  




[sis] branch geoapi-4.0 updated: CQL : support date, period and duration literals

2022-05-09 Thread jsorel
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
 new e9bb6fad89 CQL : support date, period and duration literals
e9bb6fad89 is described below

commit e9bb6fad89c5dd142626621980eca1231ff6c1aa
Author: jsorel 
AuthorDate: Mon May 9 15:07:11 2022 +0200

CQL : support date, period and duration literals
---
 .../main/antlr4/org/apache/sis/internal/cql/CQL.g4 |  2 +-
 .../src/main/java/org/apache/sis/cql/CQL.java  |  6 +
 .../org/apache/sis/cql/ExpressionReadingTest.java  | 29 ++
 3 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/core/sis-cql/src/main/antlr4/org/apache/sis/internal/cql/CQL.g4 
b/core/sis-cql/src/main/antlr4/org/apache/sis/internal/cql/CQL.g4
index 62fd82f74f..c2e3fcf3b5 100644
--- a/core/sis-cql/src/main/antlr4/org/apache/sis/internal/cql/CQL.g4
+++ b/core/sis-cql/src/main/antlr4/org/apache/sis/internal/cql/CQL.g4
@@ -136,7 +136,7 @@ WITHIN  : W I T H I N ;
 
 DATE : DIGIT DIGIT DIGIT DIGIT '-' DIGIT DIGIT '-' DIGIT DIGIT 'T' DIGIT DIGIT 
':' DIGIT DIGIT ':' DIGIT DIGIT ('.' DIGIT+)? 'Z';
 DURATION_P : P (INT 'Y')? (INT 'M')? (INT 'D')? (INT 'H')? (INT 'M')? (INT 
'S')?;
-DURATION_T : T (INT 'H')? (INT 'M')? (INT 'S')?;
+DURATION_T : P T (INT 'H')? (INT 'M')? (INT 'S')?;
 
 AFTER  : A F T E R ;
 ANYINTERACTS   : A N Y I N T E R A C T S ;
diff --git a/core/sis-cql/src/main/java/org/apache/sis/cql/CQL.java 
b/core/sis-cql/src/main/java/org/apache/sis/cql/CQL.java
index 3c8a1fe02f..83cb251721 100644
--- a/core/sis-cql/src/main/java/org/apache/sis/cql/CQL.java
+++ b/core/sis-cql/src/main/java/org/apache/sis/cql/CQL.java
@@ -16,6 +16,8 @@
  */
 package org.apache.sis.cql;
 
+import java.time.Duration;
+import java.time.Period;
 import java.util.List;
 import java.util.ArrayList;
 import java.time.temporal.TemporalAccessor;
@@ -296,6 +298,10 @@ public final class CQL {
 text = text.replaceAll("'", "'");
 return ff.literal(text.substring(1, text.length() - 1));
 }
+case DURATION_P :
+return ff.literal(Period.parse(tree.getText()));
+case DURATION_T :
+return ff.literal(Duration.parse(tree.getText()));
 }
 } else if (tree instanceof ExpressionGeometryContext) {
 //: POINT ( EMPTY | coordinateSerie )
diff --git 
a/core/sis-cql/src/test/java/org/apache/sis/cql/ExpressionReadingTest.java 
b/core/sis-cql/src/test/java/org/apache/sis/cql/ExpressionReadingTest.java
index 6d3928f2a6..51012f513b 100644
--- a/core/sis-cql/src/test/java/org/apache/sis/cql/ExpressionReadingTest.java
+++ b/core/sis-cql/src/test/java/org/apache/sis/cql/ExpressionReadingTest.java
@@ -18,6 +18,11 @@ package org.apache.sis.cql;
 
 import java.time.Instant;
 import java.text.ParseException;
+import java.time.Duration;
+import java.time.Period;
+import java.time.temporal.ChronoUnit;
+import java.time.temporal.TemporalAccessor;
+import java.time.temporal.TemporalUnit;
 import org.locationtech.jts.geom.Coordinate;
 import org.locationtech.jts.geom.Geometry;
 import org.locationtech.jts.geom.GeometryCollection;
@@ -147,36 +152,40 @@ public final strictfp class ExpressionReadingTest extends 
CQLTestCase {
 }
 
 @Test
-@Ignore("Incomplete use if java.time in CQL parser.")
 public void testDate() throws CQLException, ParseException{
 //dates are expected to be formated in ISO 8601 : 
-MM-dd'T'HH:mm:ss'Z'
 final String cql = "2012-03-21T05:42:36Z";
 final Object obj = CQL.parseExpression(cql);
 assertTrue(obj instanceof Literal);
 final Literal expression = (Literal) obj;
-assertEquals(Instant.parse("2012-03-21T05:42:36Z"), 
expression.getValue());
+Object value = expression.getValue();
+assertTrue(value instanceof TemporalAccessor);
+TemporalAccessor acc = (TemporalAccessor) value;
+assertEquals(Instant.parse("2012-03-21T05:42:36Z"), Instant.from(acc));
 }
 
 @Test
-@Ignore("Unreconized expression.")
 public void testDuration() throws CQLException, ParseException{
-final String cql = "P7Y6M5D4H3M2S";
+final String cql = "P7Y6M5D";
 final Object obj = CQL.parseExpression(cql);
 assertTrue(obj instanceof Literal);
 final Literal expression = (Literal) obj;
-final long duration = (Long) expression.getValue();
-assertEquals(236966582000l, duration);
+assertTrue(expression.getValue() instanceof Period);
+final Period period = (Period) expression.getValue();
+assertEquals(7, period.getYears());
+assertEquals(6, period.getMonths());
+assertEquals(5, period.getDays());
 }
 
 @Test
-@Ignore("Unreconized 

[sis] 01/02: Set to 1.2 in anticipation for 1.2 release. Update README and NOTICE files.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 3cff280029bf7e1b53ec0d2a78c5fc7b139660f8
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 14:59:42 2022 +0200

Set  to 1.2 in anticipation for 1.2 release.
Update README and NOTICE files.
---
 NOTICE | 12 ++
 README | 18 +++---
 application/sis-console/src/main/artifact/README   | 28 +++---
 application/sis-javafx/src/main/artifact/README| 14 +--
 .../sis/metadata/sql/MetadataWriterTest.java   |  6 ++---
 .../apache/sis/setup/OptionalInstallations.java|  2 +-
 pom.xml|  2 +-
 7 files changed, 44 insertions(+), 38 deletions(-)

diff --git a/NOTICE b/NOTICE
index 5209376c3e..ef42142e7e 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,8 +1,8 @@
 Apache Spatial Information System (SIS)
-Copyright 2010-2021 The Apache Software Foundation
+Copyright 2010-2022 The Apache Software Foundation
 
 This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
+The Apache Software Foundation (https://www.apache.org/).
 
 The Javadoc contains documentation from the Open Geospatial Consortium
 (OGC®) specifications (https://www.ogc.org/standards/), also known as OpenGIS.
@@ -22,15 +22,19 @@ http://math.nist.gov/javanumerics/jama/
 
 The `sis-feature` module can optionally use the Esri Geometry API
 developed by ESRI under Apache license 2.
-http://github.com/Esri/geometry-api-java/
+https://github.com/Esri/geometry-api-java/
 
 The `sis-netcdf` module can optionally use the UCAR netCDF library
 developed by Unidata under MIT-style license.
 https://www.unidata.ucar.edu/software/netcdf-java/
 
+The `sis-cloud-aws` module depends on the Amazon SDK library
+developed by Amazon under Apache 2 license.
+https://aws.amazon.com/sdk-for-java/
+
 The test suite uses software developed by the JUnit community
 under Eclipse public license version 2.
-http://junit.org/junit4/
+https://junit.org/junit4/
 
 
 -
diff --git a/README b/README
index 326b7f2585..d6ece2ee62 100644
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
-=
-Welcome to Apache SIS 
-=
+==
+Welcome to Apache SIS 
+==
 
 SIS is a Java language library for developing geospatial applications.
 The library is an implementation of GeoAPI 3.0.1 interfaces and can be used
@@ -15,7 +15,7 @@ of coordinates between different reference systems. The SIS 
storage modules
 provide a common approach to the reading and writing of metadata, features and
 coverages applicable to simple imagery as to many dimensional data structures.
 
-SIS is a project of the Apache Software Foundation .
+SIS is a project of the Apache Software Foundation .
 
 Apache SIS, SIS, Apache, the Apache feather logo, and the Apache SIS
 project logo are trademarks of The Apache Software Foundation.
@@ -24,20 +24,22 @@ project logo are trademarks of The Apache Software 
Foundation.
 Getting Started
 ===
 
-Running Apache SIS requires Java 8 or higher. Building SIS requires Java 17
-or higher together with Maven 3  build system.
+Running the library part of Apache SIS requires Java 8 or higher.
+Running the JavaFX application part requires Java 16 or higher.
+Building SIS requires Java 17 or higher
+together with Maven 3  build system.
 To build SIS, use the following command in this directory:
 
 mvn install
 
 Information for running a command-line tool can be found on the web site:
-()
+()
 
 
 License (see also LICENSE)
 ==
 
-Collective work: Copyright 2010-2021 The Apache Software Foundation.
+Collective work: Copyright 2010-2022 The Apache Software Foundation.
 
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
diff --git a/application/sis-console/src/main/artifact/README 
b/application/sis-console/src/main/artifact/README
index bb742ef0e6..c4b05633b3 100644
--- a/application/sis-console/src/main/artifact/README
+++ b/application/sis-console/src/main/artifact/README
@@ -1,8 +1,8 @@
-=
-Welcome to Apache SIS 
-=
+==
+Welcome to Apache SIS 

[sis] 02/02: Rename `sis-cloud-S3` module as `sis-cloud-aws`.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit fda2336cee8c173d2dcb4e141ad1bfbdec2d02a6
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 15:04:59 2022 +0200

Rename `sis-cloud-S3` module as `sis-cloud-aws`.
---
 cloud/pom.xml   | 2 +-
 cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml   | 0
 .../src/main/java/org/apache/sis/cloud/aws/internal/Resources.java  | 0
 .../main/java/org/apache/sis/cloud/aws/internal/Resources.properties| 0
 .../main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties | 0
 .../src/main/java/org/apache/sis/cloud/aws/internal/package-info.java   | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java  | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java| 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/ClientFileSystem.java | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/DerivedList.java  | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/FileService.java  | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java  | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/KeyPathMatcher.java   | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/PathIterator.java | 0
 .../src/main/java/org/apache/sis/cloud/aws/s3/package-info.java | 0
 .../resources/META-INF/services/java.nio.file.spi.FileSystemProvider| 0
 .../src/test/java/org/apache/sis/cloud/aws/s3/ClientFileSystemTest.java | 0
 .../src/test/java/org/apache/sis/cloud/aws/s3/KeyPathMatcherTest.java   | 0
 .../src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java  | 0
 .../src/test/java/org/apache/sis/test/suite/AWSTestSuite.java   | 0
 .../src/test/java/org/apache/sis/test/suite/package-info.txt| 0
 22 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/cloud/pom.xml b/cloud/pom.xml
index cb5b91119d..3a2959c1ce 100644
--- a/cloud/pom.xml
+++ b/cloud/pom.xml
@@ -116,7 +116,7 @@
Sub-modules included in the build
=== -->
   
-sis-cloud-S3
+sis-cloud-aws
   
 
 
diff --git a/cloud/sis-cloud-S3/pom.xml b/cloud/sis-cloud-aws/pom.xml
similarity index 100%
rename from cloud/sis-cloud-S3/pom.xml
rename to cloud/sis-cloud-aws/pom.xml
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java
 
b/cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java
similarity index 100%
rename from 
cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java
rename to 
cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
 
b/cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
similarity index 100%
rename from 
cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
rename to 
cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
 
b/cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
similarity index 100%
rename from 
cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
rename to 
cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
 
b/cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
similarity index 100%
rename from 
cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
rename to 
cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java 
b/cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java
similarity index 100%
rename from 
cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java
rename to 
cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java
 
b/cloud/sis-cloud-aws/src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java
similarity index 100%
rename from 
cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java
rename to 

[sis] branch geoapi-4.0 updated (0666ddb3dd -> fda2336cee)

2022-05-09 Thread desruisseaux
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 0666ddb3dd Better handling of directory on S3 storage.
 new 3cff280029 Set  to 1.2 in anticipation for 1.2 
release. Update README and NOTICE files.
 new fda2336cee Rename `sis-cloud-S3` module as `sis-cloud-aws`.

The 2 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 | 12 ++
 README | 18 +++---
 application/sis-console/src/main/artifact/README   | 28 +++---
 application/sis-javafx/src/main/artifact/README| 14 +--
 cloud/pom.xml  |  2 +-
 cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml  |  0
 .../apache/sis/cloud/aws/internal/Resources.java   |  0
 .../sis/cloud/aws/internal/Resources.properties|  0
 .../sis/cloud/aws/internal/Resources_fr.properties |  0
 .../sis/cloud/aws/internal/package-info.java   |  0
 .../org/apache/sis/cloud/aws/s3/BucketStore.java   |  0
 .../apache/sis/cloud/aws/s3/CachedByteChannel.java |  0
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  0
 .../org/apache/sis/cloud/aws/s3/DerivedList.java   |  0
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  0
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  |  0
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  0
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |  0
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  0
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  0
 .../services/java.nio.file.spi.FileSystemProvider  |  0
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |  0
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |  0
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  0
 .../org/apache/sis/test/suite/AWSTestSuite.java|  0
 .../org/apache/sis/test/suite/package-info.txt |  0
 .../sis/metadata/sql/MetadataWriterTest.java   |  6 ++---
 .../apache/sis/setup/OptionalInstallations.java|  2 +-
 pom.xml|  2 +-
 29 files changed, 45 insertions(+), 39 deletions(-)
 rename cloud/{sis-cloud-S3 => sis-cloud-aws}/pom.xml (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources.properties
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/Resources_fr.properties
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/internal/package-info.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/BucketStore.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/CachedByteChannel.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/ClientFileSystem.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/DerivedList.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/FileService.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/KeyPathMatcher.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/PathIterator.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java 
(100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/main/resources/META-INF/services/java.nio.file.spi.FileSystemProvider
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/ClientFileSystemTest.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathMatcherTest.java
 (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/test/suite/AWSTestSuite.java (100%)
 rename cloud/{sis-cloud-S3 => 
sis-cloud-aws}/src/test/java/org/apache/sis/test/suite/package-info.txt (100%)



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

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit cf19121ee41c5704b695d0d99c3a2cca33521689
Merge: e0503ad983 c654790fde
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 14:16:10 2022 +0200

Merge branch 'geoapi-3.1'

 application/sis-console/pom.xml|   1 -
 .../java/org/apache/sis/console/package-info.java  |   2 +-
 application/sis-javafx/pom.xml |   3 +
 application/sis-javafx/src/main/artifact/bin/sisfx |   2 +-
 .../main/java/org/apache/sis/gui/package-info.java |   8 ++
 application/sis-openoffice/pom.xml |   2 +-
 cloud/sis-cloud-S3/pom.xml |   2 +-
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  40 +--
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  14 ++-
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  | 118 ++---
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  22 +++-
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |   2 +-
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  12 ++-
 .../org/apache/sis/cloud/aws/s3/package-info.java  |   2 +-
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |   4 +-
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |   2 +-
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  24 ++---
 core/sis-build-helper/pom.xml  |   8 +-
 .../sis/coverage/grid/GridCoverageProcessor.java   |   4 +-
 .../java/org/apache/sis/image/MaskedImage.java |   2 +-
 .../internal/coverage/j2d/ColorModelFactory.java   |   3 +-
 .../apache/sis/internal/jaxb/gml/TimeInstant.java  |   2 +-
 .../metadata/legacy/LegacyPropertyAdapter.java |   2 +-
 .../sis/internal/metadata/sql/Initializer.java |  21 +---
 .../sis/internal/metadata/sql/LocalDataSource.java |  12 +--
 .../org/apache/sis/metadata/MetadataStandard.java  |   5 +-
 .../org/apache/sis/metadata/PropertyAccessor.java  |   2 +-
 .../iso/acquisition/DefaultRequirement.java|   2 +
 .../iso/citation/DefaultResponsibleParty.java  |   2 +-
 .../org/apache/sis/metadata/iso/package-info.java  |   2 +-
 .../sis/metadata/iso/quality/DefaultScope.java |   2 +-
 .../apache/sis/metadata/sql/MetadataWriter.java|   2 +-
 .../metadata/iso/citation/HardCodedCitations.java  |   5 +-
 .../java/org/apache/sis/test/sql/TestDatabase.java |   2 +-
 .../java/org/apache/sis/test/xml/InfiniteSet.java  |   2 +-
 .../apache/sis/geometry/GeneralDirectPosition.java |   9 +-
 .../sis/internal/referencing/AxisDirections.java   |   4 +-
 .../referencing/j2d/AffineTransform2D.java |   2 +-
 .../apache/sis/internal/referencing/j2d/Tile.java  |   2 +-
 .../parameter/DefaultParameterDescriptorGroup.java |   2 +-
 .../sis/parameter/DefaultParameterValue.java   |   2 +-
 .../org/apache/sis/parameter/TensorParameters.java |   7 +-
 .../sis/referencing/AbstractIdentifiedObject.java  |   2 +-
 .../main/java/org/apache/sis/referencing/CRS.java  |   4 +-
 .../sis/referencing/EPSGFactoryFallback.java   |  46 +++-
 .../sis/referencing/datum/BursaWolfParameters.java |   2 +-
 .../referencing/datum/DefaultVerticalDatum.java|   2 +-
 .../sis/referencing/datum/TimeDependentBWP.java|   2 +-
 .../factory/GeodeticAuthorityFactory.java  |   6 +-
 .../referencing/factory/GeodeticObjectFactory.java |   8 +-
 .../referencing/factory/sql/EPSGCodeFinder.java|   2 +-
 .../referencing/factory/sql/EPSGDataAccess.java|   7 +-
 .../sis/referencing/factory/sql/EPSGFactory.java   |   4 +-
 .../sis/referencing/factory/sql/package-info.java  |   2 +-
 .../DefaultCoordinateOperationFactory.java |   2 +-
 .../referencing/operation/projection/Mercator.java |  13 +--
 .../operation/projection/package-info.java |   2 +-
 .../transform/DefaultMathTransformFactory.java |  12 +--
 .../operation/transform/TransferFunction.java  |   2 +-
 .../org/apache/sis/io/wkt/ComparisonWithEPSG.java  |   2 +-
 .../factory/AuthorityFactoryProxyTest.java |   2 +-
 .../referencing/factory/sql/EPSGInstallerTest.java |   2 +-
 .../factory/sql/epsg/DataScriptFormatter.java  |   3 +-
 .../sis/referencing/factory/sql/epsg/package.html  |   4 +-
 .../operation/DefaultConversionTest.java   |   2 +-
 .../operation/DefaultTransformationTest.java   |   2 +-
 .../projection/ProjectionResultComparator.java |   2 +-
 .../report/CoordinateOperationMethods.java |   9 +-
 .../sis/referencing/report/HTMLGenerator.java  |   2 +-
 .../apache/sis/internal/system/DataDirectory.java  |   4 +-
 .../org/apache/sis/internal/util/Constants.java|   2 +-
 .../apache/sis/internal/util/DefinitionURI.java|   2 +-
 .../apache/sis/internal/util/FinalFieldSetter.java | 112 ---
 .../apache/sis/internal/util/MetadataServices.java |   8 +-
 .../org/apache/sis/internal/util/Numerics.java |   2 +-
 

[sis] branch master updated (e0503ad983 -> cf19121ee4)

2022-05-09 Thread desruisseaux
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 e0503ad983 Merge branch 'geoapi-3.1'
 add db1dff71aa Post-merge cleaning.
 add b62ce391e5 Remove all usage of `java.util.security.AccessController` 
because this class is deprecated since Java 17. The 
`src/main/config/security.policy` file is deleted.
 add a31362ab0a Make `WorldFileStore` class public for giving access to the 
`getFormatNames(boolean)` method. Remove a method which is not used anymore.
 add f5e80273b3 Move some URLs in a class for easier maintenance. Change 
"http:sis.apache.org" to "https:". Allow configuration of the URL to EPSG 
installation.
 add 520c658428 Make the name separator configurable when using a S3 
storage service.
 add 7b929c8a84 Add a "main class" attribute for JavaFX application.
 add 8e7b1a515c Upgrade dependency versions.
 add 0096500b34 Add documentation and missing annotations. Fix some javadoc 
errors.
 add 4c2f877889 English spelling: "The later" → "The latter".
 add 0666ddb3dd Better handling of directory on S3 storage.
 add c654790fde Merge branch 'geoapi-4.0' into geoapi-3.1
 new cf19121ee4 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:
 application/sis-console/pom.xml|   1 -
 .../java/org/apache/sis/console/package-info.java  |   2 +-
 application/sis-javafx/pom.xml |   3 +
 application/sis-javafx/src/main/artifact/bin/sisfx |   2 +-
 .../main/java/org/apache/sis/gui/package-info.java |   8 ++
 application/sis-openoffice/pom.xml |   2 +-
 cloud/sis-cloud-S3/pom.xml |   2 +-
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  40 +--
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  14 ++-
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  | 118 ++---
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  22 +++-
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |   2 +-
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  12 ++-
 .../org/apache/sis/cloud/aws/s3/package-info.java  |   2 +-
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |   4 +-
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |   2 +-
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  24 ++---
 core/sis-build-helper/pom.xml  |   8 +-
 .../sis/coverage/grid/GridCoverageProcessor.java   |   4 +-
 .../java/org/apache/sis/image/MaskedImage.java |   2 +-
 .../internal/coverage/j2d/ColorModelFactory.java   |   3 +-
 .../apache/sis/internal/jaxb/gml/TimeInstant.java  |   2 +-
 .../metadata/legacy/LegacyPropertyAdapter.java |   2 +-
 .../sis/internal/metadata/sql/Initializer.java |  21 +---
 .../sis/internal/metadata/sql/LocalDataSource.java |  12 +--
 .../org/apache/sis/metadata/MetadataStandard.java  |   5 +-
 .../org/apache/sis/metadata/PropertyAccessor.java  |   2 +-
 .../iso/acquisition/DefaultRequirement.java|   2 +
 .../iso/citation/DefaultResponsibleParty.java  |   2 +-
 .../org/apache/sis/metadata/iso/package-info.java  |   2 +-
 .../sis/metadata/iso/quality/DefaultScope.java |   2 +-
 .../apache/sis/metadata/sql/MetadataWriter.java|   2 +-
 .../metadata/iso/citation/HardCodedCitations.java  |   5 +-
 .../java/org/apache/sis/test/sql/TestDatabase.java |   2 +-
 .../java/org/apache/sis/test/xml/InfiniteSet.java  |   2 +-
 .../apache/sis/geometry/GeneralDirectPosition.java |   9 +-
 .../sis/internal/referencing/AxisDirections.java   |   4 +-
 .../referencing/j2d/AffineTransform2D.java |   2 +-
 .../apache/sis/internal/referencing/j2d/Tile.java  |   2 +-
 .../parameter/DefaultParameterDescriptorGroup.java |   2 +-
 .../sis/parameter/DefaultParameterValue.java   |   2 +-
 .../org/apache/sis/parameter/TensorParameters.java |   7 +-
 .../sis/referencing/AbstractIdentifiedObject.java  |   2 +-
 .../main/java/org/apache/sis/referencing/CRS.java  |   4 +-
 .../sis/referencing/EPSGFactoryFallback.java   |  46 +++-
 .../sis/referencing/datum/BursaWolfParameters.java |   2 +-
 .../referencing/datum/DefaultVerticalDatum.java|   2 +-
 .../sis/referencing/datum/TimeDependentBWP.java|   2 +-
 .../factory/GeodeticAuthorityFactory.java  |   6 +-
 .../referencing/factory/GeodeticObjectFactory.java |   8 +-
 .../referencing/factory/sql/EPSGCodeFinder.java|   2 +-
 .../referencing/factory/sql/EPSGDataAccess.java|   7 +-
 .../sis/referencing/factory/sql/EPSGFactory.java   |   4 +-
 .../sis/referencing/factory/sql/package-info.java  |   2 +-
 .../DefaultCoordinateOperationFactory.java |   2 +-
 

[sis] branch geoapi-3.1 updated (8f4b197bc6 -> c654790fde)

2022-05-09 Thread desruisseaux
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 8f4b197bc6 Merge branch 'geoapi-4.0' into geoapi-3.1. Includes new map 
projection and improvements on World File data store.
 add db1dff71aa Post-merge cleaning.
 add b62ce391e5 Remove all usage of `java.util.security.AccessController` 
because this class is deprecated since Java 17. The 
`src/main/config/security.policy` file is deleted.
 add a31362ab0a Make `WorldFileStore` class public for giving access to the 
`getFormatNames(boolean)` method. Remove a method which is not used anymore.
 add f5e80273b3 Move some URLs in a class for easier maintenance. Change 
"http:sis.apache.org" to "https:". Allow configuration of the URL to EPSG 
installation.
 add 520c658428 Make the name separator configurable when using a S3 
storage service.
 add 7b929c8a84 Add a "main class" attribute for JavaFX application.
 add 8e7b1a515c Upgrade dependency versions.
 add 0096500b34 Add documentation and missing annotations. Fix some javadoc 
errors.
 add 4c2f877889 English spelling: "The later" → "The latter".
 add 0666ddb3dd Better handling of directory on S3 storage.
 new c654790fde 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:
 application/sis-console/pom.xml|   1 -
 .../java/org/apache/sis/console/package-info.java  |   2 +-
 application/sis-javafx/pom.xml |   3 +
 application/sis-javafx/src/main/artifact/bin/sisfx |   2 +-
 .../main/java/org/apache/sis/gui/package-info.java |   8 ++
 application/sis-openoffice/pom.xml |   2 +-
 cloud/sis-cloud-S3/pom.xml |   2 +-
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  40 +--
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  14 ++-
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  | 118 ++---
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  22 +++-
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |   2 +-
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  12 ++-
 .../org/apache/sis/cloud/aws/s3/package-info.java  |   2 +-
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |   4 +-
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |   2 +-
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  24 ++---
 core/sis-build-helper/pom.xml  |   8 +-
 core/sis-cql/pom.xml   |   4 +-
 .../sis/coverage/grid/GridCoverageProcessor.java   |   4 +-
 .../java/org/apache/sis/image/MaskedImage.java |   2 +-
 .../internal/coverage/j2d/ColorModelFactory.java   |   3 +-
 .../apache/sis/internal/jaxb/gml/TimeInstant.java  |   2 +-
 .../metadata/legacy/LegacyPropertyAdapter.java |   2 +-
 .../sis/internal/metadata/sql/Initializer.java |  21 +---
 .../sis/internal/metadata/sql/LocalDataSource.java |  12 +--
 .../org/apache/sis/metadata/MetadataStandard.java  |   5 +-
 .../org/apache/sis/metadata/PropertyAccessor.java  |   2 +-
 .../iso/acquisition/DefaultRequirement.java|   2 +
 .../iso/citation/DefaultResponsibleParty.java  |   2 +-
 .../org/apache/sis/metadata/iso/package-info.java  |   2 +-
 .../sis/metadata/iso/quality/DefaultScope.java |   2 +-
 .../apache/sis/metadata/sql/MetadataWriter.java|   2 +-
 .../metadata/iso/citation/HardCodedCitations.java  |   5 +-
 .../sis/metadata/sql/MetadataWriterTest.java   |   3 +-
 .../java/org/apache/sis/test/sql/TestDatabase.java |   2 +-
 .../java/org/apache/sis/test/xml/InfiniteSet.java  |   2 +-
 .../apache/sis/geometry/GeneralDirectPosition.java |   9 +-
 .../sis/internal/referencing/AxisDirections.java   |   4 +-
 .../referencing/j2d/AffineTransform2D.java |   2 +-
 .../apache/sis/internal/referencing/j2d/Tile.java  |   2 +-
 .../parameter/DefaultParameterDescriptorGroup.java |   2 +-
 .../sis/parameter/DefaultParameterValue.java   |   2 +-
 .../org/apache/sis/parameter/TensorParameters.java |   7 +-
 .../sis/referencing/AbstractIdentifiedObject.java  |   2 +-
 .../main/java/org/apache/sis/referencing/CRS.java  |   4 +-
 .../sis/referencing/EPSGFactoryFallback.java   |  46 +++-
 .../sis/referencing/datum/BursaWolfParameters.java |   2 +-
 .../referencing/datum/DefaultVerticalDatum.java|   2 +-
 .../sis/referencing/datum/TimeDependentBWP.java|   2 +-
 .../factory/GeodeticAuthorityFactory.java  |   6 +-
 .../referencing/factory/GeodeticObjectFactory.java |   8 +-
 .../referencing/factory/sql/EPSGCodeFinder.java|   2 +-
 .../referencing/factory/sql/EPSGDataAccess.java|   7 +-
 .../sis/referencing/factory/sql/EPSGFactory.java   |   4 

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

2022-05-09 Thread desruisseaux
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 c654790fded63e2b5bfcdf2d4cbf1399e5722a12
Merge: 8f4b197bc6 0666ddb3dd
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 13:59:20 2022 +0200

Merge branch 'geoapi-4.0' into geoapi-3.1

 application/sis-console/pom.xml|   1 -
 .../java/org/apache/sis/console/package-info.java  |   2 +-
 application/sis-javafx/pom.xml |   3 +
 application/sis-javafx/src/main/artifact/bin/sisfx |   2 +-
 .../main/java/org/apache/sis/gui/package-info.java |   8 ++
 application/sis-openoffice/pom.xml |   2 +-
 cloud/sis-cloud-S3/pom.xml |   2 +-
 .../apache/sis/cloud/aws/s3/ClientFileSystem.java  |  40 +--
 .../org/apache/sis/cloud/aws/s3/FileService.java   |  14 ++-
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  | 118 ++---
 .../apache/sis/cloud/aws/s3/KeyPathMatcher.java|  22 +++-
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |   2 +-
 .../org/apache/sis/cloud/aws/s3/PathIterator.java  |  12 ++-
 .../org/apache/sis/cloud/aws/s3/package-info.java  |   2 +-
 .../sis/cloud/aws/s3/ClientFileSystemTest.java |   4 +-
 .../sis/cloud/aws/s3/KeyPathMatcherTest.java   |   2 +-
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   |  24 ++---
 core/sis-build-helper/pom.xml  |   8 +-
 core/sis-cql/pom.xml   |   4 +-
 .../sis/coverage/grid/GridCoverageProcessor.java   |   4 +-
 .../java/org/apache/sis/image/MaskedImage.java |   2 +-
 .../internal/coverage/j2d/ColorModelFactory.java   |   3 +-
 .../apache/sis/internal/jaxb/gml/TimeInstant.java  |   2 +-
 .../metadata/legacy/LegacyPropertyAdapter.java |   2 +-
 .../sis/internal/metadata/sql/Initializer.java |  21 +---
 .../sis/internal/metadata/sql/LocalDataSource.java |  12 +--
 .../org/apache/sis/metadata/MetadataStandard.java  |   5 +-
 .../org/apache/sis/metadata/PropertyAccessor.java  |   2 +-
 .../iso/acquisition/DefaultRequirement.java|   2 +
 .../iso/citation/DefaultResponsibleParty.java  |   2 +-
 .../org/apache/sis/metadata/iso/package-info.java  |   2 +-
 .../sis/metadata/iso/quality/DefaultScope.java |   2 +-
 .../apache/sis/metadata/sql/MetadataWriter.java|   2 +-
 .../metadata/iso/citation/HardCodedCitations.java  |   5 +-
 .../sis/metadata/sql/MetadataWriterTest.java   |   3 +-
 .../java/org/apache/sis/test/sql/TestDatabase.java |   2 +-
 .../java/org/apache/sis/test/xml/InfiniteSet.java  |   2 +-
 .../apache/sis/geometry/GeneralDirectPosition.java |   9 +-
 .../sis/internal/referencing/AxisDirections.java   |   4 +-
 .../referencing/j2d/AffineTransform2D.java |   2 +-
 .../apache/sis/internal/referencing/j2d/Tile.java  |   2 +-
 .../parameter/DefaultParameterDescriptorGroup.java |   2 +-
 .../sis/parameter/DefaultParameterValue.java   |   2 +-
 .../org/apache/sis/parameter/TensorParameters.java |   7 +-
 .../sis/referencing/AbstractIdentifiedObject.java  |   2 +-
 .../main/java/org/apache/sis/referencing/CRS.java  |   4 +-
 .../sis/referencing/EPSGFactoryFallback.java   |  46 +++-
 .../sis/referencing/datum/BursaWolfParameters.java |   2 +-
 .../referencing/datum/DefaultVerticalDatum.java|   2 +-
 .../sis/referencing/datum/TimeDependentBWP.java|   2 +-
 .../factory/GeodeticAuthorityFactory.java  |   6 +-
 .../referencing/factory/GeodeticObjectFactory.java |   8 +-
 .../referencing/factory/sql/EPSGCodeFinder.java|   2 +-
 .../referencing/factory/sql/EPSGDataAccess.java|   7 +-
 .../sis/referencing/factory/sql/EPSGFactory.java   |   4 +-
 .../sis/referencing/factory/sql/package-info.java  |   2 +-
 .../DefaultCoordinateOperationFactory.java |   2 +-
 .../referencing/operation/projection/Mercator.java |  13 +--
 .../operation/projection/package-info.java |   2 +-
 .../transform/DefaultMathTransformFactory.java |  12 +--
 .../operation/transform/TransferFunction.java  |   2 +-
 .../org/apache/sis/io/wkt/ComparisonWithEPSG.java  |   2 +-
 .../factory/AuthorityFactoryProxyTest.java |   2 +-
 .../referencing/factory/sql/EPSGInstallerTest.java |   2 +-
 .../factory/sql/epsg/DataScriptFormatter.java  |   3 +-
 .../sis/referencing/factory/sql/epsg/package.html  |   4 +-
 .../operation/DefaultConversionTest.java   |   2 +-
 .../operation/DefaultTransformationTest.java   |   2 +-
 .../projection/ProjectionResultComparator.java |   2 +-
 .../report/CoordinateOperationMethods.java |   9 +-
 .../report/CoordinateReferenceSystems.java |   6 +-
 .../sis/referencing/report/HTMLGenerator.java  |   2 +-
 .../apache/sis/internal/system/DataDirectory.java  |   4 +-
 .../org/apache/sis/internal/util/Constants.java|   2 +-
 .../apache/sis/internal/util/DefinitionURI.java|   2 +-
 

[sis] branch geoapi-4.0 updated: Better handling of directory on S3 storage.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
 new 0666ddb3dd Better handling of directory on S3 storage.
0666ddb3dd is described below

commit 0666ddb3dd389cb8c2e97efc284b1bd9633bed9d
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 13:07:32 2022 +0200

Better handling of directory on S3 storage.
---
 .../java/org/apache/sis/cloud/aws/s3/KeyPath.java  |  7 +++---
 .../apache/sis/cloud/aws/s3/ObjectAttributes.java  |  2 +-
 .../org/apache/sis/cloud/aws/s3/KeyPathTest.java   | 24 ++--
 .../sis/internal/storage/io/IOUtilities.java   | 26 --
 .../sis/internal/storage/io/IOUtilitiesTest.java   |  1 +
 5 files changed, 36 insertions(+), 24 deletions(-)

diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java 
b/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java
index 907dad7407..f95010b0c1 100644
--- a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java
+++ b/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/KeyPath.java
@@ -716,7 +716,6 @@ search: if (key != null) {
 
 /**
  * Returns a string representation of this path.
- * By convention, a trailing {@link ClientFileSystem#separator} is 
appended to directories.
  */
 @Override
 public String toString() {
@@ -729,13 +728,13 @@ search: if (key != null) {
 if (fs.accessKey != null) {
 sb.append(fs.accessKey).append('@');
 }
-sb.append(bucket).append(fs.separator);
+sb.append(bucket);
 }
 if (key != null) {
-sb.append(key);
-if (isDirectory) {
+if (bucket != null) {
 sb.append(fs.separator);
 }
+sb.append(key);
 }
 return sb.toString();
 }
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java
 
b/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java
index c8fee55a52..ee62fa7cea 100644
--- 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java
+++ 
b/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/ObjectAttributes.java
@@ -200,7 +200,7 @@ final class ObjectAttributes implements 
BasicFileAttributeView {
  */
 @Override
 public boolean isRegularFile() {
-return !isDirectory;
+return !isDirectory && size != 0;
 }
 
 /**
diff --git 
a/cloud/sis-cloud-S3/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java 
b/cloud/sis-cloud-S3/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java
index 36356381a0..b78b2565d6 100644
--- 
a/cloud/sis-cloud-S3/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java
+++ 
b/cloud/sis-cloud-S3/src/test/java/org/apache/sis/cloud/aws/s3/KeyPathTest.java
@@ -143,14 +143,14 @@ public final strictfp class KeyPathTest extends TestCase {
  */
 @Test
 public void testGetName() {
-assertEquals("S3://the-bucket/", absolute.getName(0).toString());
-assertEquals("first/",   absolute.getName(1).toString());
-assertEquals("second/",  absolute.getName(2).toString());
-assertEquals("third/",   absolute.getName(3).toString());
-assertEquals("the-file", absolute.getName(4).toString());
-assertEquals("second/",  relative.getName(0).toString());
-assertEquals("third/",   relative.getName(1).toString());
-assertEquals("the-file", relative.getName(2).toString());
+assertEquals("S3://the-bucket", absolute.getName(0).toString());
+assertEquals("first",   absolute.getName(1).toString());
+assertEquals("second",  absolute.getName(2).toString());
+assertEquals("third",   absolute.getName(3).toString());
+assertEquals("the-file",absolute.getName(4).toString());
+assertEquals("second",  relative.getName(0).toString());
+assertEquals("third",   relative.getName(1).toString());
+assertEquals("the-file",relative.getName(2).toString());
 try {
 absolute.getName(5);
 fail("Expected an exception.");
@@ -164,10 +164,10 @@ public final strictfp class KeyPathTest extends TestCase {
  */
 @Test
 public void testSubpath() {
-assertEquals("S3://the-bucket/first/second/", absolute.subpath(0, 
3).toString());
-assertEquals("second/third/the-file", absolute.subpath(2, 
5).toString());
-assertEquals("second/third/", absolute.subpath(2, 
4).toString());
-assertEquals("third/the-file",

[sis] 02/02: English spelling: "The later" → "The latter".

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 4c2f877889d18a38df10872c5a1a0b8b28f1955f
Author: Martin Desruisseaux 
AuthorDate: Mon May 9 09:44:21 2022 +0200

English spelling: "The later" → "The latter".
---
 .../src/main/java/org/apache/sis/image/MaskedImage.java| 2 +-
 .../main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java| 2 +-
 .../apache/sis/internal/metadata/legacy/LegacyPropertyAdapter.java | 2 +-
 .../src/main/java/org/apache/sis/metadata/PropertyAccessor.java| 2 +-
 .../apache/sis/metadata/iso/citation/DefaultResponsibleParty.java  | 2 +-
 .../src/main/java/org/apache/sis/metadata/iso/package-info.java| 2 +-
 .../java/org/apache/sis/metadata/iso/quality/DefaultScope.java | 2 +-
 .../src/main/java/org/apache/sis/metadata/sql/MetadataWriter.java  | 2 +-
 .../src/test/java/org/apache/sis/test/xml/InfiniteSet.java | 2 +-
 .../java/org/apache/sis/internal/referencing/AxisDirections.java   | 4 ++--
 .../org/apache/sis/internal/referencing/j2d/AffineTransform2D.java | 2 +-
 .../main/java/org/apache/sis/internal/referencing/j2d/Tile.java| 2 +-
 .../org/apache/sis/parameter/DefaultParameterDescriptorGroup.java  | 2 +-
 .../main/java/org/apache/sis/parameter/DefaultParameterValue.java  | 2 +-
 .../src/main/java/org/apache/sis/parameter/TensorParameters.java   | 2 +-
 .../java/org/apache/sis/referencing/AbstractIdentifiedObject.java  | 2 +-
 .../java/org/apache/sis/referencing/datum/BursaWolfParameters.java | 2 +-
 .../org/apache/sis/referencing/datum/DefaultVerticalDatum.java | 2 +-
 .../java/org/apache/sis/referencing/datum/TimeDependentBWP.java| 2 +-
 .../org/apache/sis/referencing/factory/sql/EPSGCodeFinder.java | 2 +-
 .../referencing/operation/DefaultCoordinateOperationFactory.java   | 2 +-
 .../sis/referencing/operation/transform/TransferFunction.java  | 2 +-
 .../src/test/java/org/apache/sis/io/wkt/ComparisonWithEPSG.java| 2 +-
 .../apache/sis/referencing/factory/AuthorityFactoryProxyTest.java  | 2 +-
 .../apache/sis/referencing/operation/DefaultConversionTest.java| 2 +-
 .../sis/referencing/operation/DefaultTransformationTest.java   | 2 +-
 .../operation/projection/ProjectionResultComparator.java   | 2 +-
 .../src/main/java/org/apache/sis/internal/util/Constants.java  | 2 +-
 .../src/main/java/org/apache/sis/internal/util/Numerics.java   | 2 +-
 .../src/main/java/org/apache/sis/internal/util/Strings.java| 2 +-
 .../src/main/java/org/apache/sis/measure/AbstractUnit.java | 2 +-
 core/sis-utility/src/main/java/org/apache/sis/measure/Range.java   | 4 ++--
 .../src/main/java/org/apache/sis/measure/RangeFormat.java  | 2 +-
 .../src/main/java/org/apache/sis/util/CharSequences.java   | 2 +-
 .../src/main/java/org/apache/sis/util/resources/package-info.java  | 7 +++
 .../src/test/java/org/apache/sis/math/DecimalFunctionsTest.java| 2 +-
 .../java/org/apache/sis/util/collection/TreeTableFormatTest.java   | 2 +-
 .../java/org/apache/sis/storage/geotiff/GridGeometryBuilder.java   | 2 +-
 .../src/main/java/org/apache/sis/internal/netcdf/Raster.java   | 2 +-
 .../src/main/java/org/apache/sis/internal/storage/CodeType.java| 2 +-
 .../java/org/apache/sis/internal/storage/TiledGridCoverage.java| 2 +-
 .../java/org/apache/sis/internal/storage/folder/WritableStore.java | 2 +-
 42 files changed, 46 insertions(+), 47 deletions(-)

diff --git 
a/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java 
b/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java
index 9654e14d09..ae15580b50 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java
@@ -65,7 +65,7 @@ final class MaskedImage extends SourceAlignedImage {
 
 /**
  * Bounds of the {@linkplain #clip} in pixels coordinates and in tile 
coordinates.
- * The later provides a fast way to determine if a tile intersects the 
mask.
+ * The latter provides a fast way to determine if a tile intersects the 
mask.
  * The bounds are computed together when first needed.
  *
  * @see #getMaskTiles()
diff --git 
a/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
 
b/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
index a18947b3fc..c920d54310 100644
--- 
a/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
+++ 
b/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
@@ -30,7 +30,7 @@ import org.apache.sis.internal.xml.XmlUtilities;
 
 /**
  * Encapsulates a {@code gml:TimeInstant}. This element may be used alone, or 
included in a
- * {@link TimePeriodBound.GML2} object. The later is itself included in {@link 
TimePeriod}.

[sis] branch geoapi-4.0 updated (8e7b1a515c -> 4c2f877889)

2022-05-09 Thread desruisseaux
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 8e7b1a515c Upgrade dependency versions.
 new 0096500b34 Add documentation and missing annotations. Fix some javadoc 
errors.
 new 4c2f877889 English spelling: "The later" → "The latter".

The 2 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:
 application/sis-javafx/src/main/artifact/bin/sisfx |  2 +-
 .../main/java/org/apache/sis/gui/package-info.java |  8 ++
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  2 +-
 .../java/org/apache/sis/image/MaskedImage.java |  2 +-
 .../apache/sis/internal/jaxb/gml/TimeInstant.java  |  2 +-
 .../metadata/legacy/LegacyPropertyAdapter.java |  2 +-
 .../org/apache/sis/metadata/PropertyAccessor.java  |  2 +-
 .../iso/acquisition/DefaultRequirement.java|  2 ++
 .../iso/citation/DefaultResponsibleParty.java  |  2 +-
 .../org/apache/sis/metadata/iso/package-info.java  |  2 +-
 .../sis/metadata/iso/quality/DefaultScope.java |  2 +-
 .../apache/sis/metadata/sql/MetadataWriter.java|  2 +-
 .../java/org/apache/sis/test/xml/InfiniteSet.java  |  2 +-
 .../sis/internal/referencing/AxisDirections.java   |  4 +--
 .../referencing/j2d/AffineTransform2D.java |  2 +-
 .../apache/sis/internal/referencing/j2d/Tile.java  |  2 +-
 .../parameter/DefaultParameterDescriptorGroup.java |  2 +-
 .../sis/parameter/DefaultParameterValue.java   |  2 +-
 .../org/apache/sis/parameter/TensorParameters.java |  2 +-
 .../sis/referencing/AbstractIdentifiedObject.java  |  2 +-
 .../sis/referencing/datum/BursaWolfParameters.java |  2 +-
 .../referencing/datum/DefaultVerticalDatum.java|  2 +-
 .../sis/referencing/datum/TimeDependentBWP.java|  2 +-
 .../referencing/factory/sql/EPSGCodeFinder.java|  2 +-
 .../DefaultCoordinateOperationFactory.java |  2 +-
 .../referencing/operation/projection/Mercator.java | 13 +-
 .../operation/transform/TransferFunction.java  |  2 +-
 .../org/apache/sis/io/wkt/ComparisonWithEPSG.java  |  2 +-
 .../factory/AuthorityFactoryProxyTest.java |  2 +-
 .../operation/DefaultConversionTest.java   |  2 +-
 .../operation/DefaultTransformationTest.java   |  2 +-
 .../projection/ProjectionResultComparator.java |  2 +-
 .../org/apache/sis/internal/util/Constants.java|  2 +-
 .../org/apache/sis/internal/util/Numerics.java |  2 +-
 .../java/org/apache/sis/internal/util/Strings.java |  2 +-
 .../java/org/apache/sis/internal/util/URLs.java|  9 +--
 .../java/org/apache/sis/measure/AbstractUnit.java  |  2 +-
 .../main/java/org/apache/sis/measure/Range.java|  4 +--
 .../java/org/apache/sis/measure/RangeFormat.java   |  2 +-
 .../java/org/apache/sis/setup/Configuration.java   |  2 +-
 .../apache/sis/setup/OptionalInstallations.java| 30 ++
 .../java/org/apache/sis/util/CharSequences.java|  2 +-
 .../apache/sis/util/resources/package-info.java|  7 +++--
 .../org/apache/sis/math/DecimalFunctionsTest.java  |  2 +-
 .../sis/util/collection/TreeTableFormatTest.java   |  2 +-
 pom.xml|  1 +
 .../sis/storage/landsat/LandsatStoreProvider.java  |  7 +++--
 .../sis/storage/geotiff/GeoTiffStoreProvider.java  | 11 +---
 .../sis/storage/geotiff/GridGeometryBuilder.java   |  2 +-
 .../org/apache/sis/internal/netcdf/Raster.java |  2 +-
 .../org/apache/sis/internal/storage/CodeType.java  |  2 +-
 .../sis/internal/storage/TiledGridCoverage.java|  2 +-
 .../sis/internal/storage/folder/WritableStore.java |  2 +-
 .../storage/image/WorldFileStoreProvider.java  |  2 +-
 .../sis/storage/AbstractGridCoverageResource.java  |  2 +-
 .../org/apache/sis/storage/DataStoreProvider.java  |  4 +--
 56 files changed, 109 insertions(+), 79 deletions(-)



[sis] 01/02: Add documentation and missing annotations. Fix some javadoc errors.

2022-05-09 Thread desruisseaux
This is an automated email from the ASF dual-hosted git repository.

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

commit 0096500b348c061ed84fdd6eb1a9a358ee0a7cb1
Author: Martin Desruisseaux 
AuthorDate: Sat May 7 15:06:03 2022 +0200

Add documentation and missing annotations.
Fix some javadoc errors.
---
 application/sis-javafx/src/main/artifact/bin/sisfx |  2 +-
 .../main/java/org/apache/sis/gui/package-info.java |  8 ++
 .../org/apache/sis/cloud/aws/s3/package-info.java  |  2 +-
 .../iso/acquisition/DefaultRequirement.java|  2 ++
 .../referencing/operation/projection/Mercator.java | 13 +-
 .../java/org/apache/sis/internal/util/URLs.java|  9 +--
 .../java/org/apache/sis/setup/Configuration.java   |  2 +-
 .../apache/sis/setup/OptionalInstallations.java| 30 ++
 pom.xml|  1 +
 .../sis/storage/landsat/LandsatStoreProvider.java  |  7 +++--
 .../sis/storage/geotiff/GeoTiffStoreProvider.java  | 11 +---
 .../storage/image/WorldFileStoreProvider.java  |  2 +-
 .../sis/storage/AbstractGridCoverageResource.java  |  2 +-
 .../org/apache/sis/storage/DataStoreProvider.java  |  4 +--
 14 files changed, 63 insertions(+), 32 deletions(-)

diff --git a/application/sis-javafx/src/main/artifact/bin/sisfx 
b/application/sis-javafx/src/main/artifact/bin/sisfx
index daf89b2356..1439fff62f 100755
--- a/application/sis-javafx/src/main/artifact/bin/sisfx
+++ b/application/sis-javafx/src/main/artifact/bin/sisfx
@@ -19,7 +19,7 @@
 set -o errexit
 
 BASE_DIR="`dirname $0`/.."
-source "$BASE_DIR/conf/setenv.sh"
+. "$BASE_DIR/conf/setenv.sh"
 
 SIS_DATA="${SIS_DATA:-$BASE_DIR/data}"
 export SIS_DATA
diff --git 
a/application/sis-javafx/src/main/java/org/apache/sis/gui/package-info.java 
b/application/sis-javafx/src/main/java/org/apache/sis/gui/package-info.java
index 30f10ab6eb..8686e46534 100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/package-info.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/package-info.java
@@ -17,6 +17,14 @@
 
 /**
  * JavaFX application for Apache SIS.
+ * See the https://sis.apache.org/javafx.html;>JavaFX application 
page
+ * on the Apache SIS web site for more information.
+ *
+ * File size limit
+ * There is usually no size limit when viewing only the metadata, because only 
the file headers are read at that time.
+ * When viewing the data, there is no size limit if the data are pyramided and 
tiled with tiles of reasonable size,
+ * because the application loads only the tiles needed for the area being 
displayed.
+ * An example of file format supporting tiling is GeoTIFF.
  *
  * @author  Smaniotto Enzo (GSoC)
  * @author  Johann Sorel (Geomatys)
diff --git 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java
 
b/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java
index 2b21a08471..ba209f9fcb 100644
--- 
a/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java
+++ 
b/cloud/sis-cloud-S3/src/main/java/org/apache/sis/cloud/aws/s3/package-info.java
@@ -30,7 +30,7 @@
  *
  * Keys can be paths with components separated by the {@code '/'} separator.
  * The password and the region can be specified at
- * {@linkplain java.nio.file.FileSystem#newFileSystem file system 
initialization time}.
+ * {@linkplain java.nio.file.FileSystems#newFileSystem file system 
initialization time}.
  * The endpoint (e.g. {@code "s3.eu-central-1.amazonaws.com"}) shall 
not be specified in the URI.
  * In particular the region ({@code "eu-central-1"} in above example) can 
depend on the server location
  * instead of the data to access, and can be a global configuration for the 
server.
diff --git 
a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/acquisition/DefaultRequirement.java
 
b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/acquisition/DefaultRequirement.java
index 1117a8dc43..0624a193aa 100644
--- 
a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/acquisition/DefaultRequirement.java
+++ 
b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/acquisition/DefaultRequirement.java
@@ -333,6 +333,8 @@ public class DefaultRequirement extends ISOMetadata 
implements Requirement {
 }
 
 /**
+ * Sets the plan that identifies solution to satisfy the requirement.
+ *
  * @param  newValues  the new satisfied plans values.
  */
 public void setSatisfiedPlans(final Collection newValues) {
diff --git 
a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java
 
b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java
index c22a8bd162..520c75f4dc 100644
--- 
a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java
+++