osmlint
osmlint copied to clipboard
Undetected crossinghighways
We are seeing cases of undetected crossinghighways. Posting stub ticket as we investigate the problem.
To replicate.
- Download latest qa-tiles
osmlint crossinghighways --zoom=12 --bbox="[-88.3265, 41.4343, -87.1057, 42.2823]" united_states_of_america.mbtiles > crossinghighways-chicago.json- Inspect in your own data browser of choice.
@srividyacb
@maning you are right. looks like the issue is here: https://github.com/osmlab/osmlint/blob/master/validators/crossingHighways/map.js#L156-L174, since the way https://www.openstreetmap.org/way/597384240/history is not forming a segment to check if those roads are intersecting, we may need a way to check if an object has the same start and the end coordinates. it must resolve the issue.
@Rub21 thanks for the hint!
https://github.com/osmlab/osmlint/blob/master/validators/crossingHighways/map.js#L156-L174
Can you explain what ^^ line do?
@maning the code line: https://github.com/osmlab/osmlint/blob/master/validators/crossingHighways/map.js#L68, is evaluating if two highways are intersecting, according to the starts and end coordinates, so in case the start and the end coordinates are the same it won't be intersecting with the others neighbors roads.