GraphHopper.com | Forum | GitHub | Maps | Blog

We change the way "consider_traffic" is handled!


#1

Dear Customers,

We will be releasing a stricter way “consider_traffic” is handled. Currently, it is allowed to configure

"configuration": {
   "routing": {
      "network_data_provider": "openstreetmap",
      "consider_traffic": true
   }
}

or

"configuration": {
   "routing": {
      "consider_traffic": true
   }
}

This implies that we have traffic data for OpenStreetMap. However, we do not have. Therefore, it is misleading. This configuration will result in a bad request error in the near future.

You can only use “consider_traffic”: true in conjunction with TomTom data like this

"configuration": {
   "routing": {
      "network_data_provider": "tomtom",
      "consider_traffic": true
   }
}

When it comes to different “network_data_provider”(s), I also recommend reading this post about a recently release feature.

We identify all customers being affected by this change and inform them by email also.

Your GraphHopper Team