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 11975baa18 Add "Longitude of natural origin" EPSG parameter name to 
`Sinusoidal` and `Mollweide.CENTRAL_MERIDIAN` because some WKT definitions 
appear to use it. Add missing declaration for `EquidistantCylindrical` 
projection in the workaround for applications that do not use module-path.
11975baa18 is described below

commit 11975baa184f1ab7b354a7be274d5204e699a121
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Tue Apr 30 13:21:09 2024 +0200

    Add "Longitude of natural origin" EPSG parameter name to `Sinusoidal` and 
`Mollweide.CENTRAL_MERIDIAN` because some WKT definitions appear to use it.
    Add missing declaration for `EquidistantCylindrical` projection in the 
workaround for applications that do not use module-path.
---
 .../org.opengis.referencing.operation.OperationMethod  |  1 +
 .../sis/referencing/operation/provider/Mollweide.java  | 18 ++++++++++++------
 .../operation/provider/PolarStereographicSouth.java    |  2 +-
 .../sis/referencing/operation/provider/Sinusoidal.java | 18 ++++++++++++------
 .../sis/referencing/operation/provider/Wraparound.java |  7 ++++---
 5 files changed, 30 insertions(+), 16 deletions(-)

diff --git 
a/endorsed/src/org.apache.sis.referencing/main/META-INF/services/org.opengis.referencing.operation.OperationMethod
 
b/endorsed/src/org.apache.sis.referencing/main/META-INF/services/org.opengis.referencing.operation.OperationMethod
index 3e86aa63f5..9609787f4e 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/META-INF/services/org.opengis.referencing.operation.OperationMethod
+++ 
b/endorsed/src/org.apache.sis.referencing/main/META-INF/services/org.opengis.referencing.operation.OperationMethod
@@ -60,6 +60,7 @@ 
org.apache.sis.referencing.operation.provider.ObliqueMercatorTwoPointsCenter
 org.apache.sis.referencing.operation.provider.Orthographic
 org.apache.sis.referencing.operation.provider.ModifiedAzimuthalEquidistant
 org.apache.sis.referencing.operation.provider.AzimuthalEquidistantSpherical
