diff options
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/settings.py | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 5684386..750d798 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -5,6 +5,7 @@  # overload all theses settings in your local_settings.py file  import os +_ = lambda s: s  DEBUG = False  TEMPLATE_DEBUG = DEBUG @@ -78,6 +79,17 @@ CHIMERE_SHAPEFILE_ENCODING = 'ISO-8859-1'  # enable routing in Chimère  CHIMERE_ENABLE_ROUTING = False +CHIMERE_ROUTING_TRANSPORT = (('foot', _(u"Foot")), +                             ('bicycle', _(u"Bicycle")), +                             ('motorcar', _(u"Motorcar")), +                            ) + +CHIMERE_ROUTING_SPEEDS = {'foot':((3, _(u"You are walking slowly")), +                                  (6, _(u"You are walking pretty quickly")),), +                          'bicycle':((16, _(u"You are riding pretty slowly")), +                                     (22, _(u"You are riding pretty quickly")),) +                         } +  # available routing engine: 'routino'  CHIMERE_ROUTING_ENGINE = {      'ENGINE': 'routino', @@ -85,6 +97,8 @@ CHIMERE_ROUTING_ENGINE = {      'DB_PATH': '/var/local/routino/',  } +NOMINATIM_URL = 'http://nominatim.openstreetmap.org/search' +  ADMINS = (      # ('Your Name', 'your_email@domain.com'),  )  | 
