diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-08-29 14:43:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-29 14:43:50 +0200 |
| commit | a7d3c8248fb58b6f47b437de6b4b5ee835956a44 (patch) | |
| tree | 144b9dc75a4ae3f688b86812c6ca77d971a6cb34 /test | |
| parent | 1ea7ff15668566695e9c5a5b6137a7c466ef61f4 (diff) | |
| parent | 18b98b324f384dbf7ebe429a6907df06fcecee3f (diff) | |
| download | PROJ-a7d3c8248fb58b6f47b437de6b4b5ee835956a44.tar.gz PROJ-a7d3c8248fb58b6f47b437de6b4b5ee835956a44.zip | |
Merge pull request #1106 from rouault/vto_meter_4DAPI_proj_longlat
4D API: honour vto_meter / vunits for proj=longlat
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/4D-API_cs2cs-style.gie | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index 20aa04c6..346f2d36 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -337,4 +337,33 @@ accept 90 0 0 expect 0 1 0 roundtrip 1 +------------------------------------------------------------------------------- +Check that vunits / vto_meter is honored +------------------------------------------------------------------------------- + +operation +proj=longlat +a=1 +b=1 +vto_meter=1000 +accept 0 0 1000 +expect 0 0 1 +roundtrip 1 + +operation +proj=longlat +a=1 +b=1 +vto_meter=1000 +geoc +accept 0 0 1000 +expect 0 0 1 +roundtrip 1 + +operation +proj=longlat +a=1 +b=1 +vunits=km +accept 0 0 1000 +expect 0 0 1 +roundtrip 1 + +operation +proj=merc +a=1 +b=1 +vto_meter=1000 +accept 0 0 1000 +expect 0 0 1 +roundtrip 1 + +operation +proj=merc +a=1 +b=1 +vunits=km +accept 0 0 1000 +expect 0 0 1 +roundtrip 1 + </gie> |
