summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 5d10dba6c..f13e5f0ce 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -234,8 +234,8 @@ ISHTAR_MAP_MAX_ITEMS = 50000
ISHTAR_QRCODE_VERSION = 8 # density of the QR code
ISHTAR_QRCODE_SCALE = 2 # scale of the QR code
-SRID = 2154 # Lambert 93 - France
-SURFACE_SRID = 2154 # Lambert 93 - France
+SRID = 4326 # WGS84 - World
+SURFACE_SRID = 4326 # WGS84 - World
ENCODING = 'windows-1252'
ALT_ENCODING = 'ISO-8859-15'
APP_NAME = "SRA - Pays de la Loire"
@@ -277,6 +277,10 @@ try:
except ImportError, e:
print('Unable to load local_settings.py:', e)
+if LANGUAGE_CODE == "fr-fr" and SRID == 4326:
+ SRID = 27572 # Lambert zone II - France
+ SURFACE_SRID = 2154 # Lambert 93 - France
+
TABLE_COLS = {} # allow to overload table col settings on extra module
COL_LABELS = {}