diff options
| author | Nyall Dawson <nyall.dawson@gmail.com> | 2021-11-22 10:26:19 +1000 |
|---|---|---|
| committer | Nyall Dawson <nyall.dawson@gmail.com> | 2021-11-22 10:26:19 +1000 |
| commit | 389924d4288c0dce9521755561cb3b7065c82522 (patch) | |
| tree | fc10699311fedbbb659d97ec76f2a64ac8f6c757 /scripts/build_db_from_esri.py | |
| parent | c7219b4934ded42b6432b347398b418fcb0f0933 (diff) | |
| download | PROJ-389924d4288c0dce9521755561cb3b7065c82522.tar.gz PROJ-389924d4288c0dce9521755561cb3b7065c82522.zip | |
Fix mapping of coordinate system codes for ft when ingesting ESRI
projection db
Diffstat (limited to 'scripts/build_db_from_esri.py')
| -rwxr-xr-x | scripts/build_db_from_esri.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
