From d475a88cdb851cc357b32f30eb23c2e2135bf264 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Sun, 15 Jan 2017 18:49:10 +0000 Subject: [PATCH] Remove as OSRM routing option as it no longer supports GPX output. --- doc/examples/routing.xml | 2 ++ src/osm.c | 13 ------------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/doc/examples/routing.xml b/doc/examples/routing.xml index d98403c0..275a85a2 100644 --- a/doc/examples/routing.xml +++ b/doc/examples/routing.xml @@ -1,4 +1,5 @@ + osrm OSRM @@ -8,6 +9,7 @@ &loc=%s,%s &loc=%s,%s + google Google diff --git a/src/osm.c b/src/osm.c index 1321a416..87694a8f 100644 --- a/src/osm.c +++ b/src/osm.c @@ -231,18 +231,5 @@ void osm_init () { webtool = vik_webtool_center_new_with_members ( _("Wikimedia Toolserver GeoHack"), "http://tools.wmflabs.org/geohack/geohack.php?params=%s;%s" ); vik_ext_tools_register ( VIK_EXT_TOOL ( webtool ) ); g_object_unref ( webtool ); - - /* See API references: https://github.com/DennisOSRM/Project-OSRM/wiki/Server-api */ - VikRoutingEngine *osrm = g_object_new ( VIK_ROUTING_WEB_ENGINE_TYPE, - "id", "osrm", - "label", "OSRM", - "format", "gpx", - "url-base", "http://router.project-osrm.org/viaroute?output=gpx", - "url-start-ll", "&loc=%s,%s", - "url-stop-ll", "&loc=%s,%s", - "url-via-ll", "&loc=%s,%s", - NULL); - vik_routing_register ( VIK_ROUTING_ENGINE ( osrm ) ); - g_object_unref ( osrm ); } -- 2.39.5