Opened 4 years ago
Closed 4 years ago
#19604 closed enhancement (fixed)
Validator: warn when name equals alt_name
Reported by: | Famlam | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 20.08 |
Component: | Core validator | Version: | |
Keywords: | name alt_name | Cc: |
Description (last modified by )
I stumbled upon this way (and some nearby ways with the same name). I cannot tell whether it's a common issue worldwide, or something very rare (and thus not worth adding), but perhaps the validator can catch cases where the value of name
equals the value of alt_name
?
Here it was introduced due to an alternative spelling (Leijenseweg rather than Leyenseweg) being used on traffic signs, which was reverted to Leyenseweg a few months later by someone in a commit called "Validatortest".
/* 19604 */ way[name][alt_name][name=*alt_name] { throwWarning: tr("Same value of {0} and {1}", "{0.key}", "{1.key}"); group: tr("suspicious tag combination"); fixRemove: "alt_name"; }
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
Milestone: | → 20.08 |
---|
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 16829/josm: