#9106 closed enhancement (fixed)
"building_type without building" warning is strange
Reported by: | aceman | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 13.11 (hotfix) |
Component: | Core validator | Version: | latest |
Keywords: | building_type building | Cc: |
Description
In the josm.po file there seems to be a "building_type without building" check in the validator. However there is no mention of this tag on the wiki. There is a "building:type", which just redirects to "building".
So I think check should be changed to "building:type without building" and a new check for "building_type=V is undefined, use building=V".
There is also another key that uses the ":type" schema and that is "generator". So you may want to add a new class of checks for these (similarly to *_type).
Also I would propose to make a generic check for "K:V without K", where K is any key.
I propose all this based on reading the josm.po file. If any of these checks are already implemented then I apologize for the duplicate ticket.
Attachments (0)
Change History (9)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Summary: | "building_type without building" → "building_type without building" warning is strange |
---|
Yeah right, those are cases of "K:V=* without X=K". Currently you have "K_type=V without X=K" checks, but only for specific values of X and K. This would probably need data analysis if the rules can be generalized in some way.
comment:4 by , 11 years ago
Keywords: | building_type building added |
---|
comment:5 by , 11 years ago
Some numbers for building type (taginfo).
We should warn about both types. There are no wiki pages for both tags (building:type=* redirects to building=*).
comment:8 by , 11 years ago
Milestone: | → 13.11 (6388 hotfix) |
---|
Replying to aceman:
Doesn't work for all tags, see
generator
as example.