aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-11-18 17:19:41 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-11-18 18:07:56 +0100
commitbe5379fab5b45d415eaf40e85fd9fa81c2761494 (patch)
tree228e19b0027674d12c0a90810a44ba51badf9603 /scripts
parenta85e2aed1551f7964f65cc7b7c373e56803c1fd6 (diff)
downloadPROJ-be5379fab5b45d415eaf40e85fd9fa81c2761494.tar.gz
PROJ-be5379fab5b45d415eaf40e85fd9fa81c2761494.zip
Database: update to EPSG v10.007
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_db.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py
index 63636a71..af304424 100755
--- a/scripts/build_db.py
+++ b/scripts/build_db.py
@@ -401,6 +401,9 @@ def fill_helmert_transformation(proj_db_cursor):
assert param_code[6] == 8611
assert param_uom_code[3] == param_uom_code[4]
assert param_uom_code[3] == param_uom_code[5]
+ for i in range(7):
+ assert param_uom_code[i] is not None
+
if n_params == 8: # Time-specific transformation
assert param_code[7] == 1049, (code, name, param_code[7])
param_value[14] = param_value[7]
@@ -438,6 +441,8 @@ def fill_helmert_transformation(proj_db_cursor):
assert param_uom_code[7] == param_uom_code[9]
assert param_uom_code[10] == param_uom_code[11]
assert param_uom_code[10] == param_uom_code[12]
+ for i in range(15):
+ assert param_uom_code[i] is not None, (code, name, i, param_name[i])
arg = (EPSG_AUTHORITY, code, name,
remarks,