From 90c5f10d2de7a1309a8c7d676cc21b019a504630 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 27 Mar 2019 20:54:31 +0100 Subject: Change back default SRID for France --- example_project/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'example_project') 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 = {} -- cgit v1.2.3