remove stile tag when retagging barrier=stile#1624
remove stile tag when retagging barrier=stile#1624tyrasd merged 2 commits intoopenstreetmap:mainfrom
Conversation
it will stop trail of debris happening when people retag stiles to gates
|
🍱 Your pull request preview is ready Please use this preview to check your changes. Ideally use the test documentation template and document your test results by commenting on the PR. This will speed up the review process for everyone. FYI, once this PR is merged, you can use the iD Editor Preview to test your changes in interaction with all other changes. |
|
not sure is it fault of this PR but I no longer see stiles in edit mode see say https://www.openstreetmap.org/edit?editor=id&node=3127481395#map=21/51.4908271/0.2093590 https://www.openstreetmap.org/node/3127481386 in comparison with released id |
|
see also: #1622 (comment) for discussion about a more generic solution |
| "removeTags": { | ||
| "barrier": "stile", | ||
| "stile": "*", | ||
| "material": "*" |
There was a problem hiding this comment.
in my testing material was for some reason not removed
no idea why
There was a problem hiding this comment.
the material tag is preserved when the new preset (e.g. barrier=gate) also has the material field. This is as intended. :)
|
at least |


it will stop trail of debris happening when people retag stiles to gates
Description, Motivation & Context
fixes openstreetmap/iD#11175
Related issues
fixes openstreetmap/iD#11175
Links and data
Relevant OSM Wiki links:
Relevant tag usage stats:
Checklist and Test-Documentation Template
Read on to get your PR merged faster…
Follow these steps to test your PR yourself and make it a lot easier and faster for maintainers to check and approve it.
This is how it works:
After you submit your PR, the system will create a preview and comment on your PR:
Once the preview is ready, use it to test your changes.
Now copy the snippet below into a new comment and fill out the blanks.
Now your PR is ready to be reviewed.