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

2014-07-28 FE Suffolk Introduction to OpenStreetMap

2014-07-28 FE Suffolk Introduction to OpenStreetMap

Presentation I gave to FE Suffolk introducing OpenStreetMap

Shaun McDonald

July 28, 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. cycle.travel ❖ News about cycling! ❖ Route information! ❖ Journey

    planning with draggable routes! ❖ Can download route to GPS or print out itinerary! ❖ Custom map style similar to OS map
  5. 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
  6. 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
  7. 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/
  8. 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/
  9. Data Model: Nodes ❖ Single points! ❖ Examples:! ❖ Bus

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

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

    relations! ❖ Examples:! ❖ Bicycle, walking, bus routes! ❖ Complex buildings e.g. courtyards! ❖ Turn restrictions! ❖ Multipolygons
  12. 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
  13. 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
  14. 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
  15. 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/
  16. Data collection ❖ Pen and paper! ❖ http://walking-papers.org/ ! ❖

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

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

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

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

    small on the ground edits! ❖ Uses JOSM presets! ❖ Actively being developed and becoming easier to use
  21. Editing OSM: Go Map! ❖ iOS editor! ❖ Ideal for

    small on the ground edits! ❖ Can be used by beginners
  22. Mapillary ❖ Started early 2014! ❖ Open licensed variant of

    Google StreetView that anyone can contribute to ! ❖ Images licensed as Creative Commons Attribution-ShareAlike! ❖ Can derive data to enter into OpenStreetMap
  23. Opening hours ❖ Tool to help with getting the time

    based tags correct! ❖ Some editors have tools to help you! ❖ Can then create maps which only show places that are currently open (or will be open when you get there)
  24. 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/ ! ❖ http://wiki.osm.org/wiki/Tile_usage_policy
  25. Geocoding ❖ Where is Ipswich? Where are the cafes in

    Ipswich?! ❖ Reverse geocoding: Where am I?! ❖ Nominatim is the main OSM software providing geocoding! ❖ Commercial providers of geocoding using pure OSM, or mix of OSM and other data sources
  26. Routing ❖ How do I get from A to B?!

    ❖ Many options for running your own service, can create custom weightings! ❖ Many different service providers! ❖ Different modes of transport! ❖ Different preferences for the journey
  27. 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! ❖ API version 0.7 is in the works
  28. 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 from other providers! ❖ Minutely, hourly and daily diffs available
  29. Overpass ❖ API to easily extract OSM data with queries!

    ❖ XML commands to choose which data to extract! ❖ http://wiki.openstreetmap.org/wiki/ Overpass_API
  30. Taginfo ❖ Information about tags in the OSM data! ❖

    Various country variants, including Great Britain
  31. 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