From 389924d4288c0dce9521755561cb3b7065c82522 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Mon, 22 Nov 2021 10:26:19 +1000 Subject: Fix mapping of coordinate system codes for ft when ingesting ESRI projection db --- scripts/build_db_from_esri.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/build_db_from_esri.py b/scripts/build_db_from_esri.py index 5637c995..bee7a583 100755 --- a/scripts/build_db_from_esri.py +++ b/scripts/build_db_from_esri.py @@ -839,14 +839,14 @@ def get_cs_from_unit(UNIT_NAME, UNIT_VALUE, is_rate=False): elif UNIT_NAME == 'Foot': assert not is_rate uom_code = '9002' - cs_auth_name = 'ESRI' - cs_code = UNIT_NAME + cs_auth_name = 'EPSG' + cs_code = '4495' assert UNIT_VALUE == '0.3048', UNIT_VALUE elif UNIT_NAME == 'Foot_US': assert not is_rate uom_code = '9003' - cs_auth_name = 'ESRI' - cs_code = UNIT_NAME + cs_auth_name = 'EPSG' + cs_code = '4497' assert UNIT_VALUE == '0.3048006096012192', UNIT_VALUE elif UNIT_NAME == 'Yard_Indian_1937': assert not is_rate -- cgit v1.2.3