openstreetmap-ng icon indicating copy to clipboard operation
openstreetmap-ng copied to clipboard

Implicit discardable tags

Open Zaczero opened this issue 6 months ago • 5 comments

When processing new changes, we want to automatically discard certain tags so clients don't have too. JOSM and iD already implement such features but we should apply it globally for simplicity.

The goal is to:

  • efficiently discard certain tags during tagsvalidating validation function (it should return modified dict of tags), see models/validating/tags
  • migrate rules from JOSM and iD

I think if the discard method is simple enough (which is very likely), it should be a part of the validating model file.

Zaczero avatar Aug 10 '24 15:08 Zaczero