changeset 5440:765013c837b1

Allow km-ranges without decimal separator in bed height import
author Tom Gottfried <tom.gottfried@intevation.de>
date Tue, 26 Mar 2013 18:06:42 +0100
parents 7aeb2c101628
children 7c1dd9c3f6bd
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java	Tue Mar 26 18:04:59 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java	Tue Mar 26 18:06:42 2013 +0100
@@ -67,7 +67,7 @@
         Pattern.compile("^ausgewertete Peilbreite: (\\d*).*");
 
     public static final Pattern META_RANGE =
-        Pattern.compile("^Strecke:\\D*(\\d++.\\d*)-(\\d++.\\d*).*");
+        Pattern.compile("^Strecke:\\D*(\\d++.?\\d*)-(\\d++.?\\d*).*");
 
     public static final Pattern META_EVALUATION_BY =
         Pattern.compile("^Auswerter: (.*).*");

http://dive4elements.wald.intevation.org