Changeset 4532 in josm for trunk/src/org/openstreetmap/josm/io/OsmReader.java
- Timestamp:
- 2011-10-20T14:32:44+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r4530 r4532 156 156 } 157 157 158 protected voidparseNode() throws XMLStreamException {158 protected Node parseNode() throws XMLStreamException { 159 159 NodeData nd = new NodeData(); 160 160 nd.setCoor(new LatLon(Double.parseDouble(parser.getAttributeValue(null, "lat")), Double.parseDouble(parser.getAttributeValue(null, "lon")))); … … 173 173 } 174 174 } else if (event == XMLStreamConstants.END_ELEMENT) { 175 return; 176 } 177 } 178 } 179 180 protected voidparseWay() throws XMLStreamException {175 return n; 176 } 177 } 178 } 179 180 protected Way parseWay() throws XMLStreamException { 181 181 WayData wd = new WayData(); 182 182 readCommon(wd); … … 206 206 } 207 207 ways.put(wd.getUniqueId(), nodeIds); 208 return w; 208 209 } 209 210 … … 224 225 } 225 226 226 protected voidparseRelation() throws XMLStreamException {227 protected Relation parseRelation() throws XMLStreamException { 227 228 RelationData rd = new RelationData(); 228 229 readCommon(rd); … … 252 253 } 253 254 relations.put(rd.getUniqueId(), members); 255 return r; 254 256 } 255 257
Note:
See TracChangeset
for help on using the changeset viewer.
