diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-19 23:14:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-19 23:14:07 +0100 |
| commit | 444bc1f661b6fefaeceebd775fbcf147187bc13c (patch) | |
| tree | 819550c4b75931e53fe4f7649e64965c5bf79c0f /test | |
| parent | 13dd313795ec37a810923c97327030b0f352d904 (diff) | |
| parent | 1433adcc673928a092c16f6555a0fcd701fdbc26 (diff) | |
| download | PROJ-444bc1f661b6fefaeceebd775fbcf147187bc13c.tar.gz PROJ-444bc1f661b6fefaeceebd775fbcf147187bc13c.zip | |
Merge pull request #1770 from ccrook/nzlvd_support
Adding support for NZLVD vertical height transformation
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/test_operation.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp index d503034c..15724c48 100644 --- a/test/unit/test_operation.cpp +++ b/test/unit/test_operation.cpp @@ -6537,6 +6537,14 @@ TEST(operation, transformation_VERTCON_to_PROJ_string) { PROJStringFormatter::create().get()), "+proj=vgridshift +grids=bla.gtx +multiplier=0.001"); } +// --------------------------------------------------------------------------- + +TEST(operation, transformation_NZLVD_to_PROJ_string) { + auto factory = AuthorityFactory::create(DatabaseContext::create(), "EPSG"); + auto op = factory->createCoordinateOperation("7860", false); + EXPECT_EQ(op->exportToPROJString(PROJStringFormatter::create().get()), + "+proj=vgridshift +grids=auckland-1946-to-nzvd2016-conversion.csv +multiplier=1"); +} // --------------------------------------------------------------------------- |
