Skip to content

Commit

Permalink
Merge pull request #3978 from rouault/database_no_kv_CD_above_Ell_ETR…
Browse files Browse the repository at this point in the history
…S89_v2023b

Database: add entry in grid_alternatives for ChartDatum_above_Ellipsod_EUREF89_v2023b.bin / no_kv_CD_above_Ell_ETRS89_v2023b.tif
  • Loading branch information
rouault authored Dec 8, 2023
2 parents f33434b + f530379 commit f6f763f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions data/sql/grid_alternatives.sql
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ VALUES
('href2008a.bin','no_kv_href2008a.tif',NULL,'GTiff','geoid_like',0,NULL,'https://cdn.proj.org/no_kv_href2008a.tif',1,1,NULL),
('no_kv_NKGETRF14_EPSG7922_2000.tif','no_kv_NKGETRF14_EPSG7922_2000.tif',NULL,'GTiff','geocentricoffset',0,NULL,'https://cdn.proj.org/no_kv_NKGETRF14_EPSG7922_2000.tif',1,1,NULL),
('ChartDatum_above_Ellipsoid_EUREF89_v2021a.bin','no_kv_CD_above_Ell_ETRS89_v2021a.tif',NULL,'GTiff','vgridshift',0,NULL,'https://cdn.proj.org/no_kv_CD_above_Ell_ETRS89_v2021a.tif',1,1,NULL),
('ChartDatum_above_Ellipsoid_EUREF89_v2023b.bin','no_kv_CD_above_Ell_ETRS89_v2023b.tif',NULL,'GTiff','vgridshift',0,NULL,'https://cdn.proj.org/no_kv_CD_above_Ell_ETRS89_v2023b.tif',1,1,NULL),
('no_kv_ETRS89NO_NGO48_TIN.json','no_kv_ETRS89NO_NGO48_TIN.json',NULL,'JSON','tinshift',0,NULL,'https://cdn.proj.org/no_kv_ETRS89NO_NGO48_TIN.json',1,1,NULL),
('arcgp-2006-sk.bin','no_kv_arcgp-2006-sk.tif',NULL,'GTiff','geoid_like',0,NULL,'https://cdn.proj.org/no_kv_arcgp-2006-sk.tif',1,1,NULL),

Expand Down
8 changes: 4 additions & 4 deletions test/unit/test_operationfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ TEST(operation, geog3DCRS_to_vertCRS_depth_context) {
"+step +proj=axisswap +order=2,1 "
"+step +proj=unitconvert +xy_in=deg +xy_out=rad "
"+step +inv +proj=vgridshift "
"+grids=no_kv_CD_above_Ell_ETRS89_v2021a.tif +multiplier=1 "
"+grids=no_kv_CD_above_Ell_ETRS89_v2023b.tif +multiplier=1 "
"+step +proj=axisswap +order=1,2,-3 "
"+step +proj=unitconvert +xy_in=rad +xy_out=deg "
"+step +proj=axisswap +order=2,1");
Expand All @@ -909,7 +909,7 @@ TEST(operation, geog3DCRS_to_vertCRS_depth_context) {
"+step +proj=unitconvert +xy_in=deg +xy_out=rad "
"+step +proj=axisswap +order=1,2,-3 "
"+step +proj=vgridshift "
"+grids=no_kv_CD_above_Ell_ETRS89_v2021a.tif +multiplier=1 "
"+grids=no_kv_CD_above_Ell_ETRS89_v2023b.tif +multiplier=1 "
"+step +proj=unitconvert +xy_in=rad +xy_out=deg "
"+step +proj=axisswap +order=2,1");
}
Expand Down Expand Up @@ -940,7 +940,7 @@ TEST(operation, geog3DCRS_to_geog2DCRS_plus_vertCRS_depth_context) {
"+step +proj=axisswap +order=2,1 "
"+step +proj=unitconvert +xy_in=deg +xy_out=rad "
"+step +inv +proj=vgridshift "
"+grids=no_kv_CD_above_Ell_ETRS89_v2021a.tif +multiplier=1 "
"+grids=no_kv_CD_above_Ell_ETRS89_v2023b.tif +multiplier=1 "
"+step +proj=axisswap +order=1,2,-3 "
"+step +proj=unitconvert +xy_in=rad +xy_out=deg "
"+step +proj=axisswap +order=2,1");
Expand All @@ -966,7 +966,7 @@ TEST(operation, geog3DCRS_to_geog2DCRS_plus_vertCRS_depth_context) {
"+step +proj=unitconvert +xy_in=deg +xy_out=rad "
"+step +proj=axisswap +order=1,2,-3 "
"+step +proj=vgridshift "
"+grids=no_kv_CD_above_Ell_ETRS89_v2021a.tif +multiplier=1 "
"+grids=no_kv_CD_above_Ell_ETRS89_v2023b.tif +multiplier=1 "
"+step +proj=unitconvert +xy_in=rad +xy_out=deg "
"+step +proj=axisswap +order=2,1");
}
Expand Down

0 comments on commit f6f763f

Please sign in to comment.