summaryrefslogtreecommitdiff
path: root/chimere/settings.py
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2010-03-14 18:35:23 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2010-03-14 18:35:23 +0000
commit64acbb356f5a177dc5bd80e7ad493ee554ca0e09 (patch)
tree8d3708eb5a235581d598cdbe672524f1d453df35 /chimere/settings.py
parent63a9537e7deeb473145512fe8a080c62ea62c2c7 (diff)
downloadChimère-64acbb356f5a177dc5bd80e7ad493ee554ca0e09.tar.bz2
Chimère-64acbb356f5a177dc5bd80e7ad493ee554ca0e09.zip
Correct projection problems on database #87 - Filter categories for moderator by area #88
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@72 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'chimere/settings.py')
-rw-r--r--chimere/settings.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/chimere/settings.py b/chimere/settings.py
index 503d681..3281277 100644
--- a/chimere/settings.py
+++ b/chimere/settings.py
@@ -13,9 +13,14 @@ EMAIL_HOST = 'localhost'
TINYMCE_URL = SERVER_URL + 'tinymce/'
-# chimere specific
+## chimere specific ##
+# center of the map
DEFAULT_CENTER = (-1.679444, 48.114722)
+# projection used by the main map
+# most public map providers use spherical mercator : 900913
EPSG_PROJECTION = 900913
+# projection displayed to the end user by openlayers
+# chimere use the same projection to save its data in the database
EPSG_DISPLAY_PROJECTION = 4326
# to restrict the map to a defined bounding box set it here
RESTRICTED_EXTENT = None