diff --git a/src/hakunapi-core/src/main/java/fi/nls/hakunapi/core/FeatureWriter.java b/src/hakunapi-core/src/main/java/fi/nls/hakunapi/core/FeatureWriter.java index 8e51fe5..f0eb60a 100644 --- a/src/hakunapi-core/src/main/java/fi/nls/hakunapi/core/FeatureWriter.java +++ b/src/hakunapi-core/src/main/java/fi/nls/hakunapi/core/FeatureWriter.java @@ -27,8 +27,8 @@ public default void init(OutputStream out, int maxDecimalsCoordinate, int srid) public default void init(OutputStream out, int maxDecimalsCoordinate, int srid, boolean crsIsLatLon) throws Exception { int minDecimalsFloat = 0; int maxDecimalsFloat = 5; - int maxDecimalsDouble = 0; - int minDecimalsDouble = 8; + int minDecimalsDouble = 0; + int maxDecimalsDouble = 8; int minDecimalsOrdinate = 0; FloatingPointFormatter f = new DefaultFloatingPointFormatter( minDecimalsFloat,