UDST / pandana

Pandas Network Analysis by UrbanSim: fast accessibility metrics and shortest paths, using contraction hierarchies :world_map:
http://udst.github.io/pandana
GNU Affero General Public License v3.0
387 stars 83 forks source link

tutorial data #40

Closed gregmacfarlane closed 9 years ago

gregmacfarlane commented 9 years ago

I'm trying to follow the tutorial in tutorial.rst, I can't find the example data called in

store = pd.HDFStore("data/osm_bayarea.h5", "r")

anywhere in the repository. In fact, the only place I can find this file is at the MTC website, but it appears to be behind a login wall.

Are you able to distribute this dataset? If not, is there a different hdf5 dataset that I should try out?

fscottfoti commented 9 years ago

Totally fine to share as it just came from OpenStreetMap. I'll put it on our Dropbox acct for now.

https://www.dropbox.com/s/cycq0v6afckb1w1/osm_bayarea.h5?dl=0

Let me know if you have any trouble!

gregmacfarlane commented 9 years ago

Great, thank you.

fillipefeitosa commented 6 years ago

@fscottfoti Is it possible to make this file available again?

thanks for your time!

fscottfoti commented 6 years ago

The best way to get a network now is just a simple call:

from pandana.loaders import osm
network = osm.pdna_network_from_bbox(37.859, -122.282, 37.881, -122.252)

https://udst.github.io/pandana/loaders.html#openstreetmap