From 01b8e020f6323e0cf97d8f0bdbcf0334a1d63c1d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 5 Nov 2024 19:41:06 +0100 Subject: [PATCH 1/2] Database: update to EPSG v11.022 --- data/sql/alias_name.sql | 4 ++++ data/sql/compound_crs.sql | 4 ++++ data/sql/grid_transformation.sql | 2 ++ data/sql/metadata.sql | 4 ++-- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/data/sql/alias_name.sql b/data/sql/alias_name.sql index d6e999011d..56ec2f2490 100644 --- a/data/sql/alias_name.sql +++ b/data/sql/alias_name.sql @@ -8009,3 +8009,7 @@ INSERT INTO "alias_name" VALUES('projected_crs','EPSG','5685','DB_REF2016 / 3-de 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'); +INSERT INTO "alias_name" VALUES('vertical_crs','EPSG','5779','SVS2000/Trst ','EPSG'); +INSERT INTO "alias_name" VALUES('vertical_crs','EPSG','8690','SVS2010/Koper','EPSG'); +INSERT INTO "alias_name" VALUES('compound_crs','EPSG','10686','D96 + SVS2000/Trst','EPSG'); +INSERT INTO "alias_name" VALUES('compound_crs','EPSG','10687','D96/TM + SVS2000/Trst','EPSG'); diff --git a/data/sql/compound_crs.sql b/data/sql/compound_crs.sql index 923a2c8846..da5e1fb0e4 100644 --- a/data/sql/compound_crs.sql +++ b/data/sql/compound_crs.sql @@ -884,6 +884,10 @@ INSERT INTO "compound_crs" VALUES('EPSG','10660','HD72 / EOV + EOMA 1980 height' INSERT INTO "usage" VALUES('EPSG','21616','compound_crs','EPSG','10660','EPSG','1119','EPSG','1056'); INSERT INTO "compound_crs" VALUES('EPSG','10679','ETRS89 + BSCD2000 depth',NULL,'EPSG','4258','EPSG','10678',0); INSERT INTO "usage" VALUES('EPSG','21815','compound_crs','EPSG','10679','EPSG','4779','EPSG','1291'); +INSERT INTO "compound_crs" VALUES('EPSG','10686','Slovenia 1996 + SVS2000 height',NULL,'EPSG','4765','EPSG','5779',0); +INSERT INTO "usage" VALUES('EPSG','21887','compound_crs','EPSG','10686','EPSG','3307','EPSG','1026'); +INSERT INTO "compound_crs" VALUES('EPSG','10687','Slovenia 1996 / Slovene National Grid + SVS2000 height',NULL,'EPSG','3794','EPSG','5779',0); +INSERT INTO "usage" VALUES('EPSG','21888','compound_crs','EPSG','10687','EPSG','3307','EPSG','1026'); INSERT INTO "compound_crs" VALUES('EPSG','20001','ETRS89 + SVD2006 height',NULL,'EPSG','4258','EPSG','20000',0); INSERT INTO "usage" VALUES('EPSG','17956','compound_crs','EPSG','20001','EPSG','4058','EPSG','1026'); INSERT INTO "compound_crs" VALUES('EPSG','20003','MWC18 Grid + ODN height',NULL,'EPSG','20002','EPSG','5701',0); diff --git a/data/sql/grid_transformation.sql b/data/sql/grid_transformation.sql index d9c84e1169..f7820ea57f 100644 --- a/data/sql/grid_transformation.sql +++ b/data/sql/grid_transformation.sql @@ -1748,6 +1748,8 @@ INSERT INTO "grid_transformation" VALUES('EPSG','10681','ETRS89 to ETRS89 + BSCD 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','10685','SVS2000 height to SVS2010 height (1)','SLO-VTP2024 height transformation surface derived at 2116 benchmarks. Height differences vary between −0.240 m and −0.047 m; 1σ accuarcy at 8693 BM is 9.9mm. File is also available in Surfer .grd and Gravsoft .gri formats.','EPSG','1085','Vertical Offset by Grid Interpolation (asc)','EPSG','5779','EPSG','8690',0.02,'EPSG','8732','Vertical offset file','SLO-VTP2024.xyz',NULL,NULL,NULL,NULL,'EPSG','4765','GuRS-Svn',0); +INSERT INTO "usage" VALUES('EPSG','21886','grid_transformation','EPSG','10685','EPSG','3307','EPSG','1059'); 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); diff --git a/data/sql/metadata.sql b/data/sql/metadata.sql index 45e5ba30b1..f604fc9637 100644 --- a/data/sql/metadata.sql +++ b/data/sql/metadata.sql @@ -9,8 +9,8 @@ INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MAJOR', 1); INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MINOR', 4); -INSERT INTO "metadata" VALUES('EPSG.VERSION', 'v11.021'); -INSERT INTO "metadata" VALUES('EPSG.DATE', '2024-10-30'); +INSERT INTO "metadata" VALUES('EPSG.VERSION', 'v11.022'); +INSERT INTO "metadata" VALUES('EPSG.DATE', '2024-11-05'); -- The value of ${PROJ_VERSION} is substituted at build time by the actual -- value. From aa0930e9d29bf5ca45f033732e0fe62716ebce4d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 5 Nov 2024 19:43:26 +0100 Subject: [PATCH 2/2] Update PROJ_DB_SQL_EXPECTED_MD5 --- data/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 88cedd9ed3..18916cd6a9 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -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 "b9b39adb863dd3b65fc507a8fd78f22e") +set(PROJ_DB_SQL_EXPECTED_MD5 "266b481195810403a2a268e4cba2ee88") add_custom_command( OUTPUT ${PROJ_DB}