diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2020-12-03 14:44:41 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2020-12-03 14:44:41 +0100 |
| commit | e15617848b6837216a8ceed4ca23b3bb415a42f7 (patch) | |
| tree | 88da2cf0cfa7ef7901f24e8a58246b4b4254387b /store.py | |
| parent | 3e4015d2c06935b9c2c3da92f586df02c1b903d2 (diff) | |
| download | tdde25-e15617848b6837216a8ceed4ca23b3bb415a42f7.tar.gz | |
implement iterparsexml-iterparse
Diffstat (limited to 'store.py')
| -rw-r--r-- | store.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -14,7 +14,6 @@ class Node: def add_neighbours(nodes, parser): - print("adding neighbours") for way in parser.iter_ways(): if 'highway' not in way['tags']: continue @@ -52,4 +51,3 @@ def select_nodes_in_rectangle(nodes, min_lat, max_lat, min_long, max_long): return [node for node in nodes.values() if min_lat <= node.lat <= max_lat and min_long <= node.lng <= max_long] - |
