GIScience / openrouteservice

🌍 The open source route planner api with plenty of features.
https://openrouteservice.org
GNU General Public License v3.0
1.43k stars 393 forks source link

Resolve time zones for TD routing #1317

Open sfendrich opened 1 year ago

sfendrich commented 1 year ago

Time dependent routing currently uses a static time zone for departure and arrival time (see https://github.com/GIScience/openrouteservice/pull/1315). Time zones should be resolved properly from the request.

aoles commented 1 year ago

The lack of proper time zone resolution is a regression introduced by ORS version 7.0. Originally time zones were resolved based on the coordinates of the snapped start-/endpoints in here. However, as now the snapping has been moved to the Router class (link) the original approach is not feasible anymore.