Mercurial > dive4elements > river
changeset 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 |
files | flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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));