sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1670613 - /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/PseudoMercator.java
Date Wed, 01 Apr 2015 10:55:12 GMT
Author: desruisseaux
Date: Wed Apr  1 10:55:11 2015
New Revision: 1670613

URL: http://svn.apache.org/r1670613
Log:
Referencing: scale factor of Pseudo Mercator projection should have only the EPSG name.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/PseudoMercator.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/PseudoMercator.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/PseudoMercator.java?rev=1670613&r1=1670612&r2=1670613&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/PseudoMercator.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/PseudoMercator.java
[UTF-8] Wed Apr  1 10:55:11 2015
@@ -70,8 +70,8 @@ public final class PseudoMercator extend
          * according EPSG. But we declare it as an optional parameters because it is sometime
used.
          */
         final InternationalString remarks = notFormalParameter(Mercator1SP.NAME, "Pseudo
Mercator");
-        final ParameterDescriptor<?> scaleFactor = createScale(withEsriAndNetcdf(Mercator1SP.SCALE_FACTOR,
builder,
-                "Scale_Factor", "scale_factor_at_projection_origin").setRemarks(remarks).setRequired(false));
+        final ParameterDescriptor<?> scaleFactor = createScale(onlyEPSG(Mercator1SP.SCALE_FACTOR,
builder)
+                .setRemarks(remarks).setRequired(false));
 
         PARAMETERS = builder
             .addIdentifier("1024")



Mime
View raw message