aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_db_from_esri.py
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-22 02:27:26 +0100
committerGitHub <noreply@github.com>2021-11-22 02:27:26 +0100
commitdf894f50eeea49e70d9a76dd58972e71cb6a29e4 (patch)
treefc10699311fedbbb659d97ec76f2a64ac8f6c757 /scripts/build_db_from_esri.py
parentc7219b4934ded42b6432b347398b418fcb0f0933 (diff)
parent389924d4288c0dce9521755561cb3b7065c82522 (diff)
downloadPROJ-df894f50eeea49e70d9a76dd58972e71cb6a29e4.tar.gz
PROJ-df894f50eeea49e70d9a76dd58972e71cb6a29e4.zip
Merge pull request #2952 from nyalldawson/esri_cs_code
Fix mapping of coordinate system codes for ft when ingesting ESRI projection db
Diffstat (limited to 'scripts/build_db_from_esri.py')
-rwxr-xr-xscripts/build_db_from_esri.py8
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