Skip to content

support discarding tags, not just keys#231

Merged
tyrasd merged 1 commit intomainfrom
kh/discard-tags
Oct 28, 2025
Merged

support discarding tags, not just keys#231
tyrasd merged 1 commit intomainfrom
kh/discard-tags

Conversation

@k-yle
Copy link
Copy Markdown
Collaborator

@k-yle k-yle commented Aug 21, 2025

Currently, discarded.json only allows keys to be defined. This PR allows tags to be defined too.

For example, some values of attribution=* could be discardable, but not others.

{
  "created_by": true,
  "attribution": {
    "https://......import garbage.......": true
  }
}

it's a breaking change for any apps who use discarded.json.


this is required because openstreetmap/id-tagging-schema@a11968d is causing a weird inconsistency where iD is deleting some tags but not others (see this way's history)

@k-yle
Copy link
Copy Markdown
Collaborator Author

k-yle commented Oct 24, 2025

conflicts resolved

Comment thread schemas/discarded.json Outdated
@tyrasd tyrasd merged commit eab75d5 into main Oct 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants