[Dive4elements-commits] [PATCH 05 of 13] W80Parser: Comment code that is not (yet?) used by FLYS
Wald Commits
scm-commit at wald.intevation.org
Fri Jan 4 11:12:44 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1357220730 -3600
# Node ID 35f4ece9562e8ae75a810b94403b3e2d1313c9d0
# Parent 4db3a1509e90110451b713338cc7195983097b3f
W80Parser: Comment code that is not (yet?) used by FLYS.
diff -r 4db3a1509e90 -r 35f4ece9562e flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 14:42:05 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 14:45:30 2013 +0100
@@ -187,14 +187,21 @@
String gkRight = line.substring(20,30);
String gkHigh = line.substring(30,40);
String date = line.substring(40,46);
+ /* Fields not (yet?) of interest for FLYS
String locType = line.substring(46,47);
+ */
String height = line.substring(47,54);
String dateH = line.substring(54,60);
+ /* Fields not (yet?) of interest for FLYS
String typeH = line.substring(60,61);
String kindH = line.substring(61,64);
+ */
String dateDec = line.substring(64,70);
+ /* Fields not (yet?) of interest for FLYS
String note = line.substring(70,78);
String actual = line.substring(78);
+ */
+
double stationKm = Double.parseDouble(station) / 1000d;
double gkRightKm = Double.parseDouble(gkRight.substring(0,7));
double gkHighKm = Double.parseDouble(gkHigh.substring(0,7));
More information about the Dive4elements-commits
mailing list