#6510 closed defect (fixed)
[Patch] validator complains about natural=tree_row being an unclosed way
Reported by: | scai | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | Cc: | scai |
Description
Hi,
JOSM's validator complains about natural=tree_row being an unclosed way although this tag is only applied to ways. Instead, it should complain if applying it to nodes or areas.
Regards,
Alex
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | 6510.patch added |
---|
follow-up: 4 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Summary: | validator complains about natural=tree_row being an unclosed way → [Patch] validator complains about natural=tree_row being an unclosed way |
---|
comment:4 by , 14 years ago
Replying to simon04:
Btw: instead of hard coding of tests in UnclosedWays, one could directly fetch the correct usage of tags on nodes/ways/areas/relations via the presets, right?
Validator code has not always been updated to the current state, so there is probably a lot of improvement possible in this part of the software.
The attached patch removes the warning of tree_row being not closed.
For the opposite direction, i.e., a warning when being closed, I could not find a test.
Btw: instead of hard coding of tests in UnclosedWays, one could directly fetch the correct usage of tags on nodes/ways/areas/relations via the presets, right?