summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-06-24 21:05:51 +0200
committerMartin Fischer <martin@push-f.com>2022-06-24 21:05:51 +0200
commit4836c2b42f6eb6c99b27375d00492b63e4500892 (patch)
tree4feff78ad30eae5347da1118ae73068b4b44382e
parenta62869ce823a812232522c788e5f01a2a9db662d (diff)
rename it to mapped_length
-rwxr-xr-xfetch_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch_data.py b/fetch_data.py
index 8739fbf..bf96ee9 100755
--- a/fetch_data.py
+++ b/fetch_data.py
@@ -117,7 +117,7 @@ def query_overpass(relation_ids: Collection[int], with_length: bool):
data = dict(tags={k: v for k, v in rel['tags'].items() if k in KEYS})
if with_length:
- data['length'] = get_length(rel, all_relations)
+ data['mapped_length'] = get_length(rel, all_relations)
relations[rel_id] = data