aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-08-29 14:43:50 +0200
committerGitHub <noreply@github.com>2018-08-29 14:43:50 +0200
commita7d3c8248fb58b6f47b437de6b4b5ee835956a44 (patch)
tree144b9dc75a4ae3f688b86812c6ca77d971a6cb34 /test
parent1ea7ff15668566695e9c5a5b6137a7c466ef61f4 (diff)
parent18b98b324f384dbf7ebe429a6907df06fcecee3f (diff)
downloadPROJ-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.gie29
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>