Closed flibbertigibbet closed 6 years ago
Tested routing changes locally with combination of latest updated OSM data, and it will locally route along Wiggins Promenade with the GREENWAYS
optimizer flag, but will avoid it otherwise. For bike trips, maximizing the safety factor will also route on the promenade. Current production site (with older OSM dataset) will not respond to these flags as well for that area.
Note that GREENWAYS
flag works with walking trips, while the "triangle" optimizer values only work with bike trips.
For bicycle trips, the UI offers options to specify 'any', 'flat', 'fast', or 'safe' as a ride preference, which set weights for the OTP optimizer "triangle" parameter in .
For these options, switch from sending "triangle" optimizer values to using the optimizer flags:
FLAT
QUICK
GREENWAYS
Note that
GREENWAYS
does not differentiate path type in another way thatSAFE
, but rather simply uses a heavier weighting, so it is something of a misnomer. A "Greenway" is assumed to be any bike lane 10x as safe as an ordinary street.