osm2streets
osm2streets copied to clipboard
Convert OSM to street networks with detailed geometry
For his Straßenraumkarte, Supaplex uses the tag `placement=right_of:1` to clarify where lanes are positioned in relation to the geometry-line. > Additionally, placement=right_of:1 helps to place the lanes precisely in relation...
When working on any code covered by the tests, you'll have a rapidly changing test source directory. Sometimes `.orig` files will show up that should be compared to new output....
See https://www.openstreetmap.org/way/745724293 in `leeds_cycleway` for one example, but I think I've spotted others. In this one case, `psv=designated` should map to a bus lane. We only look for `psv=yes` today.
From a discussion on [intersection turns/movements](https://github.com/a-b-street/osm2streets/issues/67#issuecomment-1248685070), we talked about the idea of allowing roads to end with an angle other than 90 degrees. The ability to generate thick linestring and...
There are a few ideas rumbling around for improving intersection geometry code. The current thing is quite a scary mess. In some first attempts to detangle it, I think I've...
There are a few cases today where it's the caller's responsibility to restore invariants after one operation: 1) After `remove_road`, it's possible an intersection will be left orphaned, with no...
Splitting out from #72. The representation: ```rust pub struct Road { ... pub stop_line_start: StopLine, pub stop_line_end_: StopLine, } pub struct StopLine { /// Relative to the road's reference_line. Stop...
https://github.com/a-b-street/osm2streets/blob/main/osm2streets/src/geometry/degenerate.rs https://a-b-street.github.io/osm2streets/#20.97/50.71526/-2.44882  The general trim back approach may be better here
The start of main `osm_to_street_network` function is a complicated tangle of stateful modifications of the `StreetNetwork` with plenty of comments hinting at dependencies between seemingly unrelated steps. The delegation of...