diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-23 17:42:39 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-23 17:42:39 +0200 |
| commit | ef443bdf0e85a5ef7611bf0ac815610b9645f2eb (patch) | |
| tree | fc5e89c9479d511c030651d3d954e2d366174093 /scripts/build_db.py | |
| parent | e6a992b59985e51e2d205fe56c1abecc4a10ffd0 (diff) | |
| download | PROJ-ef443bdf0e85a5ef7611bf0ac815610b9645f2eb.tar.gz PROJ-ef443bdf0e85a5ef7611bf0ac815610b9645f2eb.zip | |
Database: add interpolation_crs_auth_name and interpolation_crs_code columns to other_transformation table
Diffstat (limited to 'scripts/build_db.py')
| -rwxr-xr-x | scripts/build_db.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index 848d9e5b..63636a71 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -619,6 +619,7 @@ def fill_other_transformation(proj_db_cursor): param_uom_auth_name[5], param_uom_code[5], param_auth_name[6], param_code[6], param_name[6], param_value[6], param_uom_auth_name[6], param_uom_code[6], + None, None, # interpolation CRS coord_tfm_version, deprecated) @@ -626,7 +627,7 @@ def fill_other_transformation(proj_db_cursor): #print(arg) proj_db_cursor.execute('INSERT INTO other_transformation VALUES (' + '?,?,?, ?, ?,?,?, ?,?, ?,?, ?, ?,?,?,?,?,?, ?,?,?,?,?,?, ?,?,?,?,?,?, ' + - '?,?,?,?,?,?, ?,?,?,?,?,?, ?,?,?,?,?,?, ?,?,?,?,?,?, ?,?)', arg) + '?,?,?,?,?,?, ?,?,?,?,?,?, ?,?,?,?,?,?, ?,?,?,?,?,?, ?,?, ?,?)', arg) def fill_concatenated_operation(proj_db_cursor): proj_db_cursor.execute("SELECT coord_op_code, coord_op_name, coord_op_method_code, coord_op_method_name, source_crs_code, target_crs_code, coord_op_accuracy, coord_tfm_version, epsg_coordoperation.deprecated, epsg_coordoperation.remarks FROM epsg.epsg_coordoperation LEFT JOIN epsg.epsg_coordoperationmethod USING (coord_op_method_code) WHERE coord_op_type = 'concatenated operation'") |
