Skip to content

Commit 17f6d12

Browse files
authored
document removeTags (#332)
fixes openstreetmap/id-tagging-schema#1800
1 parent 27954fe commit 17f6d12

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,11 @@ When adding a feature with this preset, it will be given the tags `man_made=brid
288288

289289
##### `removeTags`
290290

291-
The tags that are removed from the feature when deselecting this preset. Defaults to `addTags` or if this is also not defined, to `tags`.
291+
`removeTags` is a special feature that needs explicit setting in edge cases when [automatic tag removal on preset switching](https://github.com/ideditor/schema-builder/issues/329) is not enough.
292+
293+
Specified tags are removed from the feature when deselecting this preset. Defaults to `addTags` or if this is also not defined, to `tags`.
294+
295+
For example [`landuse=vineyard`](https://github.com/openstreetmap/id-tagging-schema/blob/7c94ba9d1568f089234af39d5a1a5d8503e8ae39/data/presets/landuse/vineyard.json#L18-L22) removes also `crop=grape` - which is not included in its preset.
292296

293297
##### `fields`/`moreFields`
294298

0 commit comments

Comments
 (0)