Hi Mazen, Please go to http://project-osrm.org/ and click the "Documentation" link on the main page. This explains how to make requests, what parameters you can supply, and how to interpret the response.
My guess is that you need to add `?steps=true` parameter to your requests - turn-by-turn instructions are not included by default. Also consider the `overview=full` and `geometries=geojson` options to further expand the response and simplify parsing. daniel On Wed, Jan 3, 2018 at 9:36 AM, Mazen Mrad <[email protected]> wrote: > So how to get the direction istructions.. please help > > On 3 Jan 2018 6:37 p.m., "Daniel Patterson" <[email protected]> wrote: > >> Hi Mazen, >> >> You can ignore the hint object, it contains no user-visible data, and >> is not usable on the demoserver. >> >> daniel >> >> On Wed, Jan 3, 2018 at 8:08 AM, Mazen Mrad <[email protected]> wrote: >> >>> Greetings; >>> >>> I am performing a route task using OSRM http api, it is working >>> perfectly, but i need to extract the directions instructions and am not >>> able to do it using javascript, the hint object in waypoint array is >>> encrypted. >>> >>> Any idea please it is urgent. >>> >>> Thanks >>> >>> On Tue, Jan 2, 2018 at 8:18 PM, Michael Krasnyk < >>> [email protected]> wrote: >>> >>>> Hello, >>>> >>>> Happy New Year 2018! >>>> >>>> OSRM patch releases 5.14.2 and 5.14.3 add a new parameter >>>> `max_radiuses_map_matching`, change default speed values in Belarus and >>>> Ukraine and fix some bugs. The full list of changes is: >>>> >>>> # 5.14.3 >>>> - Changes from 5.14.2: >>>> - Bugfixes: >>>> - FIXED #4754: U-Turn penalties are applied to straight turns. >>>> - FIXED #4756: Removed too restrictive road name check in the >>>> sliproad handler >>>> - FIXED #4731: Use correct weights for edge-based graph >>>> duplicated via nodes. >>>> - Profile: >>>> - CHANGED: added Belarus speed limits >>>> - CHANGED: set default urban speed in Ukraine to 50kmh >>>> >>>> # 5.14.2 >>>> - Changes from 5.14.1: >>>> - Bugfixes: >>>> - FIXED #4727: Erroring when a old .core file is present. >>>> - FIXED #4642: Update checks for EMPTY_NAMEID to check for empty >>>> name strings >>>> - FIXED #4738: Fix potential segmentation fault >>>> - Node.js Bindings: >>>> - ADDED: Exposed new `max_radiuses_map_matching` option from >>>> `EngingConfig` options >>>> - Tools: >>>> - ADDED: New osrm-routed `max_radiuses_map_matching` command line >>>> flag to optionally set a maximum radius for map matching >>>> >>>> Regards, >>>> Michael >>>> >>>> >>>> _______________________________________________ >>>> OSRM-talk mailing list >>>> [email protected] >>>> https://lists.openstreetmap.org/listinfo/osrm-talk >>>> >>>> >>> >>> _______________________________________________ >>> OSRM-talk mailing list >>> [email protected] >>> https://lists.openstreetmap.org/listinfo/osrm-talk >>> >>> >> >> _______________________________________________ >> OSRM-talk mailing list >> [email protected] >> https://lists.openstreetmap.org/listinfo/osrm-talk >> >> > _______________________________________________ > OSRM-talk mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/osrm-talk > >
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
