Download OpenStreetMap shapefile using Python | OSM | Street Network

preview_player
Показать описание
Enjoy and share.

The inspiration for this video lies in

Feel free to reach in case of queries.
Рекомендации по теме
Комментарии
Автор

I get the following error while trying to save, please help me:

ox.save_graph_shapefile(blr_street_projected, filename='Bengaluru')
Traceback (most recent call last):

File "<ipython-input-6-94b2d29f5186>", line 1, in <module>
ox.save_graph_shapefile(blr_street_projected, filename='Bengaluru')

TypeError: save_graph_shapefile() got an unexpected keyword argument 'filename'

karanchellappa
Автор

For Spyder, when I typed " import osmnx as ox", it said No module named 'osmnx'. How could we fix it? Thanks!

import osmnx as ox
Traceback (most recent call last):

File "<ipython-input-1-d4a103aeed40>", line 1, in <module>
import osmnx as ox

ModuleNotFoundError: No module named 'osmnx'

lifecharger
Автор

when I use the function of ox.graph_from_place, it shows RuntimeError: b'no arguments in initialization list'... Does anyone know why it is like this?

lgrace
Автор

pls, when Itry to download pip install OSMnx It gives an error while installation.

OSError: dlopen(libspatialindex_c.dylib, 6): image not found

tahseensaad