aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie31
-rw-r--r--test/gie/more_builtins.gie12
2 files changed, 43 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index c6a801f8..6b820c01 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -502,6 +502,37 @@ expect -0.001790493 0.000895247
accept -200 -100
expect -0.001790493 -0.000895247
+===============================================================================
+Central Conic
+ Sph
+ lat_1
+===============================================================================
+
+-------------------------------------------------------------------------------
+operation +proj=pipeline +step +proj=ccon +lat_1=52 +lat_0=52 +lon_0=19 +a=6390000 +x_0=330000 +y_0=-350000 +step +proj=axisswap +order=1,-2,3,4
+-------------------------------------------------------------------------------
+tolerance 0.00010 mm
+accept 24 55
+expect 650031.54109413219363 4106.1617770643609028
+accept 15 49
+expect 37074.189007307473069 676826.23559270039774
+accept 24 49
+expect 696053.36061617843913 672294.56795827199940
+accept 19 52
+expect 330000.00000000000000 350000.00000000000000
+
+direction inverse
+accept 0 0
+expect 13.840227318521004431 55.030403993648806391
+accept 0 700000
+expect 14.514453594615022781 48.773847834747808675
+accept 700000 0
+expect 24.782707184271129766 55.003515505218481835
+accept 700000 700000
+expect 24.027610763560529927 48.750476070495021286
+accept 330000 350000
+expect 19.000000000000000000 52.000000000000000000
+
===============================================================================
Central Cylindrical
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index cf96c77e..8ac8a667 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -273,6 +273,18 @@ expect 12 89.999999999989996 0 0
-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+some less used options
+-------------------------------------------------------------------------------
+operation proj=utm ellps=GRS80 zone=32 to_meter=0
+expect failure
+
+operation proj=utm ellps=GRS80 zone=32 to_meter=10
+accept 12 55
+expect 69187.5632 609890.7825
+-------------------------------------------------------------------------------
+
+
-------------------------------------------------------------------------------
run the few gie-builtin tests, which are currently either awkward or impossible