Zürich Hackathon 2014/Geo Namespace
Maps are an important part of conveying information in a wiki. They can show you important battle sites during World War 2, they can show you where accommodation is on a Wikivoyage article, they can show you things near to your current location.
Currently we resort to using images to describe data on maps. We take SVG files and carefully position markers on top of cities. Wouldn't it be great if these could be automatically generated from the geocoordinates on the article?
We can convey information such as earthquake epicenters but to edit them we need to pick up image editing software to do so. Wouldn't images like this be great if they were described over the top of a map?
Wikimedia currently doesn't have its own tileserver and Openstreetmap cannot handle the size of our traffic.
- Embed dynamic maps with in Wikipedia articles without need for templates.
- Capture data inside maps in structured data e.g. GeoJSON that can be used by 3rd parties e.g. OpenStreetMaps
- Create new interesting editing opportunities for wiki projects.
- Add a map view to the Special:Nearby experience.
The proposal is to create a map namespace that would be available via BetaFeatures and the mobile beta site. By creating a product we can put a use case and thus justification for Wikimedia providing a tile server.
The goal of this hack would be pretty ambitious but would provide a raw proof of concept.
- Create a map.php that generates maps with longitude, latitude coordinates which could theoretically replace the need for the GeoHack script.
- Explore passing API responses to a map.php that allows generation of maps from other content. e.g. Special:Nearby
During the event extension WikiMaps was created that allows basic creation of maps using raw GeoJson or using a basic map editing UI (built using leaflet.draw. The resulting WikiMaps extension is available currently on Github.
- Presentation to projects
- Review / cleanup code
- Tweaking for project use cases