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 195b528 Register the SatelliteTracking projection. This commit completes https://issues.apache.org/jira/browse/SIS-452 195b528 is described below commit 195b528287739eeae7ee3f90347e798514b067ba Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Fri Oct 4 17:33:02 2019 +0200 Register the SatelliteTracking projection. This commit completes https://issues.apache.org/jira/browse/SIS-452 --- .../services/org.opengis.referencing.operation.OperationMethod | 1 + .../operation/transform/DefaultMathTransformFactoryTest.java | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/sis-referencing/src/main/resources/META-INF/services/org.opengis.referencing.operation.OperationMethod b/core/sis-referencing/src/main/resources/META-INF/services/org.opengis.referencing.operation.OperationMethod index f1a2d3d..26726f5 100644 --- a/core/sis-referencing/src/main/resources/META-INF/services/org.opengis.referencing.operation.OperationMethod +++ b/core/sis-referencing/src/main/resources/META-INF/services/org.opengis.referencing.operation.OperationMethod @@ -62,3 +62,4 @@ org.apache.sis.internal.referencing.provider.NTv2 org.apache.sis.internal.referencing.provider.NADCON org.apache.sis.internal.referencing.provider.FranceGeocentricInterpolation org.apache.sis.internal.referencing.provider.Interpolation1D +org.apache.sis.internal.referencing.provider.SatelliteTracking diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactoryTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactoryTest.java index 1d8f678..cc4ab05 100644 --- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactoryTest.java +++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactoryTest.java @@ -39,6 +39,7 @@ import org.apache.sis.internal.referencing.provider.Affine; import org.apache.sis.internal.referencing.provider.Mercator1SP; import org.apache.sis.internal.system.DefaultFactories; import org.apache.sis.internal.util.Constants; +import org.apache.sis.measure.Units; // Test dependencies import org.apache.sis.referencing.cs.HardCodedCS; @@ -56,7 +57,7 @@ import static org.opengis.test.Assert.*; * files found on the classpath. * * @author Martin Desruisseaux (Geomatys) - * @version 1.0 + * @version 1.1 * @since 0.6 * @module */ @@ -231,6 +232,12 @@ public final strictfp class DefaultMathTransformFactoryTest extends TestCase { pg.parameter("Longitude_Of_2nd_Point").setValue(20); break; } + case "Satellite-Tracking": { + pg.parameter("satellite_orbit_inclination").setValue( 99.092); // Landsat 1, 2 and 3. + pg.parameter("satellite_orbital_period") .setValue( 103.267, Units.MINUTE); + pg.parameter("ascending_node_period") .setValue(1440.0, Units.MINUTE); + break; + } } if (param != null) { pg.parameter(param).setValue(value);