Mirror id-tagging-schema
Find a file
2022-12-22 14:33:08 +00:00
.github add check which looks for non-json files in data/ 2022-07-22 15:09:26 +02:00
.vscode add json schema config (#432) 2022-05-12 12:27:04 +02:00
data Add translatable strings to artwork_type field (#700) 2022-12-22 15:32:40 +01:00
dist v5.1.0 2022-11-29 12:47:45 +01:00
interim Deploying to main from @ openstreetmap/id-tagging-schema@e6a52744d6 🚀 2022-12-22 14:33:08 +00:00
scripts add npm run dist translations command 2022-11-18 13:03:05 +01:00
.editorconfig tweak code formatting rules 2022-01-25 14:04:40 +01:00
.gitignore add json schema config (#432) 2022-05-12 12:27:04 +02:00
.prettierignore tweak code formatting rules 2022-01-25 14:04:40 +01:00
.prettierrc tweak code formatting rules 2022-01-25 14:04:40 +01:00
.travis.yml Add travis.yml 2020-11-25 14:57:24 -05:00
CHANGELOG.md add changelog entry for v5.1.1 backport/patch release 2022-12-09 11:34:37 +01:00
LICENSE.md Initial commit 2020-11-05 11:30:34 -05:00
package.json bump schema-builder to v5.3 2022-12-09 11:56:22 +01:00
README.md add related projects 2022-11-01 11:34:47 +01:00

test npm version

iD Tagging Schema

This is the directory of OpenStreetMap tagging data used by the iD editor. It includes presets, fields, deprecations, and more.

Background

OpenStreetMap itself does not have a formal rigid database schema, but relies on a tagging folksonomy instead. Editing tools need to know how tags are used in order to facilitate mapping. This Tagging Schema fills that need, but with a number of caveats:

  • This isn't authoritative or definitive
  • Tagging interpretations may vary from mapper to mapper, place to place, and over time
  • Our primary aim is to serve the needs of iD mappers (but other tools are welcome to use this too)
  • We support tags based on practicality, usage, and community approval
  • Sometimes there are reasons we can't support a tag even if it's used or approved

Translations

  • English translations for the terms-key should be added to the JSON data (Example).

  • Apart from that, translations are managed in the Transifex Project of the iD Editor inside the translation resource 'preset'.

    To translate, you can open the translation page, select a language, select 'preset' and search for key:living_street or translation_text:'Living Street' to find and change translations.

    To contribute to a language: Select a language and use 'Join team' to request access. The administrators will approve requests routinely, only rejecting requests for overly specific locales.

  • All translation changes will be released whenever a new id-tagging-schema release is created. They will be visible inside iD and other editors once those editors update their dependencies and release a new version as well.

Usage

Java/Android

The westnordost/osmfeatures project, a component of StreetComplete, makes it easier to use this data with Android or other Java platforms.

  • The OpenStreetMap wiki documents the current usage of tags, and hosts discussions about proposed new tags.
  • iD also incorporates preset data from the name-suggestion-index.
  • Other editors also include their own models of interpretations of OSM tags. See for example Vespucci's or JOSM's tagging presets.

Contributing

iD's code of conduct and privacy policy also apply to this project.

Making Changes

Documentation for the data formats is located with the schema-builder package, which is the technical basis of this project. To make a change, update a file within the data folder and rebuild by running npm run build in your terminal.