Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java @ 4758:4db3a1509e90
W80Parser: Respect (ignore) 'shore' field of w80 files.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 03 Jan 2013 14:42:05 +0100 |
parents | e965593eee57 |
children | 35f4ece9562e |
comparison
equal
deleted
inserted
replaced
4757:e965593eee57 | 4758:4db3a1509e90 |
---|---|
176 // The 'shore' field shows which side of the river the shore is measured. | 176 // The 'shore' field shows which side of the river the shore is measured. |
177 // Therefore, the points have to be added in the correct order (also | 177 // Therefore, the points have to be added in the correct order (also |
178 // because later distances are calculated which cannot be | 178 // because later distances are calculated which cannot be |
179 // negative. | 179 // negative. |
180 String pointId = line.substring(0,20); | 180 String pointId = line.substring(0,20); |
181 String station = line.substring(9,16); | 181 String station = line.substring(9,15); |
182 String shore = line.substring(15,17); | |
182 // TODO: There is 'station' and a 'shore'-code behind. | 183 // TODO: There is 'station' and a 'shore'-code behind. |
183 // 1 = left, 2 = right. none = middle | 184 // 1 = left, 2 = right. none = middle |
184 String pointIndex = line.substring(16,21); | 185 String pointIndex = line.substring(17,21); |
185 // For GK, first seven digits are of interest. | 186 // For GK, first seven digits are of interest. |
186 String gkRight = line.substring(20,30); | 187 String gkRight = line.substring(20,30); |
187 String gkHigh = line.substring(30,40); | 188 String gkHigh = line.substring(30,40); |
188 String date = line.substring(40,46); | 189 String date = line.substring(40,46); |
189 String locType = line.substring(46,47); | 190 String locType = line.substring(46,47); |