aboutsummaryrefslogtreecommitdiff
path: root/test/gie/pip.gie
diff options
context:
space:
mode:
Diffstat (limited to 'test/gie/pip.gie')
-rw-r--r--test/gie/pip.gie41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/gie/pip.gie b/test/gie/pip.gie
new file mode 100644
index 00000000..0cb54614
--- /dev/null
+++ b/test/gie/pip.gie
@@ -0,0 +1,41 @@
+These two tests have occasionally been causing segfaults from gie, but
+only at low PROJ_DEBUG levels.
+
+<gie>
+-------------------------------------------------------------------------------
+Finally test a pipeline with more than one init step
+-------------------------------------------------------------------------------
+operation proj=pipeline step
+ init=epsg:25832 inv step
+ init=epsg:25833 step
+ init=epsg:25833 inv step
+ init=epsg:25832
+-------------------------------------------------------------------------------
+accept 691875.63214 6098907.82501 0 0
+expect 691875.63214 6098907.82501 0 0
+direction inverse
+accept 12 55 0 0
+expect 12 55 0 0
+-------------------------------------------------------------------------------
+
+
+
+-------------------------------------------------------------------------------
+This example is a coordinate from the geodetic observatory in Onsala,
+Sweden transformed from ITRF2000 @ 2017.0 to ITRF93 @ 2017.0.
+
+The test coordinate was transformed using GNSStrans, using transformation
+parameters published by ITRF: ftp://itrf.ensg.ign.fr/pub/itrf/ITRF.TP
+-------------------------------------------------------------------------------
+operation proj=helmert ellps=GRS80 transpose
+ x = 0.0127 dx = -0.0029 rx = -0.00039 drx = -0.00011
+ y = 0.0065 dy = -0.0002 ry = 0.00080 dry = -0.00019
+ z = -0.0209 dz = -0.0006 rz = -0.00114 drz = 0.00007
+
+ s = 0.00195 ds = 0.00001 t_epoch = 1988.0
+-------------------------------------------------------------------------------
+tolerance 0.03 mm
+accept 3370658.37800 711877.31400 5349787.08600 2017.0 # ITRF2000@2017.0
+expect 3370658.18890 711877.42370 5349787.12430 2017.0 # ITRF93@2017.0
+-------------------------------------------------------------------------------
+</gie>