Closed dabreegster closed 7 months ago
An example of the splitting. Before:
Gets turned into:
Oh. The debugger reveals the node IDs on the edges are completely wrong. There's a very silly problem with the importer somewhere.
Alright, the problem is fixed. I blame trying to do vaguely algorithmic work before coffee!
Give GH pages a few minutes to deploy, then try importing again -- everything should work as expected. You can also clone this repo, cd geojson-to-route-snapper; cargo run --release -- --input your_file.geojson
@tordans,
The logic to split LineStrings by shared points seems to work and produce a correct correct graph file now:
But still the router is acting as if there's no valid roue between nodes that should be connected:
I'm still not sure what the problem is, continuing to debug