diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-05 14:36:33 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-06 23:48:52 +0200 |
| commit | 4c992038ea01ead56df12f468f29325f7ca9e43d (patch) | |
| tree | b84fb649231ce14e7a319347488b05c4d840b45f /scripts/build_db_create_ignf_from_xml.py | |
| parent | a9b6f39494e6dab0ea02af9d82e7b3d570f5422f (diff) | |
| download | PROJ-4c992038ea01ead56df12f468f29325f7ca9e43d.tar.gz PROJ-4c992038ea01ead56df12f468f29325f7ca9e43d.zip | |
Database: add a reference_frame_epoch column to the geodetic_datum for dynamic datums, but not yet used
Diffstat (limited to 'scripts/build_db_create_ignf_from_xml.py')
| -rwxr-xr-x | scripts/build_db_create_ignf_from_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build_db_create_ignf_from_xml.py b/scripts/build_db_create_ignf_from_xml.py index ec818dc2..73bb8a5e 100755 --- a/scripts/build_db_create_ignf_from_xml.py +++ b/scripts/build_db_create_ignf_from_xml.py @@ -144,7 +144,7 @@ def ingest_datums(root, all_sql, mapEllpsId, mapPmId): ellpsCode = extract_id_from_href(node.find('usesEllipsoid').attrib['href']) assert ellpsCode in mapEllpsId - sql = """INSERT INTO "geodetic_datum" VALUES('IGNF','%s','%s',NULL,'%s','%s','%s','%s',NULL,0);""" % (id, names[0], mapEllpsId[ellpsCode][0], mapEllpsId[ellpsCode][1], mapPmId[pmCode][0], mapPmId[pmCode][1]) + sql = """INSERT INTO "geodetic_datum" VALUES('IGNF','%s','%s',NULL,'%s','%s','%s','%s',NULL,NULL,0);""" % (id, names[0], mapEllpsId[ellpsCode][0], mapEllpsId[ellpsCode][1], mapPmId[pmCode][0], mapPmId[pmCode][1]) all_sql.append(sql) mapDatumId[id] = ('IGNF', id) |
