Urban-Analytics-Technology-Platform / od2net

https://od2net.org
Apache License 2.0
28 stars 6 forks source link

More input to edge costs and LTS #34

Open dabreegster opened 11 months ago

dabreegster commented 11 months ago

For all of these, I think we could first just detect this situation about the edge (and surface that info in the UI clearly). Then we can write edge cost and LTS functions that take these things into account, using TBD weightings.

And a further idea: local knowledge (or routing preference) is always going to be helpful. If we have a way in the UI to just annotate a road and edit the LTS / edge cost manually, then that could be super helpful.

dabreegster commented 6 months ago

Elaborating a bit... we heard feedback about some of the LTS ratings. https://www.openstreetmap.org/way/153773332#map=18/53.46591/-2.83879 is a great example -- this is a separated path next to a highway. Although the separation from fast-moving traffic may be adequate, the noise / general experience from being next to traffic is unpleasant. Somebody using od2net might want to adjust the LTS or cost function accordingly to still penalize this. So some steps would be:

The greenspace and industrial area ones are similar. There's already some code to try and extract greenspace_polygons, but it's only half-started -- I don't remember getting very far for verifying the output of it

@KDKasonde

KDKasonde commented 6 months ago

Sweet thanks for that, I will start having a read through this now!

KDKasonde commented 4 months ago

Hey @dabreegster, just looking at how to visualise the data but noticed the steepness is not included in the EdgeCostApp should I add it in or have I missed something? Also I am now not 100% sure I know what you by layers 😅

dabreegster commented 4 months ago

Apologies, got very behind on emails... Since there's a "Color edges by" selector, slope would be a fine choice to include for networks that have it. Not sure why I didn't wire that in originally.

EdgeCostApp looks broken right now in main with the default "Color by cost relative to length" selector, by the way -- I probably broke this at some point. I'll try and look into it at some point.

You can ignore what I said about layers in the edge cost app. There's already that "color by" dropdown -- we can use that to debug the new per-road info gathered.

KDKasonde commented 3 months ago

No worries at all it happens! And that makes sense I will get started on running my changes in that case.