diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-03-27 20:54:31 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:42:35 +0200 |
commit | 90c5f10d2de7a1309a8c7d676cc21b019a504630 (patch) | |
tree | 39a411ba85da8cd3ff2e301f8f87985192286e1b /example_project | |
parent | a3563a8b6aa6f17ea08716c24906638d03268e94 (diff) | |
download | Ishtar-90c5f10d2de7a1309a8c7d676cc21b019a504630.tar.bz2 Ishtar-90c5f10d2de7a1309a8c7d676cc21b019a504630.zip |
Change back default SRID for France
Diffstat (limited to 'example_project')
-rw-r--r-- | example_project/settings.py | 8 |
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 = {} |