diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-09-05 16:06:55 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-09-05 16:06:55 +0200 |
| commit | 01559894ca1e6aa1ae983d4069db55a8c7ec4aec (patch) | |
| tree | 06dab63309325a4c094eb8153c87a2b8458446f4 /test | |
| parent | 71b372e6f08b2f40fbd043c80b56bdb8d2c0b5a0 (diff) | |
| download | PROJ-01559894ca1e6aa1ae983d4069db55a8c7ec4aec.tar.gz PROJ-01559894ca1e6aa1ae983d4069db55a8c7ec4aec.zip | |
getInsertStatementsFor(): re-order projection parameters according to their canonical order if needed
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/test_factory.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index e99072a8..32afe0b5 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -4358,7 +4358,8 @@ TEST(factory, objectInsertion) { ctxt->stopInsertStatementsSession(); } - // Missing projection method and parameter id + // Missing projection method and parameter id, and parameters not in + // their nominal order { auto ctxt = DatabaseContext::create(); ctxt->startInsertStatementsSession(); @@ -4372,10 +4373,10 @@ TEST(factory, objectInsertion) { " ANGLEUNIT[\"degree\",0.0174532925199433]]],\n" " CONVERSION[\"UTM zone 31N\",\n" " METHOD[\"Transverse Mercator\"],\n" - " PARAMETER[\"Latitude of natural origin\",0,\n" - " ANGLEUNIT[\"degree\",0.0174532925199433]],\n" " PARAMETER[\"Longitude of natural origin\",3,\n" " ANGLEUNIT[\"degree\",0.0174532925199433]],\n" + " PARAMETER[\"Latitude of natural origin\",0,\n" + " ANGLEUNIT[\"degree\",0.0174532925199433]],\n" " PARAMETER[\"Scale factor at natural origin\",0.9996,\n" " SCALEUNIT[\"unity\",1]],\n" " PARAMETER[\"False easting\",500000,\n" |
