Skip to content

Commit

Permalink
Update osmmap.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey authored Dec 21, 2023
1 parent 5abecfd commit 52743c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dpd/osm/osmmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(self, region):
)

def create_node_tags_lookup(self):
ids = np.concatenate([group["id"] for group in self.osm._nodes])
tags = np.concatenate([group["tags"] for group in self.osm._nodes])
ids = self.osm._nodes["id"]
tags = self.osm._nodes["tags"]
return {ids[i]: tags[i] for i in range(0, len(ids))}

def build_intersections(self, intersections):
Expand Down

0 comments on commit 52743c8

Please sign in to comment.