Opened 12 years ago
Closed 12 years ago
#9409 closed enhancement (fixed)
Compare two distinct key values in TagChecker
| Reported by: | naoliv | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 14.01 |
| Component: | Core validator | Version: | |
| Keywords: | mapcss | Cc: |
Description
I don't know if this really fits into the TagChecker validator, but it would be good if we could use the value of two distinct keys in a comparison.
For example, if the value of "name" == the value of "ref".
As it is now (if I am not wrong), we can only compare one key to some value (but not one key value with another key value)
The logic for this: in Brazil people sometimes wrongly use the same value in name and ref on a highway. I also see cases where unnecessarily the name == old_name == official_name == everyotherkindof_name
Creating a local custom validator with such rules would help a lot.
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
| Priority: | minor → normal |
|---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
| Keywords: | mapcss added |
|---|---|
| Milestone: | → 14.01 |



This is not yet possible AFAIK but we should add this possibility in the course of #9414