From 1feeb42a1f12811106764ef8203bfe1a10362fb8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 15 Aug 2012 01:38:28 +0200 Subject: First working version of routing. * add an utilitary Routing class to manage different routing system * implement the routing with routino * add a view to manage routes * itinerary panel template * JS management of routing: * manage flag markers on the map * request the route when start and finish flag are set * display the route and the itinerary description * add of two flags images * itinerary panel CSS * french translation update --- example_project/settings.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index 448da80..5684386 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -78,6 +78,13 @@ CHIMERE_SHAPEFILE_ENCODING = 'ISO-8859-1' # enable routing in Chimère CHIMERE_ENABLE_ROUTING = False +# available routing engine: 'routino' +CHIMERE_ROUTING_ENGINE = { + 'ENGINE': 'routino', + 'PATH': '/usr/local/src/web/bin/router', + 'DB_PATH': '/var/local/routino/', +} + ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) -- cgit v1.2.3