sometimes duplicate IDs are returned from a query. OSM then doesn't return their geometry anymore, but only a reference to the previously transmitted element.
When choosing responseformat=geojson, this leads to the following error in line 214 and 234: UnknownOverpassError("Received corrupt data from Overpass (incomplete polygon).")
Test query: api.get('relation (52.5,8.3333333,52.75,8.8333333) [water=lake][name="Dümmer"]; out geom;', responseformat="json")
sometimes duplicate IDs are returned from a query. OSM then doesn't return their geometry anymore, but only a reference to the previously transmitted element. When choosing
responseformat=geojson
, this leads to the following error in line 214 and 234:UnknownOverpassError("Received corrupt data from Overpass (incomplete polygon).")
Test query:
api.get('relation (52.5,8.3333333,52.75,8.8333333) [water=lake][name="Dümmer"]; out geom;', responseformat="json")