Skip to content

Commit

Permalink
Merge pull request #4299 from rouault/backport-4297-to-9.5
Browse files Browse the repository at this point in the history
[Backport 9.5] Database: update to EPSG v11.021
  • Loading branch information
rouault authored Oct 30, 2024
2 parents 061d12f + 07db4e1 commit 6e6a8a5
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set(ALL_SQL_IN "${CMAKE_CURRENT_BINARY_DIR}/all.sql.in")
set(PROJ_DB "${CMAKE_CURRENT_BINARY_DIR}/proj.db")
include(sql_filelist.cmake)

set(PROJ_DB_SQL_EXPECTED_MD5 "e79756a676944c797df968346c3016fd")
set(PROJ_DB_SQL_EXPECTED_MD5 "acf0c8191db62730a6bfc1f611afdc23")

add_custom_command(
OUTPUT ${PROJ_DB}
Expand Down
4 changes: 4 additions & 0 deletions data/sql/alias_name.sql
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ INSERT INTO "alias_name" VALUES('vertical_datum','EPSG','1384','CGVD28(HTv2.0)',
INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','1081','DB_REF2003','EPSG');
INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','1081','DB_REF2016','EPSG');
INSERT INTO "alias_name" VALUES('vertical_datum','EPSG','1390','BSCD2000','EPSG');
INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','1389','RGM23','EPSG');
INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','1389','Repère de référence Géodésique de Mayotte 2023','EPSG');
INSERT INTO "alias_name" VALUES('projected_crs','EPSG','21100','Genuk / NEIEZ','EPSG');
INSERT INTO "alias_name" VALUES('projected_crs','EPSG','2140','NAD83(CSRS98) / SCoPQ zone 3','EPSG');
INSERT INTO "alias_name" VALUES('projected_crs','EPSG','2141','NAD83(CSRS98) / SCoPQ zone 4','EPSG');
Expand Down Expand Up @@ -8005,3 +8007,5 @@ INSERT INTO "alias_name" VALUES('projected_crs','EPSG','5685','DB_REF2016 / 3GK
INSERT INTO "alias_name" VALUES('projected_crs','EPSG','5685','DB_REF2003 / 3-degree Gauss-Kruger zone 5 (E-N)','EPSG');
INSERT INTO "alias_name" VALUES('projected_crs','EPSG','5685','DB_REF2016 / 3-degree Gauss-Kruger zone 5 (E-N)','EPSG');
INSERT INTO "alias_name" VALUES('projected_crs','EPSG','5682','DB_REF2016 / 3-degree Gauss-Kruger zone 2 (E-N)','EPSG');
INSERT INTO "alias_name" VALUES('geodetic_crs','EPSG','10671','RGM23 (lat-lon)','EPSG');
INSERT INTO "alias_name" VALUES('geodetic_crs','EPSG','10670','RGM23 (lat-lon)','EPSG');
4 changes: 2 additions & 2 deletions data/sql/extent.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ INSERT INTO "extent" VALUES('EPSG','2540','World - N hemisphere - 3-degree CM 04
INSERT INTO "extent" VALUES('EPSG','2541','Germany - West Germany N','Germany - states of former West Germany - onshore north of 52°20''N.',52.33,55.09,6.56,11.59,0);
INSERT INTO "extent" VALUES('EPSG','2542','Germany - West Germany C','Germany - states of former West Germany - between 50°20''N and 52°20''N.',50.33,52.34,5.86,12.03,0);
INSERT INTO "extent" VALUES('EPSG','2543','Germany - West Germany S','Germany - states of former West Germany - south of 50°20''N.',47.27,50.34,6.11,13.84,0);
INSERT INTO "extent" VALUES('EPSG','2544','Germany - Thuringen','Germany - Thuringen.',50.2,51.64,9.92,12.56,0);
INSERT INTO "extent" VALUES('EPSG','2544','Germany - Thuringen','Germany - Thuringen.',50.2,51.65,9.87,12.66,0);
INSERT INTO "extent" VALUES('EPSG','2545','Germany - Saxony','Germany - Sachsen.',50.2,51.66,11.89,15.04,0);
INSERT INTO "extent" VALUES('EPSG','2546','Romania - offshore','Romania - offshore.',43.44,45.2,28.64,31.41,0);
INSERT INTO "extent" VALUES('EPSG','2547','Serbia and Montenegro - Montenegro','Serbia and Montenegro - Montenegro.',41.82,43.53,18.44,20.37,1);
Expand Down Expand Up @@ -3754,4 +3754,4 @@ INSERT INTO "extent" VALUES('EPSG','4775','UK - London to Glasgow','United Kingd
INSERT INTO "extent" VALUES('EPSG','4776','Greenland - offshore','Greenland - offshore.',56.38,87.03,-75.0,7.99,0);
INSERT INTO "extent" VALUES('EPSG','4777','Brazil - Porto Alegre municipality','Brazil - Porto Alegre municipality.',-30.27,-29.93,-51.3,-51.01,0);
INSERT INTO "extent" VALUES('EPSG','4778','Canada - CGVD28(HTv2.0)','Canada - onshore and offshore between 41°N and 84°N and west of 48°W - Alberta; British Columbia; Manitoba; New Brunswick; Newfoundland and Labrador; Northwest Territories; Nova Scotia; Nunavut; Ontario; Prince Edward Island; Quebec; Saskatchewan; Yukon.',41.0,84.0,-141.01,-48.0,0);
INSERT INTO "extent" VALUES('EPSG','4779','Europe - Baltic Sea','Denmark, Estonia, Finland, Latvia, Lithuania, Norway, Poland, Russia and Sweden - offshore Baltic Sea including Skagerrak east of 8°30''E, Kattegat, Gulf of Bothnia, and Gulf of Finland.',53.88,65.92,8.5,30.23,0);
INSERT INTO "extent" VALUES('EPSG','4779','Europe - Baltic Sea','Denmark, Estonia, Finland, Germany, Latvia, Lithuania, Norway, Poland, Russia and Sweden - offshore Baltic Sea including Skagerrak east of 8°30''E, Kattegat, Gulf of Bothnia, and Gulf of Finland.',53.88,65.92,8.5,30.23,0);
10 changes: 10 additions & 0 deletions data/sql/geodetic_crs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2298,6 +2298,16 @@ INSERT INTO "geodetic_crs" VALUES('EPSG','10623','ECML14-IRF',NULL,'geographic 2
INSERT INTO "usage" VALUES('EPSG','21387','geodetic_crs','EPSG','10623','EPSG','4774','EPSG','1141');
INSERT INTO "geodetic_crs" VALUES('EPSG','10628','WC05-IRF',NULL,'geographic 2D','EPSG','6422','EPSG','1386',NULL,0);
INSERT INTO "usage" VALUES('EPSG','21381','geodetic_crs','EPSG','10628','EPSG','4775','EPSG','1141');
INSERT INTO "geodetic_crs" VALUES('EPSG','10669','RGM23',NULL,'geocentric','EPSG','6500','EPSG','1389',NULL,0);
INSERT INTO "usage" VALUES('EPSG','21846','geodetic_crs','EPSG','10669','EPSG','1159','EPSG','1027');
INSERT INTO "geodetic_crs" VALUES('EPSG','10670','RGM23',NULL,'geographic 3D','EPSG','6423','EPSG','1389',NULL,0);
INSERT INTO "usage" VALUES('EPSG','21845','geodetic_crs','EPSG','10670','EPSG','1159','EPSG','1182');
INSERT INTO "geodetic_crs" VALUES('EPSG','10671','RGM23',NULL,'geographic 2D','EPSG','6422','EPSG','1389',NULL,0);
INSERT INTO "usage" VALUES('EPSG','21844','geodetic_crs','EPSG','10671','EPSG','1159','EPSG','1183');
INSERT INTO "geodetic_crs" VALUES('EPSG','10672','RGM23 (lon-lat)',NULL,'geographic 3D','EPSG','6426','EPSG','1389',NULL,0);
INSERT INTO "usage" VALUES('EPSG','21686','geodetic_crs','EPSG','10672','EPSG','1159','EPSG','1189');
INSERT INTO "geodetic_crs" VALUES('EPSG','10673','RGM23 (lon-lat)',NULL,'geographic 2D','EPSG','6424','EPSG','1389',NULL,0);
INSERT INTO "usage" VALUES('EPSG','21687','geodetic_crs','EPSG','10673','EPSG','1159','EPSG','1189');
INSERT INTO "geodetic_crs" VALUES('EPSG','20033','MWC18-IRF',NULL,'geographic 2D','EPSG','6422','EPSG','1324',NULL,0);
INSERT INTO "usage" VALUES('EPSG','18335','geodetic_crs','EPSG','20033','EPSG','4666','EPSG','1141');
INSERT INTO "geodetic_crs" VALUES('EPSG','20039','SIRGAS-Chile 2021',NULL,'geocentric','EPSG','6500','EPSG','1327',NULL,0);
Expand Down
2 changes: 2 additions & 0 deletions data/sql/geodetic_datum.sql
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@ INSERT INTO "geodetic_datum" VALUES('EPSG','1385','ECML14 Intermediate Reference
INSERT INTO "usage" VALUES('EPSG','21397','geodetic_datum','EPSG','1385','EPSG','4774','EPSG','1141');
INSERT INTO "geodetic_datum" VALUES('EPSG','1386','WC05 Intermediate Reference Frame',NULL,'EPSG','7019','EPSG','8901','2024-01-01',NULL,NULL,NULL,NULL,0);
INSERT INTO "usage" VALUES('EPSG','21396','geodetic_datum','EPSG','1386','EPSG','4775','EPSG','1141');
INSERT INTO "geodetic_datum" VALUES('EPSG','1389','Mayotte Geodetic Reference Frame 2023',NULL,'EPSG','7019','EPSG','8901','2024-07-08',NULL,NULL,NULL,NULL,0);
INSERT INTO "usage" VALUES('EPSG','21858','geodetic_datum','EPSG','1389','EPSG','1159','EPSG','1178');
INSERT INTO "geodetic_datum" VALUES('EPSG','6001','Not specified (based on Airy 1830 ellipsoid)',NULL,'EPSG','7001','EPSG','8901',NULL,NULL,NULL,NULL,NULL,1);
INSERT INTO "usage" VALUES('EPSG','13422','geodetic_datum','EPSG','6001','EPSG','1263','EPSG','1213');
INSERT INTO "geodetic_datum" VALUES('EPSG','6002','Not specified (based on Airy Modified 1849 ellipsoid)',NULL,'EPSG','7002','EPSG','8901',NULL,NULL,NULL,NULL,NULL,1);
Expand Down
4 changes: 4 additions & 0 deletions data/sql/grid_transformation.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1740,10 +1740,14 @@ INSERT INTO "grid_transformation" VALUES('EPSG','10667','ETRF2000 to ETRF2000 +
INSERT INTO "usage" VALUES('EPSG','21675','grid_transformation','EPSG','10667','EPSG','1119','EPSG','1270');
INSERT INTO "grid_transformation" VALUES('EPSG','10668','HD72 to ETRF2000 (2)','Emulation to better than 2mm of the official SGO EHT transformation. ETRF2000 coordinates of the grid nodes were converted to HD72 using the online EHT tool. For cadastral and other legal purposes the official transformation (CT code 10663) must be used.','EPSG','9615','NTv2','EPSG','4237','EPSG','9067',0.015,'EPSG','8656','Latitude and longitude difference file','hu_bme_hd72corr.gsb',NULL,NULL,NULL,NULL,NULL,NULL,'BME-Hun',0);
INSERT INTO "usage" VALUES('EPSG','21676','grid_transformation','EPSG','10668','EPSG','1119','EPSG','1178');
INSERT INTO "grid_transformation" VALUES('EPSG','10677','PD/83 to ETRS89 (2)','Official transformation for the state of Thuringen used in ThuTrans. File also available in GTG format.','EPSG','9615','NTv2','EPSG','4746','EPSG','4258',0.3,'EPSG','8656','Latitude and longitude difference file','de_tlbg_thuringen_NTv2gridTH.gsb',NULL,NULL,NULL,NULL,NULL,NULL,'TLBG-Deu Thuringen',0);
INSERT INTO "usage" VALUES('EPSG','21822','grid_transformation','EPSG','10677','EPSG','2544','EPSG','1273');
INSERT INTO "grid_transformation" VALUES('EPSG','10680','ETRS89 to BSCD2000 depth (1)','Defines BSCD2000. See ETRS89 to ETRS89 + BSCD2000 depth (1) (code 10681) for reversible alternative. File also available in gtx and gtg formats.','EPSG','1116','Geographic3D to Depth (txt)','EPSG','4937','EPSG','10678',0.05,'EPSG','8666','Geoid (height correction) model file','BSCD2000.txt',NULL,NULL,NULL,NULL,NULL,NULL,'BSHC-Baltic 2023',0);
INSERT INTO "usage" VALUES('EPSG','21820','grid_transformation','EPSG','10680','EPSG','4779','EPSG','1277');
INSERT INTO "grid_transformation" VALUES('EPSG','10681','ETRS89 to ETRS89 + BSCD2000 depth (1)','Reversible alternative to ETRS89 to BSCD2000 depth (1) (code 10680). File also available in gtx and gtg formats.','EPSG','1115','Geog3D to Geog2D+Depth (txt)','EPSG','4937','EPSG','10679',0.05,'EPSG','8666','Geoid (height correction) model file','BSCD2000.txt',NULL,NULL,NULL,NULL,'EPSG','4258','BSHC-Baltic 2023',0);
INSERT INTO "usage" VALUES('EPSG','21821','grid_transformation','EPSG','10681','EPSG','4779','EPSG','1272');
INSERT INTO "grid_transformation" VALUES('EPSG','10683','RGM04 to RGM23 (2)','','EPSG','1087','Geocentric translation by Grid Interpolation (IGN)','EPSG','4470','EPSG','10671',0.05,'EPSG','8727','Geocentric translation file','RGM04versRGM23.txt',NULL,NULL,NULL,NULL,'EPSG','10671','IGN-Myt 5cm',0);
INSERT INTO "usage" VALUES('EPSG','21860','grid_transformation','EPSG','10683','EPSG','1159','EPSG','1178');
INSERT INTO "grid_transformation" VALUES('EPSG','15486','CH1903 to CH1903+ (1)','For improved accuracy (0.01m) use CHENyx06 interpolation programme FINELTRA. File CHENyx06 replaced by CHENyx06a; there is a small area at the border of the data where some more real data has been introduced. swisstopo consider the change insignificant.','EPSG','9615','NTv2','EPSG','4149','EPSG','4150',0.2,'EPSG','8656','Latitude and longitude difference file','CHENyx06a.gsb',NULL,NULL,NULL,NULL,NULL,NULL,'BfL-Che',0);
INSERT INTO "usage" VALUES('EPSG','11497','grid_transformation','EPSG','15486','EPSG','1286','EPSG','1085');
INSERT INTO "grid_transformation" VALUES('EPSG','15488','RRAF 1991 to IGN 1988 MG height (1)','May be used for transformations from WGS 84 to IGN 1988 MG. Accuracy at each 0.025 deg x 0.025 degree grid node is given within the geoid model file.','EPSG','9664','Geographic3D to GravityRelatedHeight (IGN1997)','EPSG','4973','EPSG','5617',0.2,'EPSG','8666','Geoid (height correction) model file','ggg00_mg.txt',NULL,NULL,NULL,NULL,NULL,NULL,'IGN Glp MG',1);
Expand Down
Loading

0 comments on commit 6e6a8a5

Please sign in to comment.