[openstreetmap/openstreetmap-website] Request wikidata and osm sophox to linkify some tag value (#2621)

Mateusz Konieczny notifications at github.com
Thu Feb 18 14:02:06 UTC 2021

Note that sophox.org used in this script is down and continues to be down for some time.

> have pattern matching and replacement rules stored for each tag in Wikidata (on osm wiki)
> write a script to manually pull relevant tag information from Wikidata as SPARQL query (or whatever is suitable to fetch the data)
> Run script from time to time and check in updated config.yml file as part of this repository

Fortunately this info can be also stored directly on OSM Wiki.

See https://wiki.openstreetmap.org/wiki/Template:KeyDescription#Parameters and

`| url_pattern = http://openplaques.org/plaques/[value]`

example on that page.

Would you be interested in script using that method? Would be OK to do it using Python script (I implemented it recently for unrelated task) or is it mandatory to use Ruby?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210218/384a10e1/attachment.htm>

More information about the rails-dev mailing list