sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1683600 - in /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis: io/wkt/GeodeticObjectParser.java referencing/datum/BursaWolfParameters.java
Date Thu, 04 Jun 2015 17:22:52 GMT
Author: desruisseaux
Date: Thu Jun  4 17:22:52 2015
New Revision: 1683600

URL: http://svn.apache.org/r1683600
Log:
Added clarification in javadoc about the BursaWolfParameters values.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/GeodeticObjectParser.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/GeodeticObjectParser.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/GeodeticObjectParser.java?rev=1683600&r1=1683599&r2=1683600&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/GeodeticObjectParser.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/io/wkt/GeodeticObjectParser.java
[UTF-8] Thu Jun  4 17:22:52 2015
@@ -92,7 +92,10 @@ import static java.util.Collections.sing
  */
 final class GeodeticObjectParser extends MathTransformParser {
     /**
-     * The name of the 7 parameters in a {@code TOWGS84[…]} element.
+     * The names of the 7 parameters in a {@code TOWGS84[…]} element.
+     * Those names are derived from the <cite>Well Known Text</cite> (WKT) version
1 specification.
+     * They are not the same than the {@link org.apache.sis.referencing.datum.BursaWolfParameters}
+     * field names, which are derived from the EPSG database.
      */
     private static final String[] ToWGS84 = {"dx", "dy", "dz", "ex", "ey", "ez", "ppm"};
 

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java?rev=1683600&r1=1683599&r2=1683600&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
[UTF-8] Thu Jun  4 17:22:52 2015
@@ -264,6 +264,10 @@ public class BursaWolfParameters extends
      *       this method returns only the first 3 of the above-cited values.</li>
      * </ul>
      *
+     * <div class="note"><b>Note:</b>
+     * the rules about the arrays of length 3, 6 or 7 are derived from the <cite>Well
Known Text</cite> (WKT)
+     * version 1 specification. The rule about the array of length 14 is an extension.</div>
+     *
      * @return The parameter values as an array of length 3, 6, 7 or 14.
      *
      * @since 0.6



Mime
View raw message