a-b-street / osm2streets

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

Improve block detection #263

Closed dabreegster closed 7 months ago

dabreegster commented 7 months ago

Some more steps towards #248. Individual blocks involving dead-end roads now mostly work, thanks to bringing in code from https://github.com/a-b-street/abstreet/blob/main/blockfinding/src/lib.rs. (Why solve problems twice?)

And then improve block classification by looking only at the lane closest to the block, not the whole road. Many cases improve.

I looked at loads of before/afters through this, but didn't take any screenshots this time.