https://bugzilla.wikimedia.org/show_bug.cgi?id=62011
Bug ID: 62011 Summary: Make a script to import coordinates from Wikipedia to Wikidata Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: maarten@mdammers.nl Web browser: --- Mobile Platform: ---
legoktm implemented coordinates logic to Pywikibot so you can ask the page for the coordinates, see https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/page.py#L1...
I have some code lying around here to import coordinates to Wikidata so I can probably glue the two together to make it easy to import