sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1651214 - /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java
Date Mon, 12 Jan 2015 22:13:20 GMT
Author: desruisseaux
Date: Mon Jan 12 22:13:19 2015
New Revision: 1651214

URL: http://svn.apache.org/r1651214
Log:
Temporarily disable the check for prime meridian in Bursa-Wolf parameters.
We need to revisit this policy, since NTF datum (for instance) have TOWGS84 parameters.
We need to make clear that longitude rotation shall be applied by the callers.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java?rev=1651214&r1=1651213&r2=1651214&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java
[UTF-8] Mon Jan 12 22:13:19 2015
@@ -260,8 +260,9 @@ public class DefaultGeodeticDatum extend
                 param.verify();
                 final GeodeticDatum targetDatum = param.getTargetDatum();
                 if (targetDatum != null && !isGreenwichLongitudeEquals(primeMeridian,
targetDatum.getPrimeMeridian())) {
-                    throw new IllegalArgumentException(Errors.format(
-                            Errors.Keys.MismatchedPrimeMeridianInBWP_1, primeMeridian.getName()));
+// TODO
+//                  throw new IllegalArgumentException(Errors.format(
+//                          Errors.Keys.MismatchedPrimeMeridianInBWP_1, primeMeridian.getName()));
                 }
                 bursaWolf[i] = param;
             }



Mime
View raw message