Wrap: Trip with Fixed Start and End points (TFSE)
daniel-j-h opened this issue · 1 comments
daniel-j-h commented
TFSE needs to be implemented in the node-osrm
plugin.
Re-using the existing Trip
function should be possible.
Upstream
- Issue Project-OSRM/osrm-backend#1623
- Pull Request Project-OSRM/osrm-backend#3408
API
- coordinates
- source {first|any}
first
implies source = coordinates[0] - destination {last|any}
last
implies destination = coordinates[coordinates.size() - 1] - roundtrip {false|true}
Tasks:
-
node_osrm.cpp
adapt comments -
node_osrm_support.hpp
parse intoTripParameters
-
docs/api.md
adapt, add example -
trip.js
tests
daniel-j-h commented
This was done in #296.