comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java @ 4759:35f4ece9562e

W80Parser: Comment code that is not (yet?) used by FLYS.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 03 Jan 2013 14:45:30 +0100
parents 4db3a1509e90
children 69bb2996ed19
comparison
equal deleted inserted replaced
4758:4db3a1509e90 4759:35f4ece9562e
185 String pointIndex = line.substring(17,21); 185 String pointIndex = line.substring(17,21);
186 // For GK, first seven digits are of interest. 186 // For GK, first seven digits are of interest.
187 String gkRight = line.substring(20,30); 187 String gkRight = line.substring(20,30);
188 String gkHigh = line.substring(30,40); 188 String gkHigh = line.substring(30,40);
189 String date = line.substring(40,46); 189 String date = line.substring(40,46);
190 /* Fields not (yet?) of interest for FLYS
190 String locType = line.substring(46,47); 191 String locType = line.substring(46,47);
192 */
191 String height = line.substring(47,54); 193 String height = line.substring(47,54);
192 String dateH = line.substring(54,60); 194 String dateH = line.substring(54,60);
195 /* Fields not (yet?) of interest for FLYS
193 String typeH = line.substring(60,61); 196 String typeH = line.substring(60,61);
194 String kindH = line.substring(61,64); 197 String kindH = line.substring(61,64);
198 */
195 String dateDec = line.substring(64,70); 199 String dateDec = line.substring(64,70);
200 /* Fields not (yet?) of interest for FLYS
196 String note = line.substring(70,78); 201 String note = line.substring(70,78);
197 String actual = line.substring(78); 202 String actual = line.substring(78);
203 */
204
198 double stationKm = Double.parseDouble(station) / 1000d; 205 double stationKm = Double.parseDouble(station) / 1000d;
199 double gkRightKm = Double.parseDouble(gkRight.substring(0,7)); 206 double gkRightKm = Double.parseDouble(gkRight.substring(0,7));
200 double gkHighKm = Double.parseDouble(gkHigh.substring(0,7)); 207 double gkHighKm = Double.parseDouble(gkHigh.substring(0,7));
201 double heightM = Double.parseDouble(height); 208 double heightM = Double.parseDouble(height);
202 209

http://dive4elements.wald.intevation.org