I am looking for a solution that works with the overpass api.
for example:
When trying this approach I get an error that says
"Error: line 1: static error: For the attribute "output" of the element "osm-script" the only allowed values are "xml", "json", "csv", "custom", or "popup"."
Therefore GeoJSON is not supported this way.
I tried several approaches in ipython (python 2.7) to transform json into geojson, but failed so far.
What I need is a way to get OSM as geojson in ipython via using a url (e.g. overpass api).
BR