Upgrade to Pro — share decks privately, control downloads, hide ads and more …

2014-04-17 Sync Norwich Introduction to OpenStreetMap Shaun McDonald

2014-04-17 Sync Norwich Introduction to OpenStreetMap Shaun McDonald

An introduction to OpenStreetMap as presented at Sync Norwich on 17th April 2014.

Shaun McDonald

April 17, 2014
Tweet

More Decks by Shaun McDonald

Other Decks in Technology

Transcript

  1. About Me ❖ Came across OpenStreetMap back in March 2007!

    ❖ Started editing in Edinburgh! ❖ Moved to London to work for CloudMade in April 2008! ❖ Wrote significant portion of API 0.6! ❖ Helped run various mapping parties and conferences over the years! ❖ Moved to Ipswich to work for ITO World in June 2012
  2. Why OpenStreetMap? ❖ Started by Steve Coast in 2004 after

    problems with cost of geo data from the Ordnance Survey! ❖ Licensing problems for what the data could be used for, thus innovation stifled! ❖ Custom rendering for specialist maps! ❖ Custom routing engines! ❖ Offline maps! ❖ Fabric
  3. CycleStreets ❖ First journey planner for cyclists in the UK!

    ❖ Available on the web, mobile, apps, and API for developers! ❖ Integrated into various cycle campaign organisations and local authority websites! ❖ http://www.cyclestreets.net/ ! ❖ http://cycle.st/j40333132
  4. Haiti ❖ Disaster relief! ❖ Remote mapping! ❖ Obtaining imagery!

    ❖ Humanitarian OpenStreetMap Team (HOT) formed shortly afterward for future disasters! ❖ @hotosm! ❖ http://hot.openstreetmap.org/ ! ❖ http://vimeo.com/9182869
  5. Bus stop timetable posters ❖ ITO World produce web tools

    for creating bus stop timetable posters! ❖ Used in Norfolk, and various other regions! ❖ Map of the area around the bus stop is useful for people getting off the bus
  6. Splash Maps ❖ Problems with licensing Ordnance Survey data! ❖

    Comes from the problem of travelling with paper maps getting wet and hard to fold! ❖ Use a combination of Open Ordnance Survey and OpenStreetMap data! ❖ http://www.splashmaps.net/
  7. Foursquare ❖ In March 2012, Foursquare switched to using OSM

    through MapBox! ❖ Google Maps introduced charging for bigger users of their maps! ❖ https://foursquare.com/about/osm ! ❖ https://www.mapbox.com/blog/ foursquare-switches-mapbox-streets- openstreetmap/
  8. Editing cycle Spot error or missing data in OSM Collect

    data from the ground! or from local knowledge Change the data in an editor and upload/save See the changes appear on maps ❖ http://learnosm.org/en/
  9. Data collection ❖ Pen and paper! ❖ http://walking-papers.org/ ! ❖

    GPS (phone or dedicated)! ❖ Mobile phone! ❖ Camera! ❖ Video! ❖ Audio
  10. Editing OSM: iD ❖ Newest mainstream editor! ❖ Default editor!

    ❖ Javascript based! ❖ Simplest for beginners! ❖ Don’t need to worry 
 about data model! ❖ Localised presets
  11. Editing OSM: Potlatch 2 ❖ Previous default editor! ❖ Adobe

    Flash based! ❖ Still has some advanced features that are not available elsewhere
  12. Editing OSM: JOSM ❖ Desktop editor! ❖ Java! ❖ Aimed

    at advanced users! ❖ People used to GIS packages may find it easier to use
  13. Editing OSM: Vespucci ❖ Android mobile editor! ❖ Ideal for

    small on the ground edits! ❖ Uses JOSM presets
  14. Editing OSM: Go Map! ❖ iOS editor! ❖ Ideal for

    small on the ground edits! ❖ Can be used by beginners
  15. Data Model: Nodes ❖ Single points! ❖ Examples:! ❖ Bus

    stops, Stations! ❖ Bicycle parking, playgrounds, benches! ❖ Post boxes! ❖ Places! ❖ Shops, offices, restaurants, cafes! ❖ Traffic lights, traffic calming
  16. Data model: Ways ❖ Lines and areas (closed ways)! ❖

    Examples:! ❖ Roads, paths, ferry routes! ❖ Building outlines! ❖ Car parks, playgrounds! ❖ Rivers, lakes, coastline! ❖ Forest, fields, parks
  17. Data model: Relations ❖ Ordered collections of nodes, ways, and

    relations! ❖ Examples:! ❖ Bicycle, walking, bus routes! ❖ Complex buildings e.g. courtyards! ❖ Turn restrictions! ❖ Multipolygons
  18. Data model: Tags ❖ Tags are on all nodes, way,

    relations and changesets! ❖ Key/value pairs! ❖ Maximum of 255 characters! ❖ http://www.osm.org/way/170636121
  19. Data model: Changesets ❖ Groups of changes grouped together! ❖

    Not atomic like source control! ❖ Diff uploads are atomic however! ❖ Includes a comment so that others know where you got the data from or what changes you have made and potentially why
  20. Data model: Notes ❖ Completely separate data structure.! ❖ Similar

    to a bug tracker for software, but instead for the map data! ❖ API available to integrate viewing and creation in your own site
  21. Map Tiles ❖ Slippy maps are made up of lots

    of 256x256 PNG images tiled together! ❖ JS libraries such as OpenLayers and Leaflet use the images to produce the map! ❖ Small personal project or prototype can use the main OSM tiles! ❖ Some tile providers such as MapQuest and MapBox! ❖ Run your own tile server! ❖ http://switch2osm.org/
  22. Geocoding ❖ Where is Norwich? Where are the cafes in

    Norwich?! ❖ Reverse geocoding: where am I?! ❖ Nominatim is the main OSM software providing geocoding
  23. Routing ❖ How do I get from A to B?!

    ❖ Many options for running your own service! ❖ Different modes of transport! ❖ Different preferences for the journey
  24. Editing API ❖ For editing OSM data! ❖ Can use

    for creating and commenting on notes from your own site! ❖ XML based! ❖ http://wiki.osm.org/wiki/API_v0.6
  25. Planet file and extracts ❖ Can download all of the

    data in the world from planet.osm.org ! ❖ Various extracts available to country or county level! ❖ Minutely, hourly and daily diffs available
  26. Overpass ❖ API to easily extract OSM data with queries!

    ❖ XML commands to choose which data to extract! ❖ http://wiki.openstreetmap.org/wiki/ Overpass_API
  27. Photo Acknowledgements ❖ All photos/screenshots my own, or otherwise mentioned!

    ❖ https://www.flickr.com/photos/merille/8076026375 - Hands in air! ❖ https://www.flickr.com/photos/smsm1/9096807300/ - Presenter! ❖ http://hot.openstreetmap.org/updates/ 2011-03-15_haiti_osm_mapping_for_japan_and_libya - HOT team