Formatter URLs for OpenStreetMap tags
npm install tag2linkThis repository contains formatter URLs for OpenStreetMap keys. The data is obtained from:
- Wikidata items which have OSM key (P13786) and formatter URL (P1630) defined
- OSM Wiki Wikibase via the OSM Sophox Service which have formatter URL (P8)
formatter url (P8) property.Example: https://wiki.openstreetmap.org/wiki/Item:Q401
Use index.json in your application. Replace $1 with the tag value.
You may want to obtain the package from npm: https://www.npmjs.com/package/tag2link
Run python3 ./osm_wikidata.py && npm run build which will update index.json.
The extracted keys and URLs are also provided in Taginfo: https://taginfo.openstreetmap.org/projects/tag2link#tags