From 880b982eeb7f07872d82ba9075ded238d90d094d Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Mon, 6 Feb 2017 17:21:38 +0100 Subject: [PATCH] Removes exit field for intersection counting; only used for roundabouts - https://github.com/Project-OSRM/osrm-backend/blob/f3ebba7a79a3e499584ccd11d1f9381f16a2c0f4/src/engine/api/json_factory.cpp#L197-L198 - https://github.com/Project-OSRM/osrm-backend/blob/f3ebba7a79a3e499584ccd11d1f9381f16a2c0f4/src/engine/guidance/post_processing.cpp#L153 --- docs/http.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/http.md b/docs/http.md index 1a6fdc95b..34841ccd8 100644 --- a/docs/http.md +++ b/docs/http.md @@ -638,12 +638,8 @@ step. | `turn` | `modifier` indicates the change in direction accomplished through the turn | | `depart`/`arrive` | `modifier` indicates the position of departure point and arrival point in relation to the current direction of travel | -- `exit` An optional `integer` indicating number of the exit to take. The property exists for the following `type` property: - -| `type` | Description | -|------------------------|---------------------------------------------------------------------------------------------------------------------------| -| `roundabout`/`rotary` | Number of the roundabout exit to take. If exit is `undefined` the destination is on the roundabout. | -| else | Indicates the number of intersections passed until the turn. Example instruction: `at the fourth intersection, turn left` | +- `exit` An optional `integer` indicating number of the exit to take. The property exists for the `roundabout` / `rotary` property: + Number of the roundabout exit to take. If exit is `undefined` the destination is on the roundabout. New properties (potentially depending on `type`) may be introduced in the future without an API version change.