Extension:GeoData/blogpost

GeoData: a new age of geotagging on Wikipedia

Have you ever wondered if there are Wikipedia articles about things near you? Well, wonder no more! Today the GeoData extension for MediaWiki officially went into production, providing a structured way to store geo-coordinates for articles as well as an API to make queries around this information.

What it does
Coordinates added to articles are stored separately in the database (as opposed to being stored arbitrarily in wiki markup), making it easy to query the coordinates of a particular page or a list of pages around a given set of coordinates. The Solr search engine is used for spatial queries, making the searches extremely fast. All the functionality is available via the API.

How it works
GeoData adds a new parser function,  which saves coordinates passed to it into the database.  

Setting it up
GeoData requires some manual setup to start collecting the data. Typically, all that is needed is to insert the  tag into a template, and wait some time for the job queue to process the pages that use it (example changes). Currently, this extension is enabled on all Wikipedias, Wikivoyages and special projects (like Commons) with at least 4 projects already actively using it (English, German, Simple English and Chinese Wikipedias).