Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tag2link

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tag2link

Formatter URLs for OpenStreetMap tags

  • 2024.10.21
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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

  • Wikidata items which have OSM tag or key (P1282) and formatter URL (P1630) defined
  • OSM Wiki Wikibase via the OSM Sophox Service which have formatter URL (P8)

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

Keywords

FAQs

Package last updated on 21 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc