Grants:IdeaLab/OSMdata: a Wikidata-like editor for OpenStreetMap: Difference between revisions

Content deleted Content added
Creating the idea Grants:IdeaLab/OSMdata: a Wikidata-like editor for OpenStreetMap
 
No edit summary
Line 12:
}}
==Project idea==
Create a Wikidata-like new editor for OpenStreetMap (OSM) using a MediaWiki + Wikibase install
 
===What is the problem you're trying to solve?===
Increase content on OpenStreetMap (we can reuse that), test Wikidata to 100x scale, spread Wikibase to other projects.
 
===What is your solution?===
{{TOC_right}}
 
Currently Wikidata hosts more then 43M statements<ref name="wikidata-stats">[https://tools.wmflabs.org/wikidata-todo/stats.php Wikidata stats] on WMFlabs by Magnus</ref>.
Currently Wikidata hosts more then 43M statements<ref name="wikidata-stats">[https://tools.wmflabs.org/wikidata-todo/stats.php Wikidata stats] on WMFlabs by Magnus</ref>. On the other hand OpenStreetMap has 2.7 billion objects (''nodes'', ''ways'' and ''relations'') in it<ref name="osm-stats">2.5 billion of which are points, see [http://www.openstreetmap.org/stats/data_stats.html OSM data stats]</ref>. Every object is OpenStreetMap has some [http://wiki.openstreetmap.org/wiki/Map_Features features] which are expressed using key-value pairs, for example to say that [http://www.openstreetmap.org/relation/1834818http://www.openstreetmap.org/relation/1834818 this relation] is named "Colosseum" you have to add to it the following data: <code>''name''=''Colosseo''</code>. Analogously Wikidata uses [[:wikidata:Wikidata:Glossary#Entities.2C_items.2C_properties_and_queries|properties and values]] to enrich its items.
 
The idea is to use a MediaWiki + Wikibase install to build a tag editor for OpenStreetMap.
Every object in OSM could be reference in OSMdata using OSM id and object type as identifier such that, for example:
* [http://www.openstreetmap.org/node/428339558 openstreetmap.org/node/428339558] becomes item N428339558
* [http://www.openstreetmap.org/way/5013364 openstreetmap.org/way/5013364] becomes item W5013364
* [http://www.openstreetmap.org/relation/1834818 openstreetmap.org/relation/1834818] becomes R1834818
 
The benefits of such an endeavour are:
* Providing a tool to the community of OSM, a free/libre/open project whose data are going to be used in Wikimedia projects. (This is aligned with the Wikimedia Foundation annual plan<ref>[[Grants:APG/Proposals/2013-2014_round2/Wikimedia_Foundation/Proposal_form#Staff_and_long-term_contractors|Wikimedia_Foundation Proposal form to the FDC round 2 2013/2014]]</ref> and to the subsequent job opening for two map/geo engineers<ref>[https://careers.stackoverflow.com/jobs/64421/software-engineer-maps-geo-wikimedia-foundation]</ref>.);
* Increase collaboration among the two project using the well-known interface of MediaWiki+Wikibase;
* Increasing reuse of MediaWiki and Wikibase softwares, and developing another big project where it is in use thus strengthening their ecosystem;
* Testing Wikibase to a scale of 40x its current size;
 
==== References ====
<references />
 
==Goals==
The main goal is to develop a Wikidata-like editor for OpenStreetMap.
<!--In this section: briefly explain what are you trying to accomplish with this project, or what do you expect will change as a result of this idea.-->
 
To do so we need a system that:
* can synchronize with OSM databases (both in read and write)
* allows to login using OSM Oauth
 
OpenStreetMap already offer the [http://wiki.openstreetmap.org/wiki/Planet.osm/diffs minutely diff] that can be used to keep up to the a copy of the OSM databases.
 
To get to this point we need to:
* extend the functionality of Wikibase such that it is possible to say item with different label other than Qxxx (to get Nxxx, Wxxx, Rxxx)
* develop a MediaWiki extension to use OpenStreetMap login on a MediaWiki install (see for reference [[:mediawiki:Extension:TwitterLogin|Extension:TwitterLogin]]
 
==Get Involved==