forked from MapComplete/MapComplete
Fix making changes to relations
This commit is contained in:
parent
0ab0d159cc
commit
0c760c8458
1 changed files with 2 additions and 0 deletions
|
@ -439,6 +439,8 @@ export class OsmWay extends OsmObject {
|
|||
const node = nodeDict.get(nodeId)
|
||||
if(node === undefined){
|
||||
console.error("Error: node ", nodeId, "not found in ", nodeDict)
|
||||
// This is probably part of a relation which hasn't been fully downloaded
|
||||
continue;
|
||||
}
|
||||
const cp = node.centerpoint();
|
||||
this.coordinates.push(cp);
|
||||
|
|
Loading…
Reference in a new issue