diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-28 21:33:53 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-28 21:46:47 +0100 |
| commit | 4b7ec1a1822b808491fd4b675404a8259e9dc28f (patch) | |
| tree | d8c09819952c551d0c311cc3cad6214ce5522180 /test | |
| parent | 74a10a8de03deb823690f143e191087bf7c4821f (diff) | |
| download | PROJ-4b7ec1a1822b808491fd4b675404a8259e9dc28f.tar.gz PROJ-4b7ec1a1822b808491fd4b675404a8259e9dc28f.zip | |
Add +proj=set operation to set component(s) of a coordinate to a fixed value
Fixes #1846
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/4D-API_cs2cs-style.gie | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index 3e4b9d2c..b8512162 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -536,4 +536,22 @@ in the creation of a PJ object. operation this is a bogus CRS meant to trigger a generic error in proj_create() expect failure errno generic error +------------------------------------------------------------------------------- +Test proj=set +------------------------------------------------------------------------------- + +operation +proj=set +accept 1 2 3 4 +expect 1 2 3 4 +roundtrip 1 + +operation +proj=set +v_1=10 +v_2=20 +v_3=30 +v_4=40 +accept 1 2 3 4 +expect 10 20 30 40 + +operation +proj=set +v_1=10 +v_2=20 +v_3=30 +v_4=40 +direction inverse +accept 1 2 3 4 +expect 10 20 30 40 + </gie> |
