[Dive4elements-commits] [PATCH 4 of 5] Fix reference curve creation
Wald Commits
scm-commit at wald.intevation.org
Mon Dec 3 10:49:11 CET 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1354528345 -3600
# Node ID e285630569dcecdeca1339e09a0e04c41f8f848a
# Parent c1df0dac140bd8e0ca16e1b73882c127684fa5ac
Fix reference curve creation.
diff -r c1df0dac140b -r e285630569dc flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java Mon Dec 03 10:51:49 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java Mon Dec 03 10:52:25 2012 +0100
@@ -329,7 +329,7 @@
if (locationStr == null || locationStr.length() == 0) {
if (flys instanceof WINFOArtifact) {
WINFOArtifact winfo = (WINFOArtifact) flys;
- if (winfo.getReferenceStartKm() != null) {
+ if (winfo.getReferenceStartKm() != null && winfo.getReferenceEndKms() != null) {
return new double[]
{
winfo.getReferenceStartKm().doubleValue(),
More information about the Dive4elements-commits
mailing list