OpenStreetMap integration into
      Wikimedia projects
   A progress report on getting OpenStreetMap
        integrated i...
Who am I?
     ●   A (inactive)
         MediaWiki
         developer
     ●   A Wikipedia and
         OpenStreetMap
    ...
What is OpenStreetMap?
What is OpenStreetMap?

             ●   A “free wiki world
                 map”
             ●   For maps what
         ...
There's a lot of similarities
between OSM and Wikipedia
OpenStreetMap has community


              ●   OSM has a thriving
                  global community
              ●   Yo...
OpenStreetMap has conferences
OpenStreetMap has meetups
Active contributors




   Wikipedia   OpenStreetMap
But most importantly...
OpenStreetMap has vector data
Which gives us all sorts of neat stuff
Gaza tourist map
Tactile maps for the blind
London postcodes
Why not use Google Maps?
                             ...or some other big proprietary map?



●   It doesn't have any of
...
So let's do it!
Developer meet-up 2009
●   Held in Berlin by
    Wikimedia Germany
●   A bunch of people
    interested in OSM ↔
    WM in...
“OpenStreetMap maps will be
    added to Wikimedia projects”
●   Wikimedia will set up a database to mirror the
    OSM da...
Design goals
●   The maps should also work for non-JavaScript
    enabled browsers
●   The tools have to be stable & deplo...
We've done that...



   And this is what we have now
OSM DB          Planet.osm


   WM OSM DB                   Rendering DB
    ~ 600 GB                     (PostGIS)
      ...
The (rendering) database
             ●   A PostGIS database
                 with a limited OSM
                 dataset ...
Map rendering
●   Rendered using
    mapnik
●   Currently using the
    OpenStreetMap
    stylesheet
●   Rendered in all 2...
Multilingual rendering
●   Done by looking at       Tags on the Brussels
    the local name of        node:
    objects   ...
Bruxelles & Brussel
The Extension
●   Called “SlippyMap”      <slippymap
                              lat = 64
●   Really basic              ...
The Extension / Dynamic / Static
What comes next?
●   Getting what we have ready for production
       –   Fixing bugs
       –   Testing the stack under l...
Want to help?
●   Finding out what needs doing:
    –   A maps-l mailing list on lists.wikimedia.org
    –   The Maps comp...
Neat stuff we can (hopefully) do in the future...
Bicycle routes in Perth
(using OSM “route” relations)
TopOSM – Topographic view of
           OSM
Renderings with
OSM data + Other data

       Species migrations
Coolserver tools
             Multilingular Country-List




http://cassini.toolserver.org/~mazder/multilingual-country-li...
Thanks!
     ●   To Wikimedia for
         sponsoring me to
         come here
     ●   To Wikimedia
         Germany for
...
Questions?
OpenStreetMap integration into Wikimedia projects
Upcoming SlideShare
Loading in...5
×

OpenStreetMap integration into Wikimedia projects

1,825

Published on

A talk given at Wikimania 2009 about the integration of OpenStreetMap data into Wikimedia projects.

Published in: Technology, Travel, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,825
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
40
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

OpenStreetMap integration into Wikimedia projects

  1. 1. OpenStreetMap integration into Wikimedia projects A progress report on getting OpenStreetMap integrated into Wikimedia projects Ævar Arnfjörð Bjarmason Wikimania 2009 avar August 26-28, 2009 avarab@gmail.com Buenos Aires
  2. 2. Who am I? ● A (inactive) MediaWiki developer ● A Wikipedia and OpenStreetMap contributor ● Someone who wants to increase collaboration between these projects
  3. 3. What is OpenStreetMap?
  4. 4. What is OpenStreetMap? ● A “free wiki world map” ● For maps what Wikipedia is for encyclopedias ● Freely licensed ● Community contributed
  5. 5. There's a lot of similarities between OSM and Wikipedia
  6. 6. OpenStreetMap has community ● OSM has a thriving global community ● You can join it!
  7. 7. OpenStreetMap has conferences
  8. 8. OpenStreetMap has meetups
  9. 9. Active contributors Wikipedia OpenStreetMap
  10. 10. But most importantly...
  11. 11. OpenStreetMap has vector data
  12. 12. Which gives us all sorts of neat stuff
  13. 13. Gaza tourist map
  14. 14. Tactile maps for the blind
  15. 15. London postcodes
  16. 16. Why not use Google Maps? ...or some other big proprietary map? ● It doesn't have any of those things: – A free license – Community – Vector data
  17. 17. So let's do it!
  18. 18. Developer meet-up 2009 ● Held in Berlin by Wikimedia Germany ● A bunch of people interested in OSM ↔ WM integration were there ● Plans were made on how to accomplish this
  19. 19. “OpenStreetMap maps will be added to Wikimedia projects” ● Wikimedia will set up a database to mirror the OSM data (Planet.osm) ● Wikimedia will set up its own rendering infrastructure for rendering tiles & other maps from the OSM data ● The existing MediaWiki extensions for displaying OSM data in a MediaWiki article will be improved to work acceptably in production on Wikimedia servers
  20. 20. Design goals ● The maps should also work for non-JavaScript enabled browsers ● The tools have to be stable & deployable on Wikimedia servers ● Everything we're generating has to be cachable so we can throw it at the squids
  21. 21. We've done that... And this is what we have now
  22. 22. OSM DB Planet.osm WM OSM DB Rendering DB ~ 600 GB (PostGIS) ~ 60 GB Neat stuff Map rendering (Mapnik + stylesheets) Dynamic map Static map (Google Maps-like) (A single image) SlippyMap MediaWiki extension Current Caching architecture (Squid) Internet
  23. 23. The (rendering) database ● A PostGIS database with a limited OSM dataset used for rendering ● Around 60 GB ● We'll set up a full OSM database later
  24. 24. Map rendering ● Rendered using mapnik ● Currently using the OpenStreetMap stylesheet ● Rendered in all 279 Wikipedia languages ● We'd like to do more rendering variations
  25. 25. Multilingual rendering ● Done by looking at Tags on the Brussels the local name of node: objects ● place = city ● Not nearly all objects ● capital = yes have translations ● name:fr = Bruxelles ● The OpenStreetMap database needs a ● name:nl = Brussel big i18n effort
  26. 26. Bruxelles & Brussel
  27. 27. The Extension ● Called “SlippyMap” <slippymap lat = 64 ● Really basic lon = -21 zoom = 12 ● An improved version width = 400 height = 300 of the extension that mode = osm /> was used on the OSM wiki ● You can use it with a <slippymap> tag:
  28. 28. The Extension / Dynamic / Static
  29. 29. What comes next? ● Getting what we have ready for production – Fixing bugs – Testing the stack under load – Rolling it out on some wiki (German?) for testing – Global deployment – Adding more exciting features
  30. 30. Want to help? ● Finding out what needs doing: – A maps-l mailing list on lists.wikimedia.org – The Maps component in MediaZilla ● Programming to be done in C/C+ +/Python/JavaScript/PHP ● UI testing: http://xrl.us/osmwm ● Other interesting projects
  31. 31. Neat stuff we can (hopefully) do in the future...
  32. 32. Bicycle routes in Perth (using OSM “route” relations)
  33. 33. TopOSM – Topographic view of OSM
  34. 34. Renderings with OSM data + Other data Species migrations
  35. 35. Coolserver tools Multilingular Country-List http://cassini.toolserver.org/~mazder/multilingual-country-list/
  36. 36. Thanks! ● To Wikimedia for sponsoring me to come here ● To Wikimedia Germany for sponsoring me to their hackathon
  37. 37. Questions?
  1. A particular slide catching your eye?

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

×