aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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>