Your SlideShare is downloading. ×
0
OSM                            Techniques and Development of                                OpenStreetMap (OSM)           ...
Forbidden city 2012-01                                 Snapshot on 2012-1-20Tuesday, February 7, 2012
Tuesday, February 7, 2012
OSM and me           •       Do mapping in central TW and eastern                   NL           •       Edit ‘Map Feature...
The major components                         of OSM                    • Portal sites   • Backend databases               ...
Go to map the worldTuesday, February 7, 2012
Go to map the world                            • OpenStreetMap (OSM) is non-for-                              profit founda...
Grassroots mapping                    • Wiki-style editing environment                    • Open License, Open Geo Data   ...
OSM can be used for...   •       Map browsing,   •       Map rendering,   •       Searching,   •       Reverse geocoding, ...
A simple way to                             contribute data                • GPS traces                • Geotagged Photos ...
As a OSM mapper, you not only                upload data but also DRAW the map               • Draw the map via uploaded G...
Mappers drawing TaipeiTuesday, February 7, 2012
Architecture of OSMTuesday, February 7, 2012
Map EditorsTuesday, February 7, 2012
Front-end editors                    •       Online                            •   Potlatch (Popular!)                    ...
Polatch2Tuesday, February 7, 2012
Mapzen       mapzen.cloudmade.comTuesday, February 7, 2012
Amenity Editor    http://ae.osmsurround.org/ae/indexTuesday, February 7, 2012
JSOMTuesday, February 7, 2012
Merkaator            http://merkaartor.be/Tuesday, February 7, 2012
OSM Plugins for QGISTuesday, February 7, 2012
Mobile Editors                    • Apple iOS                     • iPhone                    • Symbian                   ...
Data resources:                             GPS tracesTuesday, February 7, 2012
Data resources:                             GPS tracesTuesday, February 7, 2012
Data source: Online                                 Mapping systems                    •       Oline mapping systems and o...
Open GeoData to OSM                    •       CC-licenced geo-data resources directly import to                          ...
BackendTuesday, February 7, 2012
Backend database: PostgreSQL                •       OSM doesn’t use geometry type of PostgreSQL                        and...
Database schema                                  Text                                   Text                              ...
Tuesday, February 7, 2012
Tuesday, February 7, 2012
Tuesday, February 7, 2012
Geometry model    Node    Way      Open ployline            Closed ployline             Area     Relation     Tag    See d...
Map feature      •       Key / value            •       higway = motorway            •       name =            •       ref...
Rendering systemTuesday, February 7, 2012
Mapnik                                    www.mapnik.org            •       OSM uses Mapnik to render 256 X               ...
Mod tile                    • Mod tile is a system to serve tiles, for                            example to use within a ...
tile@home            • Tiles@home (short: T@H or tah) is a distributed                    program to render Osmarender map...
BrowsersTuesday, February 7, 2012
Slippy map                    •       The slippy is an Ajax component. JavaScript runs in the                            b...
Wiki documentsTuesday, February 7, 2012
OSM community                    •       Three main factors: wiki, mailing lists, mapping party                           ...
Applications/Services                          based on OSM                             techniques                        ...
Crisis Map   • shahanafoundation.org       • Ushahidi.orgTuesday, February 7, 2012
opencyclemap.orgTuesday, February 7, 2012
histOSM.orgTuesday, February 7, 2012
Real-time train map                             http://kubus.mailspool.nl/spoorkaart/Tuesday, February 7, 2012
Humanitarian Response                      and OSMTuesday, February 7, 2012
OSM Humanitarian Data ModelTuesday, February 7, 2012
OSM in Haiti                                                   Souce: Maron 2010                 Before earthquake   7 day...
Researches on OSMTuesday, February 7, 2012
OSM participantsTuesday, February 7, 2012
Number of Publications                            indexed by Google ScholarTuesday, February 7, 2012
Some research topics on OSM                    •       data quality, ontologies, top-down process (Muki                   ...
Types of research with OpenStreetMap                        •   Muki Haklay (2011) summarized three types                 ...
Important open questions      •       Cultural differences and the impact on mapping      •       Impact of imports, and t...
Limitations of academic research / collaboration            •       Short attention span - the incentives are for novelty,...
Code of engagement for OSM research               •      Rule 1– Join a mapping party.               •      Rule 2 – Read ...
Code of engagement for OSM research                    •       Maintain links with the OSM community –it will             ...
Remarks                    •       OSM is a wiki-style map based on open sources                            and open data....
Question!                                         State of the Map 2012 in Tokyo                                    Taiwan...
Upcoming SlideShare
Loading in...5
×

Osm techniques and developemnt

1,401

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,401
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
46
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Osm techniques and developemnt"

  1. 1. OSM Techniques and Development of OpenStreetMap (OSM) at Dongpo Deng dongpo@iis.sinica.edu.tw Feb. 7. 2012Tuesday, February 7, 2012
  2. 2. Forbidden city 2012-01 Snapshot on 2012-1-20Tuesday, February 7, 2012
  3. 3. Tuesday, February 7, 2012
  4. 4. OSM and me • Do mapping in central TW and eastern NL • Edit ‘Map Feature’ (zh-tw) • Host Taiwanese mapping parties • My future work for OSM • Lobby for open geo-data • Establish TW local chapter of OSM • Do researches on OSM • Participate to SotM 2012Tuesday, February 7, 2012
  5. 5. The major components of OSM • Portal sites • Backend databases • Editors • Rendering systems • Data sources • Wiki documents • OSM APIs • Mapper communitiesTuesday, February 7, 2012
  6. 6. Go to map the worldTuesday, February 7, 2012
  7. 7. Go to map the world • OpenStreetMap (OSM) is non-for- profit foundation • OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world • Shared by OdbL 1.0 (Changed from By-SA 2.0 since 2012)Tuesday, February 7, 2012
  8. 8. Grassroots mapping • Wiki-style editing environment • Open License, Open Geo Data • Volunteered Geographic InformationTuesday, February 7, 2012
  9. 9. OSM can be used for... • Map browsing, • Map rendering, • Searching, • Reverse geocoding, • Exporting, • Online edition.Tuesday, February 7, 2012
  10. 10. A simple way to contribute data • GPS traces • Geotagged Photos • Paper and pen (walking-papers.org)Tuesday, February 7, 2012
  11. 11. As a OSM mapper, you not only upload data but also DRAW the map • Draw the map via uploaded GPS traces, arial and satellite images, etc • Edit the data attributes • Name, e.g. street, building • Street type • POI • Traffic artifact ... ,etcTuesday, February 7, 2012
  12. 12. Mappers drawing TaipeiTuesday, February 7, 2012
  13. 13. Architecture of OSMTuesday, February 7, 2012
  14. 14. Map EditorsTuesday, February 7, 2012
  15. 15. Front-end editors • Online • Potlatch (Popular!) • Mapzen • Amenity Editor • Offine • JSOM (Popular!) • Merkaartor • Plugins QGIS See more info http://wiki.openstreetmap.org/wiki/EditorsTuesday, February 7, 2012
  16. 16. Polatch2Tuesday, February 7, 2012
  17. 17. Mapzen mapzen.cloudmade.comTuesday, February 7, 2012
  18. 18. Amenity Editor http://ae.osmsurround.org/ae/indexTuesday, February 7, 2012
  19. 19. JSOMTuesday, February 7, 2012
  20. 20. Merkaator http://merkaartor.be/Tuesday, February 7, 2012
  21. 21. OSM Plugins for QGISTuesday, February 7, 2012
  22. 22. Mobile Editors • Apple iOS • iPhone • Symbian • Nokia • Andriod See more details http://wiki.openstreetmap.org/wiki/SoftwareTuesday, February 7, 2012
  23. 23. Data resources: GPS tracesTuesday, February 7, 2012
  24. 24. Data resources: GPS tracesTuesday, February 7, 2012
  25. 25. Data source: Online Mapping systems • Oline mapping systems and open geo-data resources • Yahoo! areal : way, landuse... • Landsat : main way, large landuse... • WMS services: OpenArialMap • Dont copy other map if the geodata contains copyright issues!Tuesday, February 7, 2012
  26. 26. Open GeoData to OSM • CC-licenced geo-data resources directly import to OSM • AND (Automotive Navigation Data) : Netherlands, India and China • TIGER data on USA • Corine Land Cover (Estonia, Romania, Hungary and France) • Ordnance Survey (UK) • County of Brest, France • National parks (FR) • ...Tuesday, February 7, 2012
  27. 27. BackendTuesday, February 7, 2012
  28. 28. Backend database: PostgreSQL • OSM doesn’t use geometry type of PostgreSQL and geospatial functions of PostGIS. • OSM API v0.6 is used for the main central OSM DB running on servers. • http://wiki.openstreetmap.org/wiki/API_v0.6 • Osmosis is used to populate a more general PostgreSQL/PostGIS DB from Planet.osm dump file. • http://wiki.openstreetmap.org/wiki/OsmosisTuesday, February 7, 2012
  29. 29. Database schema Text Text Relation & old data User DataTuesday, February 7, 2012
  30. 30. Tuesday, February 7, 2012
  31. 31. Tuesday, February 7, 2012
  32. 32. Tuesday, February 7, 2012
  33. 33. Geometry model Node Way Open ployline Closed ployline Area Relation Tag See detail info http://wiki.openstreetmap.org/wiki/Data_PrimitivesTuesday, February 7, 2012
  34. 34. Map feature • Key / value • higway = motorway • name = • ref = Fwy3 • maxspeed=110 • Recommended usage • (wiki:Map Features) • Consensus (Tagwatch, OSMdoc) • Homogeneity : data reuse • Requirement adjustTuesday, February 7, 2012
  35. 35. Rendering systemTuesday, February 7, 2012
  36. 36. Mapnik www.mapnik.org • OSM uses Mapnik to render 256 X 256 pixels tiles • osm2pgsql is used to convert OSM data to postgreSQL for Mapnik rendering • Map sytles are controlled by stylesheet (XML) files. • Useful tutorial! https://github.com/ mapnik/mapnik/wiki/MapnikTutorialsTuesday, February 7, 2012
  37. 37. Mod tile • Mod tile is a system to serve tiles, for example to use within a slippy map. • The implement of Mod file is split into two ports • mod_tile is a custom Apache module which is responsible for serving tiles and requests the rendering of tiles • renderd - A rendering daemon which calls mapnik and writes the map tiles to the filesystemTuesday, February 7, 2012
  38. 38. tile@home • Tiles@home (short: T@H or tah) is a distributed program to render Osmarender maps. • T@H has a server software, Tahngo (generation 2), running at the Tiles@home website, which get requests to render tiles from updated mapdata.Tuesday, February 7, 2012
  39. 39. BrowsersTuesday, February 7, 2012
  40. 40. Slippy map • The slippy is an Ajax component. JavaScript runs in the browser, which dynamically requests tiles from the server in the background (without reloading web page) to give a smooth map browsing experiences. • The implementation of slippy map is mostly provided by OpenLayers • The tiles rendering usually comes from two resources • Mapnik tile rendering • Osmrender (tiles@home) tile rendering See details http://wiki.openstreetmap.org/wiki/DevelopTuesday, February 7, 2012
  41. 41. Wiki documentsTuesday, February 7, 2012
  42. 42. OSM community • Three main factors: wiki, mailing lists, mapping party source: http://vaes9.codedgraphic.com/Tuesday, February 7, 2012
  43. 43. Applications/Services based on OSM techniques See details http://wiki.openstreetmap.org/wiki/ List_of_OSM_based_ServicesTuesday, February 7, 2012
  44. 44. Crisis Map • shahanafoundation.org • Ushahidi.orgTuesday, February 7, 2012
  45. 45. opencyclemap.orgTuesday, February 7, 2012
  46. 46. histOSM.orgTuesday, February 7, 2012
  47. 47. Real-time train map http://kubus.mailspool.nl/spoorkaart/Tuesday, February 7, 2012
  48. 48. Humanitarian Response and OSMTuesday, February 7, 2012
  49. 49. OSM Humanitarian Data ModelTuesday, February 7, 2012
  50. 50. OSM in Haiti Souce: Maron 2010 Before earthquake 7 days after earthquakeTuesday, February 7, 2012
  51. 51. Researches on OSMTuesday, February 7, 2012
  52. 52. OSM participantsTuesday, February 7, 2012
  53. 53. Number of Publications indexed by Google ScholarTuesday, February 7, 2012
  54. 54. Some research topics on OSM • data quality, ontologies, top-down process (Muki Haklay) • 3D models and routing applications (Zipf et al.) • Neocartography and geovisualization (Chilton, O’Brien) • Semantic, ontologies (Bishr, Antoniou) • Technical application (Mooney) • Trust and general quality (van Exel)Tuesday, February 7, 2012
  55. 55. Types of research with OpenStreetMap • Muki Haklay (2011) summarized three types • With OSM - Working close to OSM community to identify research needs and follow them (Wiki Research Ideas page) • About OSM Learning about OSM, and the community as part of VGI. Comparing it to other projects • Using OSM–Using the data set to create new applications and explore scientific issues Muki Haklay (2011) State of the Map EU - OpenStreetMap and GIScience research, State of the Map (SotM) 2011Tuesday, February 7, 2012
  56. 56. Important open questions • Cultural differences and the impact on mapping • Impact of imports, and the rate and nature of updates of well mapped areas • Spatial and temporal patterns of engagement and contribution, role of ‘slient’ mappers • ‘Tyranny of place hypothesis’ and the impact of specific individual on mapping an area • Internal culture and impact on gender, exclusion and long term engagement • Legal studies - license use cases and application • Usability (see Weber and Jones 2011) Source: Muki Haklay (2011)Tuesday, February 7, 2012
  57. 57. Limitations of academic research / collaboration • Short attention span - the incentives are for novelty, not routine • Publications are important, so research ideas are welcomed • Academic institutes can provide power and network (up to a point), not money • Enthusiastic students are available at specific time cycle • Across the world, match funding for business, so introductions needed • Academia careers have thematic focus Source: Muki Haklay (2011)Tuesday, February 7, 2012
  58. 58. Code of engagement for OSM research • Rule 1– Join a mapping party. • Rule 2 – Read OSM wiki, books, blogs, and mailing lists • Rule 3 – Explore the data. • Rule 4 – Open assess. • Rule 5 – Open knowledge. • Rule 6 – Be a critical friend. • Rule 7 – Teach. Source: Muki Haklay (2011)Tuesday, February 7, 2012
  59. 59. Code of engagement for OSM research • Maintain links with the OSM community –it will pay off and will help you to identify new research directions. • Also maintain links with in the VGI research community –even if the term is awkward, the research is valuable. • Explore comparisons and parallels –it’s important to learn what is going on in other projects. Source: Muki Haklay (2011) http://wiki.openstreetmap.org/wiki/ResearchTuesday, February 7, 2012
  60. 60. Remarks • OSM is a wiki-style map based on open sources and open data. • OSM is a collaboration community. All participants are volunteers. • More and more services and applications use OSM data and techniques. • OSM is a good instance of VGI. Many researchers around the world are working on OSM.Tuesday, February 7, 2012
  61. 61. Question! State of the Map 2012 in Tokyo Taiwan Mapping party on Feb. 18, 2012 Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported LicenseTuesday, February 7, 2012
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×