From ae86785eceae24487bd3a1778420df33c8c1a514 Mon Sep 17 00:00:00 2001 From: Carla Date: Wed, 25 May 2016 11:28:13 +0200 Subject: [PATCH] fix function signature --- doc/routing_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/routing_functions.md b/doc/routing_functions.md index 0dc7954..40feeee 100644 --- a/doc/routing_functions.md +++ b/doc/routing_functions.md @@ -38,7 +38,7 @@ INSERT INTO (duration, length, the_geom) SELECT duration, length, shape UPDATE
SET the_geom = (SELECT shape FROM cdb_route_point_to_point('POINT(-3.70237112 40.41706163)'::geometry,'POINT(-3.69909883 40.41236875)'::geometry, 'car', ARRAY['mode_type=shortest']::text[])) ``` -### cdb_route_with_waypoints(_origin geometry(Point), destination geometry(Point), mode text, [options text[], units text]_) +### cdb_route_with_waypoints(_waypoints geometry(Point)[], mode text, [options text[], units text]_) Returns a route that goes from origin to destination and whose path travels through the defined locations.