Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA50Parser.java @ 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 | 03c824858a40 |
comparison
equal
deleted
inserted
replaced
4783:5f10f1a7456b | 4784:170cf87a042a |
---|---|
110 String gkLRight = line.substring(20,30); | 110 String gkLRight = line.substring(20,30); |
111 String gkLHigh = line.substring(30,40); | 111 String gkLHigh = line.substring(30,40); |
112 String gkRRight = line.substring(40,50); | 112 String gkRRight = line.substring(40,50); |
113 String gkRHigh = line.substring(50,60); | 113 String gkRHigh = line.substring(50,60); |
114 String distance = line.substring(60,70); | 114 String distance = line.substring(60,70); |
115 | |
116 // TODO Intersect/Correlate these with e.g. TIM files. | |
117 // TODO note that as-is these points are really useless. | |
118 currentLine = new ArrayList<XY>(); | |
119 currentLine.add(new XY(0, 10,0)); | |
120 currentLine.add(new XY(Double.parseDouble(distance), 10, 1)); | |
115 } | 121 } |
116 | 122 |
117 | 123 |
118 /** Called when file is fully consumed. */ | 124 /** Called when file is fully consumed. */ |
119 @Override | 125 @Override |