a-b-street / osm2streets

Convert OSM to street networks with detailed geometry
https://a-b-street.github.io/osm2streets
Apache License 2.0
102 stars 9 forks source link

Broken intersection geometry #259

Closed pswsm closed 7 months ago

pswsm commented 7 months ago

I was checking some not too complicated intersections and found one the pretty much breaks the rendering. The more I zoomed out the bigger it got from one side.

Said intersection is at 41.37331/2.11642.

May be related to #136 image image

dabreegster commented 7 months ago

https://a-b-street.github.io/osm2streets/#16.93/41.373805/2.117175 as a handy link. It's looking like https://www.openstreetmap.org/way/82558926 and similar all get treated as "very short" roads and merged into the intersection. Not sure why, will dig in when I have some time. Thanks for reporting!

dabreegster commented 7 months ago

Oh, the problem is https://www.openstreetmap.org/way/916796967 is tagged as junction = intersection, and osm2streets takes that as a cue that it's a "virtual" road in the middle of a junction. The use for this tag as I understand it is stuff like https://www.openstreetmap.org/way/436942359. Is this a mis-tagging or intentional?

dabreegster commented 7 months ago

https://wiki.openstreetmap.org/wiki/Proposal:Junction%3Dintersection

pswsm commented 7 months ago

Alright I didn’t see that. I’ll remove that tag ASAP since it’s not a junction.

Thanks!

pswsm commented 7 months ago

Fixed tags and works fine, closing it