+org.apache.sis.referencing.operation.provider.EquidistantCylindrical
 org.apache.sis.referencing.operation.provider.ZonedTransverseMercator
 org.apache.sis.referencing.operation.provider.Sinusoidal
 org.apache.sis.referencing.operation.provider.PseudoSinusoidal
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Mollweide.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Mollweide.java
index 4d790853ac..05de9aad13 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Mollweide.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Mollweide.java
@@ -48,13 +48,15 @@ public final class Mollweide extends MapProjection {
      * <!-- Generated by ParameterNameTableGenerator -->
      * <table class="sis">
      *   <caption>Parameter names</caption>
-     *   <tr><td> ESRI:    </td><td> Central_Meridian </td></tr>
+     *   <tr><td> EPSG:    </td><td> Longitude of natural origin </td></tr>
      *   <tr><td> OGC:     </td><td> central_meridian </td></tr>
+     *   <tr><td> ESRI:    </td><td> Central_Meridian </td></tr>
+     *   <tr><td> NetCDF:  </td><td> longitude_of_projection_origin </td></tr>
      *   <tr><td> GeoTIFF: </td><td> CenterLong </td></tr>
      *   <tr><td> Proj4:   </td><td> lon_0 </td></tr>
      * </table>
      */
-    public static final ParameterDescriptor<Double> CENTRAL_MERIDIAN = 
ESRI.CENTRAL_MERIDIAN;
+    public static final ParameterDescriptor<Double> CENTRAL_MERIDIAN = 
Equirectangular.LONGITUDE_OF_ORIGIN;
 
     /**
      * The operation parameter descriptor for the <cite>False easting</cite> 
(FE) parameter value.
@@ -63,13 +65,15 @@ public final class Mollweide extends MapProjection {
      * <!-- Generated by ParameterNameTableGenerator -->
      * <table class="sis">
      *   <caption>Parameter names</caption>
-     *   <tr><td> ESRI:    </td><td> False_Easting </td></tr>
+     *   <tr><td> EPSG:    </td><td> False easting </td></tr>
      *   <tr><td> OGC:     </td><td> false_easting </td></tr>
+     *   <tr><td> ESRI:    </td><td> False_Easting </td></tr>
+     *   <tr><td> NetCDF:  </td><td> false_easting </td></tr>
      *   <tr><td> GeoTIFF: </td><td> FalseEasting </td></tr>
      *   <tr><td> Proj4:   </td><td> x_0 </td></tr>
      * </table>
      */
-    public static final ParameterDescriptor<Double> FALSE_EASTING = 
ESRI.FALSE_EASTING;
+    public static final ParameterDescriptor<Double> FALSE_EASTING = 
Equirectangular.FALSE_EASTING;
 
     /**
      * The operation parameter descriptor for the <cite>False northing</cite> 
(FN) parameter value.
@@ -78,13 +82,15 @@ public final class Mollweide extends MapProjection {
      * <!-- Generated by ParameterNameTableGenerator -->
      * <table class="sis">
      *   <caption>Parameter names</caption>
-     *   <tr><td> ESRI:    </td><td> False_Northing </td></tr>
+     *   <tr><td> EPSG:    </td><td> False northing </td></tr>
      *   <tr><td> OGC:     </td><td> false_northing </td></tr>
+     *   <tr><td> ESRI:    </td><td> False_Northing </td></tr>
+     *   <tr><td> NetCDF:  </td><td> false_northing </td></tr>
      *   <tr><td> GeoTIFF: </td><td> FalseNorthing </td></tr>
      *   <tr><td> Proj4:   </td><td> y_0 </td></tr>
      * </table>
      */
-    public static final ParameterDescriptor<Double> FALSE_NORTHING = 
ESRI.FALSE_NORTHING;
+    public static final ParameterDescriptor<Double> FALSE_NORTHING = 
Equirectangular.FALSE_NORTHING;
 
     /**
      * The group of all parameters expected by this coordinate operation.
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/PolarStereographicSouth.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/PolarStereographicSouth.java
index c5e9837941..46cd0d9436 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/PolarStereographicSouth.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/PolarStereographicSouth.java
@@ -51,7 +51,7 @@ public final class PolarStereographicSouth extends 
AbstractStereographic {
         final ParameterDescriptor<?>[] parameters = {
             standardParallel,
             ESRI.CENTRAL_MERIDIAN,
-            PolarStereographicB.SCALE_FACTOR,                       // Not 
formally a parameter of this projection.
+            PolarStereographicB.SCALE_FACTOR,       // Not formally a 
parameter of this projection.
             ESRI.FALSE_EASTING,
             ESRI.FALSE_NORTHING
         };
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Sinusoidal.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Sinusoidal.java
index 5ed40a2500..ab9a09c673 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Sinusoidal.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Sinusoidal.java
@@ -49,13 +49,15 @@ public class Sinusoidal extends MapProjection {
      * <!-- Generated by ParameterNameTableGenerator -->
      * <table class="sis">
      *   <caption>Parameter names</caption>
-     *   <tr><td> ESRI:    </td><td> Central_Meridian </td></tr>
+     *   <tr><td> EPSG:    </td><td> Longitude of natural origin </td></tr>
      *   <tr><td> OGC:     </td><td> central_meridian </td></tr>
+     *   <tr><td> ESRI:    </td><td> Central_Meridian </td></tr>
+     *   <tr><td> NetCDF:  </td><td> longitude_of_projection_origin </td></tr>
      *   <tr><td> GeoTIFF: </td><td> CenterLong </td></tr>
      *   <tr><td> Proj4:   </td><td> lon_0 </td></tr>
      * </table>
      */
-    public static final ParameterDescriptor<Double> CENTRAL_MERIDIAN = 
ESRI.CENTRAL_MERIDIAN;
+    public static final ParameterDescriptor<Double> CENTRAL_MERIDIAN = 
Equirectangular.LONGITUDE_OF_ORIGIN;
 
     /**
      * The operation parameter descriptor for the <cite>False easting</cite> 
(FE) parameter value.
@@ -64,13 +66,15 @@ public class Sinusoidal extends MapProjection {
      * <!-- Generated by ParameterNameTableGenerator -->
      * <table class="sis">
      *   <caption>Parameter names</caption>
-     *   <tr><td> ESRI:    </td><td> False_Easting </td></tr>
+     *   <tr><td> EPSG:    </td><td> False easting </td></tr>
      *   <tr><td> OGC:     </td><td> false_easting </td></tr>
+     *   <tr><td> ESRI:    </td><td> False_Easting </td></tr>
+     *   <tr><td> NetCDF:  </td><td> false_easting </td></tr>
      *   <tr><td> GeoTIFF: </td><td> FalseEasting </td></tr>
      *   <tr><td> Proj4:   </td><td> x_0 </td></tr>
      * </table>
      */
-    public static final ParameterDescriptor<Double> FALSE_EASTING = 
ESRI.FALSE_EASTING;
+    public static final ParameterDescriptor<Double> FALSE_EASTING = 
Equirectangular.FALSE_EASTING;
 
     /**
      * The operation parameter descriptor for the <cite>False northing</cite> 
(FN) parameter value.
@@ -79,13 +83,15 @@ public class Sinusoidal extends MapProjection {
      * <!-- Generated by ParameterNameTableGenerator -->
      * <table class="sis">
      *   <caption>Parameter names</caption>
-     *   <tr><td> ESRI:    </td><td> False_Northing </td></tr>
+     *   <tr><td> EPSG:    </td><td> False northing </td></tr>
      *   <tr><td> OGC:     </td><td> false_northing </td></tr>
+     *   <tr><td> ESRI:    </td><td> False_Northing </td></tr>
+     *   <tr><td> NetCDF:  </td><td> false_northing </td></tr>
      *   <tr><td> GeoTIFF: </td><td> FalseNorthing </td></tr>
      *   <tr><td> Proj4:   </td><td> y_0 </td></tr>
      * </table>
      */
-    public static final ParameterDescriptor<Double> FALSE_NORTHING = 
ESRI.FALSE_NORTHING;
+    public static final ParameterDescriptor<Double> FALSE_NORTHING = 
Equirectangular.FALSE_NORTHING;
 
     /**
      * The group of all parameters expected by this coordinate operation.
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Wraparound.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Wraparound.java
index 0dbf6bba12..2dfe8da087 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Wraparound.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/Wraparound.java
@@ -27,7 +27,6 @@ import org.apache.sis.parameter.Parameters;
 import org.apache.sis.parameter.ParameterBuilder;
 import org.apache.sis.metadata.iso.citation.Citations;
 import org.apache.sis.referencing.operation.transform.WraparoundTransform;
-import org.apache.sis.util.privy.Constants;
 
 
 /**
@@ -98,8 +97,10 @@ public final class Wraparound extends AbstractProvider {
     public static final ParameterDescriptorGroup PARAMETERS;
     static {
         final ParameterBuilder builder = builder().setCodeSpace(Citations.SIS, 
"SIS");
-        DIMENSION = 
builder.addName(Constants.DIM).createBounded(Integer.class, 1, null, null);
-        WRAPAROUND_DIMENSION = 
builder.addName("wraparound_dim").createBounded(Integer.class, 0, null, null);
+        DIMENSION = 
builder.addName(GeocentricAffineBetweenGeographic.DIMENSION.getName())
+                .createBounded(Integer.class, 1, null, null);
+        WRAPAROUND_DIMENSION = builder.addName("wraparound_dim")
+                .createBounded(Integer.class, 0, null, null);
         PERIOD = builder.addName("period").createStrictlyPositive(Double.NaN, 
null);
         PARAMETERS = builder.addName("Wraparound")
                 .createGroup(DIMENSION,

Reply via email to