changeset 3311:53ad37c8abe3

SQ relation: More fixes. flys-artifacts/trunk@5000 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 13 Jul 2012 16:01:18 +0000
parents 8af1111af180
children 41a7b171bd59
files flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java	Fri Jul 13 15:41:56 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java	Fri Jul 13 16:01:18 2012 +0000
@@ -146,8 +146,8 @@
             attr,
             desc,
             500,
-            func.getMinQ(),
-            func.getMaxQ());
+            Math.max(func.getMinQ(), 0.01),
+            Math.max(func.getMaxQ(), 0.02));
 
         if (logger.isDebugEnabled()) {
             logger.debug("Series '" + desc + "' has "

http://dive4elements.wald.intevation.org