mvexel / overpass-api-python-wrapper

Python bindings for the OpenStreetMap Overpass API
Apache License 2.0
369 stars 90 forks source link

not possible to use the recurse operator in OSM query #54

Closed sandrotosi closed 6 years ago

sandrotosi commented 8 years ago

as query is composed, there is always a out body geom at the end of it, so it looks like it's not possible to use specify the recurse operator, at least based on what overpass translator proposes, which is <query>;out body;>;out skel;

mvexel commented 6 years ago

You can pass build=False to your get() call to circumvent the module's 'smart' behavior. In that case you just pass a full Overpass query in. Let me know if that works for you!