Active-Travel-Academy / ata-traffic-recorder

MIT License
3 stars 0 forks source link

ability to run routing at will #11

Closed AnnaGoodman1 closed 3 years ago

AnnaGoodman1 commented 3 years ago

it turns out you need to do quite a lot of testing to get the OD points right, as Google can be very fussy – e.g. if you put the point on the wrong side of a double carriageway it routes you on a long loop to get that correct side. At the moment I've been doing the testing by making a version and then waiting until the next hour for it to be routed, then making edits and waiting again. But that won't be practical once journeys are being routed on Tuesdays only. Could there be a mechanism where one forces an ad hoc routing (for all non-disabled trips) by typing something in the command line or somewhere?

nikolai-b commented 3 years ago

I've added type to journeys which can be:

frequently_routed, infrequently_routed or test_routing

I've set the default to be: frequently_routed, i.e. #9

If you set it as test_routing then it will run within a minuet and be disabled after running. You can update the type so if that works you can change the type to infrequently_routed or frequently_routed, and re-enable it.