aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorƁukasz Komsta <22728459+luqqe@users.noreply.github.com>2017-11-21 17:40:21 +0100
committerKristian Evers <kristianevers@gmail.com>2017-11-21 17:40:21 +0100
commit742d8913037464b484c45c40c7d14a216599f834 (patch)
tree2b46b6181f67d86b7acef34bff78a8c3b7afcec3 /test
parent5f1522ad7652e562f98328b05d905c407bab99e9 (diff)
downloadPROJ-742d8913037464b484c45c40c7d14a216599f834.tar.gz
PROJ-742d8913037464b484c45c40c7d14a216599f834.zip
Central conic projection (gnomonic) implementation (as 'proj=ccon') (#662)
Central conic projection implemented as 'ccon'.
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie31
1 files changed, 31 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