Changeset 2971 in josm for trunk/src/org
- Timestamp:
- 2010-02-12T23:23:11+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r2953 r2971 469 469 */ 470 470 private void processRelationsAfterParsing() throws IllegalDataException { 471 472 // First add all relations to make sure that when relation reference other relation, the referenced will be already in dataset 473 for (Long externalRelationId : relations.keySet()) { 474 Relation relation = (Relation) externalIdMap.get( 475 new SimplePrimitiveId(externalRelationId, OsmPrimitiveType.RELATION) 476 ); 477 ds.addPrimitive(relation); 478 } 479 471 480 for (Long externalRelationId : relations.keySet()) { 472 481 Relation relation = (Relation) externalIdMap.get( … … 517 526 } 518 527 relation.setMembers(relationMembers); 519 ds.addPrimitive(relation);520 528 } 521 529 }
Note:
See TracChangeset
for help on using the changeset viewer.