bcgov / ols-router

BC Advanced Route Planner
https://bcgov.github.io/ols-router/
Apache License 2.0
23 stars 11 forks source link

Router Response should include Enabled Route Options #211

Closed cmhodgson closed 3 years ago

cmhodgson commented 4 years ago

We should include a field with the list of the enabled route options (as a mirror to the request) - this is useful when looking at a route result without having the request in hand, and improves visibility of the route options, also makes it easy to check that the expected options are being used for a request.

Current Route options: TIMEDEPENDENCY("td"), TURNRESTRICTIONS("tr"), CROSSINGCOSTS("xc"), EVENTS("ev"), TRAFFIC("tf"), SCHEDULING("sc"), LOCAL DISTORTION FIELD ("ldf") GLOBAL DISTORTION FIELD ("gdf")

cmhodgson commented 4 years ago

This is implemented now in on RRI dev server

mraross commented 4 years ago

Verified in test