diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-26 16:23:39 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-26 16:23:39 +0100 |
| commit | 250e4a222bb267b33d9404ae31a1d09a0e4e16d3 (patch) | |
| tree | 0f485943a46dd50e68496b95152961de574afb73 /test/unit/test_operation.cpp | |
| parent | 1f8541d6f43f7fde949772e0a2174e317542b985 (diff) | |
| download | PROJ-250e4a222bb267b33d9404ae31a1d09a0e4e16d3.tar.gz PROJ-250e4a222bb267b33d9404ae31a1d09a0e4e16d3.zip | |
Database: register 4 height Austrian grids from https://github.com/OSGeo/PROJ-data/pull/13 + handle 'Vertical Offset by Grid Interpolation (BEV AT)' method
Diffstat (limited to 'test/unit/test_operation.cpp')
| -rw-r--r-- | test/unit/test_operation.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index fb611f68..84415efb 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -6755,6 +6755,21 @@ TEST(operation, transformation_NZLVD_to_PROJ_string) { // --------------------------------------------------------------------------- +TEST(operation, transformation_BEV_AT_to_PROJ_string) { + auto dbContext = DatabaseContext::create(); + auto factory = AuthorityFactory::create(dbContext, "EPSG"); + auto op = factory->createCoordinateOperation("9275", false); + EXPECT_EQ(op->exportToPROJString( + PROJStringFormatter::create( + PROJStringFormatter::Convention::PROJ_5, dbContext) + .get()), + "+proj=vgridshift +grids=at_bev_GV_Hoehengrid_V1.tif " + "+multiplier=1"); +} + + +// --------------------------------------------------------------------------- + TEST(operation, transformation_longitude_rotation_to_PROJ_string) { auto src = GeographicCRS::create( |
