sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1838555 [1/2] - in /sis/data/non-free/sis-epsg/src/main: java/org/apache/sis/referencing/factory/sql/epsg/ScriptProvider.java resources/org/apache/sis/referencing/factory/sql/epsg/Data.sql
Date Tue, 21 Aug 2018 14:44:22 GMT
Author: desruisseaux
Date: Tue Aug 21 14:44:21 2018
New Revision: 1838555

URL: http://svn.apache.org/viewvc?rev=1838555&view=rev
Log:
Upgrade EPSG scripts from 9.3 to 9.4 - https://issues.apache.org/jira/browse/SIS-396
This upgrade contains a character encoding change from ISO 8859-1 to UTF-8.
In addition, some floating point parameter values have been changed to exponential notation
for avoiding issue when inserting in Derby database
(Derby 10.14 documents a limit of 30 characters when inserting floating point values, even
when using the "DOUBLE PRECISION" type).

Modified:
    sis/data/non-free/sis-epsg/src/main/java/org/apache/sis/referencing/factory/sql/epsg/ScriptProvider.java
    sis/data/non-free/sis-epsg/src/main/resources/org/apache/sis/referencing/factory/sql/epsg/Data.sql

Modified: sis/data/non-free/sis-epsg/src/main/java/org/apache/sis/referencing/factory/sql/epsg/ScriptProvider.java
URL: http://svn.apache.org/viewvc/sis/data/non-free/sis-epsg/src/main/java/org/apache/sis/referencing/factory/sql/epsg/ScriptProvider.java?rev=1838555&r1=1838554&r2=1838555&view=diff
==============================================================================
--- sis/data/non-free/sis-epsg/src/main/java/org/apache/sis/referencing/factory/sql/epsg/ScriptProvider.java
[UTF-8] (original)
+++ sis/data/non-free/sis-epsg/src/main/java/org/apache/sis/referencing/factory/sql/epsg/ScriptProvider.java
[UTF-8] Tue Aug 21 14:44:21 2018
@@ -89,7 +89,7 @@ public class ScriptProvider extends Inst
 
     /**
      * Returns the content for the SQL script of the given name.
-     * The file encoding is ISO-8859-1 (a.k.a. ISO-LATIN-1).
+     * The file encoding is UTF-8.
      *
      * @param name  either {@code "Tables.sql"}, {@code "Data.sql"} or {@code "FKeys.sql"}.
      * @return the SQL script of the given name, or {@code null} if the given name is not
one of the expected names.



Mime
View raw message