sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated: Set GCOM-C coordinate reference system to WGS84, as specified in their documentation.
Date Tue, 01 Sep 2020 08:56:34 GMT
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 2d07e6a  Set GCOM-C coordinate reference system to WGS84, as specified in their documentation.
2d07e6a is described below

commit 2d07e6a783887faebe3737669607d7e5ed4117c1
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Tue Sep 1 10:56:09 2020 +0200

    Set GCOM-C coordinate reference system to WGS84, as specified in their documentation.
---
 .../src/main/java/org/apache/sis/internal/earth/netcdf/GCOM_C.java   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/profiles/sis-japan-profile/src/main/java/org/apache/sis/internal/earth/netcdf/GCOM_C.java
b/profiles/sis-japan-profile/src/main/java/org/apache/sis/internal/earth/netcdf/GCOM_C.java
index 8afc9c6..d66a56c 100644
--- a/profiles/sis-japan-profile/src/main/java/org/apache/sis/internal/earth/netcdf/GCOM_C.java
+++ b/profiles/sis-japan-profile/src/main/java/org/apache/sis/internal/earth/netcdf/GCOM_C.java
@@ -414,15 +414,14 @@ public final class GCOM_C extends Convention {
 
     /**
      * Returns the default prime meridian, ellipsoid, datum or CRS to use if no information
is found in the netCDF file.
-     * While GCOM documentation said that the datum is WGS 84, we have found that the map
projection applied use spherical
-     * formulas.
+     * GCOM documentation said that the datum is WGS 84.
      *
      * @param  spherical  ignored, since we assume a sphere in all cases.
      * @return information about geodetic objects to use if no explicit information is found
in the file.
      */
     @Override
     public CommonCRS defaultHorizontalCRS(final boolean spherical) {
-        return CommonCRS.SPHERE;
+        return CommonCRS.WGS84;
     }
 
 


Mime
View raw message