Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OSM / OSMnx examples #23

Open
emiliom opened this issue Mar 22, 2019 · 4 comments
Open

Add OSM / OSMnx examples #23

emiliom opened this issue Mar 22, 2019 · 4 comments

Comments

@emiliom
Copy link
Member

emiliom commented Mar 22, 2019

From my post to Slack channel: Reminded me of how cool OSMnx seemed the first time I learned about it! I've been tickled to see how applicable the network/graph/NetworkX tools would be to handling OSM river networks and other water bodies. I've been impressed seeing the quality of coverage for smaller water bodies in OSM in some developing countries. I just saw this cool paper from the main OSMnx developer, on City Street Orientations around the World. The plot of street grid orientations in cities across the world is awesome!

@emiliom emiliom changed the title Adding OSM examples Adding OSM / OSMnx examples Mar 22, 2019
@emiliom emiliom changed the title Adding OSM / OSMnx examples Add OSM / OSMnx examples Mar 22, 2019
@emiliom
Copy link
Member Author

emiliom commented May 29, 2019

Nice, recent notebook from Shay, where she uses OSMnx for buildings, areas and streets: https://github.com/shaystrong/sagely/blob/master/osm_ml_training.ipynb

@emiliom
Copy link
Member Author

emiliom commented May 31, 2019

From Friedrich, May 5:

I think the main addition to the existing tutorials is pulling in raster / vector data on the fly from open data sources, using a predefined lat lon box. This will allow us to easily switch between hotosm campaign target areas, as needed, and provide participants with a useful starting point moving beyond Geohack to explore these data at any location around the world.

Attached is a gist (srtm_example.html) of what that might look like, in this case using the elevation package to pull in SRTM raster data. The target area corresponds to hotosm task 5678 with the following bounding box [104.917171, 16.330147, 105.805508, 15.294198]

The hotosm task used to kickoff Geohack will cover a different area. Chase Stephens from OSM Seattle (CC'ed) will try to secure a clean task for us (~1 month in advance) which focuses on delineating buildings, as is the focus for task 5678.

From here I leave it to you which open data sources to pull in and how to work that into the tutorials. Some ideas on general objectives:

Vector tutorial:

  • pull in OSM vector data on the fly for the specified bounding box using the OSM API
  • learn how to explore the data using geopandas and shapely etc.
  • groom and clean - ready for ML (again, this might just entail dropping unnecessary field and changing the projection)
  • learn how to add additional points and lines to the dataframe

@emiliom
Copy link
Member Author

emiliom commented Jun 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant