diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-31 19:00:02 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-31 19:00:02 +0100 |
| commit | dae4a3bfac6ec54c0520e4228846dfae1cd9a67d (patch) | |
| tree | df71dcf8db2964a800222f98275f90dd785bbed0 /test/unit/gie_self_tests.cpp | |
| parent | 2aaf53b20abe68154054d193f8f0fea5a0b78ec1 (diff) | |
| download | PROJ-dae4a3bfac6ec54c0520e4228846dfae1cd9a67d.tar.gz PROJ-dae4a3bfac6ec54c0520e4228846dfae1cd9a67d.zip | |
exportToWKT(): restrict a8e7ef45d132b44dd4096c6fe3703fe92b390d1e to TOWGS84 only to avoid breaking other use cases
Diffstat (limited to 'test/unit/gie_self_tests.cpp')
| -rw-r--r-- | test/unit/gie_self_tests.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/unit/gie_self_tests.cpp b/test/unit/gie_self_tests.cpp index 14bb2241..b77fecf3 100644 --- a/test/unit/gie_self_tests.cpp +++ b/test/unit/gie_self_tests.cpp @@ -697,11 +697,9 @@ TEST(gie, proj_create_crs_to_crs_PULKOVO42_ETRS89) { c.xyz.x = 45; // Lat c.xyz.y = 25; // Long c.xyz.z = 0; - proj_trans_generic (P, PJ_FWD, - &(c.xyz.x), sizeof(double), 1, - &(c.xyz.y), sizeof(double), 1, - &(c.xyz.z), sizeof(double), 1, - nullptr, 0, 0); + proj_trans_generic(P, PJ_FWD, &(c.xyz.x), sizeof(double), 1, &(c.xyz.y), + sizeof(double), 1, &(c.xyz.z), sizeof(double), 1, + nullptr, 0, 0); EXPECT_NEAR(c.xy.x, 44.999701238, 1e-9); EXPECT_NEAR(c.xy.y, 24.998474948, 1e-9); |
