Skip to content
/ tag2link Public

Formatter URLs for OpenStreetMap tags

License

Notifications You must be signed in to change notification settings

JOSM/tag2link

Folders and files

NameName
Last commit message
Last commit date
Oct 21, 2024
Mar 22, 2020
Nov 3, 2023
Mar 21, 2021
Mar 22, 2020
Aug 26, 2024
Jul 8, 2024
Mar 21, 2025
Nov 3, 2023
Mar 21, 2025
Oct 21, 2024
Apr 5, 2020
Nov 3, 2023
Nov 28, 2022
Nov 28, 2022
Mar 21, 2025
Oct 21, 2024

Repository files navigation

Tag2Link

This repository contains formatter URLs for OpenStreetMap keys. The data is obtained from:

Contributing

OSM Wiki Data

  1. Read https://wiki.openstreetmap.org/wiki/Data_items.
  2. Create the item (see https://wiki.openstreetmap.org/wiki/Data_items#Item_creation_process).
  3. Input the standard information for the tag. Be as complete as possible please. Other software may use this information (such as for validation purposes).
  4. Add the formatter url (P8) property.
  5. Don't forget to add the site link (see #2 for details).
  6. Wait for the next update

Example: https://wiki.openstreetmap.org/wiki/Item:Q401

Usage

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

Updating

Run npm build which will update index.json.

Taginfo

The extracted keys and URLs are also provided in Taginfo: https://taginfo.openstreetmap.org/projects/tag2link#tags