diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-03-27 16:47:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-27 16:47:29 +0200 |
| commit | 9874f6078a5fa8981dba6a96adcffbc7a3ec7e8f (patch) | |
| tree | 4d0532ca2a4b2fb832e016723f2cc15900c4876c /test | |
| parent | a1d924593d55d462536b6243e2e29a5a0386d443 (diff) | |
| parent | bcd647fe82e45efd51c3a64e348b99b38c839e2b (diff) | |
| download | PROJ-9874f6078a5fa8981dba6a96adcffbc7a3ec7e8f.tar.gz PROJ-9874f6078a5fa8981dba6a96adcffbc7a3ec7e8f.zip | |
Merge pull request #906 from kbevers/validate-pipeline-units
Validate pipeline units
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/4D-API_cs2cs-style.gie | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index 3d3bf207..bbd9ee39 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -243,4 +243,26 @@ accept 440720 3751320 0 expect 440719.958709357 3751294.2109841 -4.44340920541435 ------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +Test that pipelines with unit mismatch between steps can't be constructed. +------------------------------------------------------------------------------- +operation +proj=pipeline + +step +proj=merc + +step +proj=merc +expect failure pjd_err_malformed_pipeline + +operation +proj=pipeline + +step +proj=latlong + +step +proj=merc + +step +proj=helmert +x=200 +y=100 +expect failure pjd_err_malformed_pipeline + +operation +proj=pipeline + +step +proj=merc + +step +proj=unitconvert +xy_in=m +xy_out=km +accept 12 56 +expect 1335.8339 7522.963 +------------------------------------------------------------------------------- + + </gie> |
