sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1805565 - in /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing: CRS.java operation/CoordinateOperationContext.java
Date Sun, 20 Aug 2017 15:38:02 GMT
Author: desruisseaux
Date: Sun Aug 20 15:38:01 2017
New Revision: 1805565

URL: http://svn.apache.org/viewvc?rev=1805565&view=rev
Log:
Add comment about future possible development: take locale in account.
https://issues.apache.org/jira/browse/SIS-365

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationContext.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java?rev=1805565&r1=1805564&r2=1805565&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/CRS.java
[UTF-8] Sun Aug 20 15:38:01 2017
@@ -554,6 +554,9 @@ public final class CRS extends Static {
      * Finds a mathematical operation that transforms or converts coordinates from the given
source to the
      * given target coordinate reference system. If an estimation of the geographic area
containing the points
      * to transform is known, it can be specified for helping this method to find a better
suited operation.
+     * If no area of interest is specified, then the current default is the widest
+     * {@linkplain AbstractCoordinateOperation#getDomainOfValidity() domain of validity}.
+     * A future Apache SIS version may also take the country of current locale in account.
      *
      * <div class="note"><b>Note:</b>
      * the area of interest is just one aspect that may affect the coordinate operation.

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationContext.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationContext.java?rev=1805565&r1=1805564&r2=1805565&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationContext.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationContext.java
[UTF-8] Sun Aug 20 15:38:01 2017
@@ -57,6 +57,9 @@ import java.util.function.Predicate;
  * @version 0.7
  * @since   0.7
  * @module
+ *
+ * @todo Should also take the country of a {@link java.util.Locale}. The EPSG database contains
ISO2 and ISO3
+ *       identifiers that we can use.
  */
 public class CoordinateOperationContext implements Serializable {
     /**



Mime
View raw message