#9411 closed defect (fixed)
invalid warning "crossing ways" for ways with different "level"
Reported by: | RicoZ | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 13.12 |
Component: | Core validator | Version: | |
Keywords: | Cc: | RicoZ |
Description
ways (such as highway=footway) in a building marked with level, see attached file.
Adding layer to avoid the warning seems not a good idea.
Duplicate of #9248
Attachments (1)
Change History (10)
by , 11 years ago
comment:1 by , 11 years ago
Summary: | invalid warning "crossing ways for ways with different "level" → invalid warning "crossing ways" for ways with different "level" |
---|
follow-ups: 5 6 comment:4 by , 11 years ago
What is the algorithm determining whether to check "level" or "layer"? Is "indoor=yes" consulted?
What if there are both keys?
comment:5 by , 11 years ago
Replying to anonymous:
What is the algorithm determining whether to check "level" or "layer"? Is "indoor=yes" consulted?
What if there are both keys?
reading from the sourcecode:
- first check if layer keys are different, if so not crossing
- next the check if level keys are different, not crossing
- indoor not consulted - and would not make sense. You can have a walkway on a terrace:)
comment:6 by , 11 years ago
Replying to anonymous:
What is the algorithm determining whether to check "level" or "layer"? Is "indoor=yes" consulted?
What if there are both keys?
reading from the sourcecode:
- first check if layer keys are different, if so not crossing
- next the check if level keys are different, not crossing
- indoor not consulted - and would not make sense. You can have a walkway on a terrace:)
comment:7 by , 11 years ago
Looking at the source code I am thinking the test could be more relaxed and assume implicit street level as level=0. I wanted to make underground shopping malls and passages mappable with mainly level. For this case with current version I have to set street level ways as level=0 explicitly.
I could also tag the whole underground building with layer=-1 alternatively.. not sure that makes sense because I also do not tend to tag normal buildings with layer=1.
comment:8 by , 11 years ago
Milestone: | → 13.12 (6502) |
---|
house with two ways on different levels