We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 080baf8 commit f283126Copy full SHA for f283126
mapswipe_workers/mapswipe_workers/utils/api_calls.py
@@ -52,7 +52,7 @@ def remove_noise_and_add_user_info(json: dict) -> dict:
52
"@lastEdit": 0,
53
"@osmId": 0,
54
"@version": 0,
55
- "source": 0,
+ "created_by": 0,
56
"hashtags": 0,
57
}
58
@@ -80,6 +80,13 @@ def remove_noise_and_add_user_info(json: dict) -> dict:
80
except KeyError:
81
missing_rows["hashtags"] += 1
82
83
+ try:
84
+ new_properties["created_by"] = changeset_results[changeset_id]["tags"][
85
+ "created_by"
86
+ ]
87
+ except KeyError:
88
+ missing_rows["created_by"] += 1
89
+
90
feature["properties"] = new_properties
91
logger.info("finished filtering and adding extra info")
92
if any(x > 0 for x in missing_rows.values()):
0 commit comments