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

OpenStreetMap for GIS Pros - Local Authority Edition

OpenStreetMap for GIS Pros - Local Authority Edition

A shorter version of my 'OpenStreetMap for GIS Pros' workshop for the Irish Local Authority GIS Manager's meeting, March 2014.

Richard Cantwell

March 06, 2014
Tweet

More Decks by Richard Cantwell

Other Decks in Technology

Transcript

  1. An Introduction to
    OpenStreetMap for
    GIS Professionals
    [email protected]
    Local Authority GIS Managers
    Meeting – March 2014

    View Slide

  2. Rule 1: Respect Copyright

    View Slide

  3. opendatacommons.org/licenses/odbl/summary/

    View Slide

  4. opendatacommons.org/licenses/odbl/summary/

    View Slide

  5. Vs
    creativecommons.org

    View Slide

  6. Map contains data Copyright NavTeq

    View Slide

  7. Map contains data Copyright NavTeq

    View Slide

  8. Map contains data Copyright NavTeq

    View Slide

  9. © Stan Openshaw

    View Slide

  10. View Slide

  11. How OSM represents data in GIS Terms:
    Nodes / Ways / Relations
    Key / Value pairs
    TagInfo

    View Slide

  12. Geographic Information is represented as:
    Nodes
    Point
    Ways
    Line Closed Line Area (Polygon)
    eg. Roundabouts
    Relations
    Multi (Point / Line / Polygon)
    eg. Bus Routes / Inner Rings

    View Slide

  13. Tagging: Key / Value Pairs

    View Slide

  14. Tagging: Key / Value Pairs

    View Slide

  15. Motorway
    National Primary
    National Secondary
    Regional
    Local Primary
    Access
    Tagging: International Standards / Local Implementations

    View Slide

  16. Tagging: Key / Value Pairs

    View Slide

  17. Tagging: Oversight, not moderation

    View Slide

  18. Tagging: Oversight, not moderation

    View Slide

  19. Consuming: Tiles, Files and API’s:
    The OSM ‘Stack’
    Tiles – your own and/or others
    Files – Downloads, Databases
    API’s – OverPass Turbo

    View Slide

  20. Edit Store Render Consume
    Store Analyse

    View Slide

  21. Tiles

    View Slide

  22. wiki.openstreetmap.org/wiki/Tile_usage_policy
    OSM Tile Usage Policy

    View Slide

  23. maps.stamen.com/watercolor

    View Slide

  24. www.mapbox.com/blog/interactive-woodcut-map

    View Slide

  25. www.thunderforest.com

    View Slide

  26. MapInfo - .xml and .TAB files

    View Slide

  27. Why make your own?
    Tile Usage Policy
    You’re in control: Design and Content
    Need tiles in EPSG:27700? 29903?
    Having OSM Data in a Database enables a lot of things
    You will learn a lot

    View Slide

  28. www.switch2osm.org

    View Slide

  29. Files

    View Slide

  30. Entire Planet downloadable (~500GB uncompressed)
    planet.openstreetmap.org

    View Slide

  31. Processed data downloads & services
    www.geofabrik.de

    View Slide

  32. download.geofabrik.de
    Including pre-configured Shapefiles (reduced featureset)

    View Slide

  33. View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. API's

    View Slide

  38. View Slide

  39. View Slide

  40. View Slide

  41. View Slide

  42. View Slide

  43. Extract Raw Data – Embedded in a map on a web page
    map.addLayers([
    make_layer("http://overpass-api.de/api/interpreter?data=
    node[amenity=pub](bbox);out+skel;
    (way[amenity=pub](bbox);node(w););out+skel;", “Blue")
    ]);

    View Slide

  44. Extract Raw Data – Embedded in a map on a web page
    map.addLayers([
    make_layer("http://overpass-
    api.de/api/interpreter?data=node[amenity=pub](bbox);out+skel;", "blue"),
    ]);

    View Slide

  45. What can you do for OSM?
    Talk to the community.
    Provide ( free) data if possible:
    • Road classifications.
    • Speed limits.
    • etc

    View Slide

  46. Next OSM Meetup: Dublin, Sat 8th March: www.tog.ie

    View Slide

  47. Some 'Takeaways‘
    License Check obligations if mixing data
    Data Model Area / Multipolygon handling is complex
    Usage Policies Desktop prob not an issue. Server, web different
    Build Your Own No apt-get install tileserver Yet
    Shapefiles Easy, not complete
    Postgis Starting point for many possibilities
    Data APIs Great for snapshots in geojson or POI webpages
    Data vs Services Is OSM commoditising data? Is that bad?

    View Slide

  48. This slide deck is available at:
    speakerdeck.com/manaboutcouch
    Thank you.
    Any Questions?
    Richard Cantwell
    @ManAboutCouch
    [email protected]

    View Slide