Skip to content

Commit 40f1828

Browse files
committed
repair geojson output
1 parent 0e27a69 commit 40f1828

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

overpass/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def _get_from_overpass(self, query):
166166
def _as_geojson(self, elements):
167167

168168
features = []
169+
geometry = None
169170
for elem in elements:
170171
elem_type = elem.get("type")
171172
if elem_type and elem_type == "node":

0 commit comments

Comments
 (0)