[OSM-dev] Retrieving nodes with a "wikipedia=" OSM tag in a certain area via an OSM API?
winfixit at gmail.com
Sat Jan 2 09:41:23 UTC 2016
Overpass API is your friend. you can discover how it works using Turbo
Overpass. This may also be of interest to you:
Try it from one of these pages:
And you can hit the ground running, as it creates working queries to
2016-01-02 10:03 GMT+01:00 Oleksiy Muzalyev <oleksiy.muzalyev at bluewin.ch>:
> I wrote a web-application for planning Wikipedia photography expeditions:
> 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.
> This web-application is based on Media Wiki API . 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.
> 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?
> 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?
> With best regards,
>  https://en.wikipedia.org/w/api.php
> dev mailing list
> dev at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev