Manual:Pywikibot/coordinate import.py

coordinate_import.py is a script to mass import coordinates from Wikipedia to Wikidata.

Concept
On Wikimedia wiki's Extension:GeoData is installed. This adds coordinates to the api. This bot uses that information to add a claim to Wikidata. By default P625 (coordinate location) is used.

In the future the bot might support other properties as long as the property is of type globe-coordinate.

Syntax
The bot expects a generator: