<div dir="ltr"><div><div><div>Overpass API is your friend. you can discover how it works using Turbo Overpass. This may also be of interest to you:<br><br><a href="https://en.wikipedia.org/wiki/Module:OSM">https://en.wikipedia.org/wiki/Module:OSM</a><br><br></div>Try it from one of these pages: <br><br><a href="https://en.wikipedia.org/wiki/Special:WhatLinksHere/Module:OSM">https://en.wikipedia.org/wiki/Special:WhatLinksHere/Module:OSM</a><br><br></div>And you can hit the ground running, as it creates working queries to experiment with.<br><br></div>Polyglot<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-02 10:03 GMT+01:00 Oleksiy Muzalyev <span dir="ltr"><<a href="mailto:oleksiy.muzalyev@bluewin.ch" target="_blank">oleksiy.muzalyev@bluewin.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I wrote a web-application for planning Wikipedia photography expeditions: <a href="http://ausleuchtung.ch.local/geo_wiki/" rel="noreferrer" target="_blank">http://ausleuchtung.ch.local/geo_wiki/</a><br>
<br>
Click on the map and it shows all Wikipedia articles geo-locations in the radius of 10 km around the click. Wikipedia language is changed by replacing "en" for English on "fr" for French, "de" for German, etc. Web-application memorizes the map position, zoom level, and language of the last request.<br>
<br>
This web-application is based on Media Wiki API [1]. All the heavy lifting is done by the Media Wiki API, the web-application is just about 20 lines of code. But it works surprisingly robustly all over the world, for all Wikipedia languages.<br>
<br>
Now I want to find in a similar way the geo-locations of Wikipedia articles, however not via Wikipedia articles coordinates, but via the OSM nodes (or areas) which have "wikipeida=", "wikimedia_commons=", "wikidata=" tag. Is there a way to do it via an OSM API? Without parsing big dump files?<br>
<br>
I repeat for clarity - I need to retrieve coordinates of nodes which have the OSM "wikipeida=", "wikimedia_commons=", "wikidata=" tag in the radius of 10 kilometres. I started to explore the Osmosis, the MapQuest Geocoding API, etc., but it seems to be an uncommon request. Is it possible at all?<br>
<br>
With best regards,<br>
Oleksiy<br>
<br>
[1] <a href="https://en.wikipedia.org/w/api.php" rel="noreferrer" target="_blank">https://en.wikipedia.org/w/api.php</a><br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote></div><br></div>