ols-router icon indicating copy to clipboard operation
ols-router copied to clipboard

Add support for road surface driving preferences

Open mraross opened this issue 6 years ago • 0 comments

@mraross commented on Fri Jan 19 2018

Add a roadSurface parameter that allows a user to prefer or avoid certain road surfaces (e.g.,pavement, gravel). This parameter is found in MapQuest and other routing APIs. By default, the route planner should prefer paved and gravel surfaces and avoid decommissioned, overgrown, and unknown surfaces.

Here's are some examples: &roadSurface=-loose;-gravel;-rough;+paved;-decommisioned;-overgrown;-unknown &roadSurface=+paved;+gravel


@mraross commented on Sat Feb 03 2018

This looks like a promising approach to implementation:

Fast shortest path with parameterized costs https://arxiv.org/pdf/1509.03165.pdf

mraross avatar Jun 22 '18 21:06 mraross