Changeset 34652 in osm for applications/editors/josm/plugins/seachart/src/s57/S57osm.java
- Timestamp:
- 2018-09-15T13:50:24+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57osm.java
r33724 r34652 9 9 import s57.S57map.Snode; 10 10 import s57.S57obj.Obj; 11 import s57.S57val.CatBUA;12 11 import s57.S57val.CatROD; 13 12 import s57.S57val.Conv; … … 131 130 } 132 131 } else { 133 if ((inNode || inWay || inRel) && (ln.contains("<tag"))) {132 if ((inNode || inWay || inRel) && ln.contains("<tag")) { 134 133 k = v = ""; 135 134 String[] token = ln.split("k="); … … 205 204 ref = Long.parseLong(token.split("[\"\']")[1]); 206 205 } else if (token.matches("^type=.+")) { 207 type = (token.split("[\"\']")[1]);206 type = token.split("[\"\']")[1]; 208 207 } else if (token.matches("^role=.+")) { 209 208 String[] str = token.split("[\"\']"); 210 209 if (str.length > 1) { 211 role = (token.split("[\"\']")[1]);210 role = token.split("[\"\']")[1]; 212 211 } 213 212 }
Note:
See TracChangeset
for help on using the changeset viewer.