jwass / geopandas_osm

Query the OSM Overpass API and get a GeoDataFrame
MIT License
48 stars 16 forks source link

Error after 0.7.55 overpass api update #1

Open ndmel opened 6 years ago

ndmel commented 6 years ago

Api requests fails after recent (may 2018) overpass api update with code '400 BadRequest: Element "print" cannot be subelement of element "union"'

Also discussed here: https://github.com/openstreetmap/openstreetmap-website/issues/1843

Can be fixed by adding additional semicolon at line 137 of osm.py file: query = '({typ}{bbox}{queries};{recurse};);out {meta};'.format(

Your library was very helpfull, so i hope it will help others as well)

ndmel commented 6 years ago

@huskyleo, nope, that was it. Did you re-install the library?

lunliu454 commented 6 years ago

Thanks mr someone!! I struggle with this the whole afternoon!!

lunliu454 commented 6 years ago

@Some11One nope, I went well without re-installing the library