From commits-return-13865-apmail-sis-commits-archive=sis.apache.org@sis.apache.org Tue Sep 1 08:56:38 2020 Return-Path: X-Original-To: apmail-sis-commits-archive@www.apache.org Delivered-To: apmail-sis-commits-archive@www.apache.org Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with ESMTP id 082561A2FB for ; Tue, 1 Sep 2020 08:56:35 +0000 (UTC) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id A59451275B0 for ; Tue, 1 Sep 2020 08:56:35 +0000 (UTC) Received: (qmail 26501 invoked by uid 500); 1 Sep 2020 08:56:35 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 26476 invoked by uid 500); 1 Sep 2020 08:56:35 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 26467 invoked by uid 99); 1 Sep 2020 08:56:35 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2020 08:56:35 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id BE8F08F141; Tue, 1 Sep 2020 08:56:34 +0000 (UTC) Date: Tue, 01 Sep 2020 08:56:34 +0000 To: "commits@sis.apache.org" Subject: [sis] branch geoapi-4.0 updated: Set GCOM-C coordinate reference system to WGS84, as specified in their documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <159895059455.20867.17929419772321500049@gitbox.apache.org> From: desruisseaux@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: sis X-Git-Refname: refs/heads/geoapi-4.0 X-Git-Reftype: branch X-Git-Oldrev: 5227d015b8f07ac700a3a098c8ccf0d84664ed7f X-Git-Newrev: 2d07e6a783887faebe3737669607d7e5ed4117c1 X-Git-Rev: 2d07e6a783887faebe3737669607d7e5ed4117c1 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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; }