You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/sql/grid_transformation_custom.sql
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,6 @@
6
6
INSERT INTO"grid_transformation"VALUES('PROJ','BD72_TO_BEREF2002','BD72 to ETRS89-BEL [BEREF2002] (3)','Copy of BD72 to ETRS89-BEL [BEREF2011] (3) EPSG:8369','EPSG','9615','NTv2','EPSG','4313','EPSG','11063',0.01,'EPSG','8656','Latitude and longitude difference file','bd72lb72_etrs89lb08.gsb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'IGN-Bel 0.01m',0);
-- FIXME: remove this record when EPSG has fixed that issue
12
-
INSERT INTO"grid_transformation"VALUES('PROJ','ED50_TO_ETRS89_CATALONIA','ED50 to ETRS89 (14)','Copy of ED50 to ETRS89-ESP [REGENTE] (14) EPSG:5661','EPSG','9615','NTv2','EPSG','4230','EPSG','4258',0.05,'EPSG','8656','Latitude and longitude difference file','100800401.gsb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ICC-Esp Cat',0);
print('Cannot find CRS %s in geodetic_crs, projected_crs, vertical_crs or compound_crs'% (code))
1171
1171
1172
-
proj_db_cursor.execute("SELECT DISTINCT object_code, alias, coord_op_name FROM epsg.epsg_alias, epsg.epsg_coordoperation ON coord_op_code = object_code WHERE object_table_name = 'epsg_coordoperation' AND epsg_coordoperation.deprecated = 0")
1173
-
forrowinproj_db_cursor.fetchall():
1174
-
code, alt_name, new_name=row
1175
-
# We could potentially ingest all records, but the only use of them for
1176
-
# now is to workaround effects of the creation of national ETRS89-XXX
1177
-
# datums. See https://github.com/OSGeo/PROJ/pull/4736 for more details
1178
-
if"ETRS89"notinalt_name:
1179
-
# print('Ignoring alias %s for coordinate operation %s %s' % (alt_name, code, new_name))
1180
-
continue
1181
-
1182
-
proj_db_cursor.execute('SELECT table_name FROM coordinate_operation_view WHERE code = ?', (code,))
1183
-
row=proj_db_cursor.fetchone()
1184
-
ifrowisnotNone:
1185
-
table_name=row[0]
1186
-
iftable_name!="conversion":
1187
-
proj_db_cursor.execute("INSERT INTO alias_name VALUES (?,'EPSG',?,?,'EPSG')", (table_name, code, alt_name))
1188
-
continue
1189
-
1190
-
print('Cannot find coordinate operation %s for alias %s'% (code, alt_name))
0 commit comments