changeset 4784:170cf87a042a

DA50Parser: Added very basic DA50 parsing (no intersetions or correlation yet done, so pretty useless).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 08 Jan 2013 12:31:21 +0100
parents 5f10f1a7456b
children 522b424c9c2a
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java	Tue Jan 08 12:30:29 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java	Tue Jan 08 12:31:21 2013 +0100
@@ -112,6 +112,12 @@
         String gkRRight = line.substring(40,50);
         String gkRHigh  = line.substring(50,60);
         String distance = line.substring(60,70);
+
+        // TODO Intersect/Correlate these with e.g. TIM files.
+        // TODO note that as-is these points are really useless.
+        currentLine = new ArrayList<XY>();
+        currentLine.add(new XY(0, 10,0));
+        currentLine.add(new XY(Double.parseDouble(distance), 10, 1));
     }
 
 

http://dive4elements.wald.intevation.org