There are other web-applications to find Wikipedia articles geolocations on other maps, but I wanted a clean interface, with the OSM map on the whole screen.
Okay, I’ve uploaded my script to the GitHub: https://github.com/Zverik/wiki2osm
It produces an OSM XML file from a wikipedia article dump, but you can then convert it to any format.
This is GREAT; just what I’ve been looking for. I like to jump around the globe, adding roads and residential areas. I’ve recently been mapping in Tibet and feel really lost culturally. Your map is giving me some hits and insight into a very remote area. Thanks for posting.
k1wi, it is a good idea. Thank you. I’ve implemented already the display of Wikipedia articles geolocations by the wikipedia and wikimedia_commons tag assigned to a node in the same web-application.
It is a bit more complicated to display a geolocation when the wikipedia tag is assigned to an area or a way. It will try to implement it later.
Trafodaeth
Sylwadau gan Richard ar 29 Rhagfyr 2015 am 11:39
That’s very cool. Did you parse the full Wikipedia dump yourself or is there a dump of just coordinates and article IDs/titles?
Sylwadau gan Alex-7 ar 29 Rhagfyr 2015 am 11:50
This application uses the Wikipedia API. Actually it is just about 20 lines of code.
I use it to plan expeditions to make [ground and aerial photos] (https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Alexey_M.&ilshowall=1) for Wikipedia articles.
There are other web-applications to find Wikipedia articles geolocations on other maps, but I wanted a clean interface, with the OSM map on the whole screen.
Sylwadau gan ImreSamu ar 29 Rhagfyr 2015 am 12:38
Cool ! :) Probably this API : https://www.mediawiki.org/wiki/Extension:GeoData#list.3Dgeosearch
Sylwadau gan Zverik ar 29 Rhagfyr 2015 am 12:38
Okay, I’ve uploaded my script to the GitHub: https://github.com/Zverik/wiki2osm It produces an OSM XML file from a wikipedia article dump, but you can then convert it to any format.
Sylwadau gan ImreSamu ar 29 Rhagfyr 2015 am 12:51
Related:
“Creating a Bridge Between OpenSteetMap and Wikipedia: Wikipedia-tags-in-OSM. A Tool to Add Wikipedia Tags in OSM and Coordinates in Wikipedia”
Sylwadau gan Alan Bragg ar 29 Rhagfyr 2015 am 14:43
This is GREAT; just what I’ve been looking for. I like to jump around the globe, adding roads and residential areas. I’ve recently been mapping in Tibet and feel really lost culturally. Your map is giving me some hits and insight into a very remote area. Thanks for posting.
Sylwadau gan nyuriks ar 29 Rhagfyr 2015 am 18:08
Nice! Some similar efforts: * https://tools.wmflabs.org/wiwosm/osm-gadget-leaflet/#/?lang=en&article=Berlin * The Wikipedia Android app has a map (“nearby”) feature * More at https://www.mediawiki.org/wiki/Maps/Future_Plans#Existing_Tools
Sylwadau gan k1wi ar 31 Rhagfyr 2015 am 11:47
Is there a similar service based on the OSM tags wikipedia=* or wikidata=*, instead of Wikipedia coordinates?
Sylwadau gan Alex-7 ar 3 Ionawr 2016 am 00:35
k1wi, it is a good idea. Thank you. I’ve implemented already the display of Wikipedia articles geolocations by the wikipedia and wikimedia_commons tag assigned to a node in the same web-application.
It is a bit more complicated to display a geolocation when the wikipedia tag is assigned to an area or a way. It will try to implement it later.
Sylwadau gan Alex-7 ar 4 Ionawr 2016 am 13:04
Search for geolocations of wikipedia, wikimedia_commons, wikidata OSM tags assigned either to nodes, areas, or ways is implemented.