diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-11-18 17:19:41 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-11-18 17:19:41 +0100 |
| commit | 0476db2b05b9232b7c579901cf8a873ef34ae62f (patch) | |
| tree | bb2a77abe762201cebb2e8810df2c59b4d8f606b /scripts | |
| parent | c560b7957664c32e2465e8425abaccc5a6b2607d (diff) | |
| download | PROJ-0476db2b05b9232b7c579901cf8a873ef34ae62f.tar.gz PROJ-0476db2b05b9232b7c579901cf8a873ef34ae62f.zip | |
Database: update to EPSG v10.007
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build_db.py | 5 |
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, |
