[Dive4elements-commits] [PATCH 2 of 2] DA66Parser: Added TODOs about riveraxis
Wald Commits
scm-commit at wald.intevation.org
Wed Jan 9 09:42:20 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1357719572 -3600
# Node ID 8b609ea08128d79d08475a45b8c31c0929beb79a
# Parent fc571444da509934c0e15c210e811e33f15a9c3c
DA66Parser: Added TODOs about riveraxis.
diff -r fc571444da50 -r 8b609ea08128 flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Wed Jan 09 09:19:15 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Wed Jan 09 09:19:32 2013 +0100
@@ -352,6 +352,8 @@
Matcher m = LINE_PATTERN.matcher(line);
if (m.find()) {
// Actually matches!
+ // TODO 'move' last line to match river axis
+ // TODO find river axis intersection
currentLine = new ArrayList<XY>();
double station = stationInKm(Double.parseDouble(m.group(FIELD.STATION.getIdx())));
data.put(station, currentLine);
@@ -436,6 +438,7 @@
/** Called when file is fully consumed. */
@Override
protected void finish() {
+ // TODO 'move' last line to match river axis
logger.info("Parsed " + data.size() + " lines");
}
More information about the Dive4elements-commits
mailing list