Заранее спасибо за помощь.
Код: Выделить всё
batiments = ox.geometries_from_place(saint_denis, tags={'building':['office',
'university', 'stadium',
'civic']})
routes = ox.geometries_from_place(saint_denis, tags={'highway':['primary',
'secondary']})
#export to geojson
batiments.to_file('dataframe.geojson', driver='GeoJSON')

Подробнее здесь: https://stackoverflow.com/questions/707 ... to-geojson