#11126 closed enhancement (fixed)
[patch] Warn about missing parking=*
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.02 |
Component: | Core validator | Version: | |
Keywords: | parking | Cc: |
Description
In addition to #10804 it would be nice if validator warns about missing parking=*
on objects with amenity=parking*
.
Attachments (4)
Change History (17)
follow-up: 4 comment:1 by , 10 years ago
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Summary: | Warn about missing parking=* → [patch] Warn about missing parking=* |
---|
follow-up: 5 comment:4 by , 10 years ago
Replying to Klumbumbus:
It would be info level only, since parking=* is an optional key.
Ok, considering the presented text is it better to have three lines with the complete tag or one line which might need extra wording for better understanding.
follow-up: 7 comment:5 by , 10 years ago
Replying to skyper:
Ok, considering the presented text is it better to have three lines with the complete tag or one line which might need extra wording for better understanding.
three lines, because:
- no new text which needs to be translated into all languages is required
- validator does not warn for tags with typos, like
amenity=parking_emtracne
Also validator should not recommend to add parking
to parking_space
.
comment:6 by , 10 years ago
comment:7 by , 10 years ago
Replying to Klumbumbus:
Also validator should not recommend to add
parking
toparking_space
.
comment:8 by , 10 years ago
Milestone: | → 15.02 |
---|
follow-up: 10 comment:9 by , 10 years ago
There is a syntax error (at the end of line 121 in patch_v4). No need for v5. I fix it, when I apply it tonight.
follow-up: 12 comment:10 by , 10 years ago
Replying to Klumbumbus:
There is a syntax error (at the end of line 121 in patch_v4). No need for v5. I fix it, when I apply it tonight.
Just for learning I did replace josm_11126_v4.diff with a fixed version. Hope I finally got it right.
follow-up: 13 comment:12 by , 10 years ago
comment:13 by , 10 years ago
Replying to Klumbumbus:
Replying to skyper:
Hope I finally got it right.
Yes, except that you used
throwWarning
:)
Damn it, just to much action around me. Thought I could easily provide a patch. Hopefully next time with some more concentration.
It would be info level only, since parking=* is an optional key.