Changeset 2398 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2009-11-07T12:53:31+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r2396 r2398 518 518 } 519 519 ds.addPrimitive(primitive); 520 521 if (rm.type.equals("node")) { 522 externalIdMap.put("n" + rm.id, primitive); 523 } else if (rm.type.equals("way")) { 524 externalIdMap.put("w" + rm.id, primitive); 525 } else if (rm.type.equals("relation")) { 526 externalIdMap.put("r" + rm.id, primitive); 527 } 528 520 529 } 521 530 relationMembers.add(new RelationMember(rm.role, primitive));
Note:
See TracChangeset
for help on using the changeset viewer.