From c75d1879e5c465f168fcd8800b11044ee3738dee Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Fri, 2 Feb 2018 01:03:25 +0100 Subject: Improve tests and add test files to automake setup. Make sure that the gie files in test/gie and test/gigs are included in the distribution tarball. Tests with gie are set up to run all available files matching *.gie in the gie and gigs directories. For this reason tests that are known to fail in gigs/ have been renamed to *.gie_failing, so that "make check" can be run in-tree in local copies of the git repository. --- test/Makefile.am | 12 + test/gie/Makefile.am | 9 + test/gigs/5101.4-jhs.gie | 300 ---------------------- test/gigs/5101.4-jhs.gie_failing | 300 ++++++++++++++++++++++ test/gigs/5102.2.gie | 252 ------------------ test/gigs/5102.2.gie_failing | 252 ++++++++++++++++++ test/gigs/5104.gie | 264 ------------------- test/gigs/5104.gie_failing | 264 +++++++++++++++++++ test/gigs/5105.1.gie | 300 ---------------------- test/gigs/5105.1.gie_failing | 300 ++++++++++++++++++++++ test/gigs/5108.gie | 228 ----------------- test/gigs/5108.gie_failing | 228 +++++++++++++++++ test/gigs/5110.gie | 164 ------------ test/gigs/5110.gie_failing | 164 ++++++++++++ test/gigs/5111.2.gie | 444 -------------------------------- test/gigs/5111.2.gie_failing | 444 ++++++++++++++++++++++++++++++++ test/gigs/5203.1.gie | 192 -------------- test/gigs/5203.1.gie_failing | 192 ++++++++++++++ test/gigs/5204.1.gie | 192 -------------- test/gigs/5204.1.gie_failing | 192 ++++++++++++++ test/gigs/5205.1.gie | 192 -------------- test/gigs/5205.1.gie_failing | 192 ++++++++++++++ test/gigs/5206.gie | 540 --------------------------------------- test/gigs/5206.gie_failing | 540 +++++++++++++++++++++++++++++++++++++++ test/gigs/5207.1.gie | 252 ------------------ test/gigs/5207.1.gie_failing | 252 ++++++++++++++++++ test/gigs/5207.2.gie | 456 --------------------------------- test/gigs/5207.2.gie_failing | 456 +++++++++++++++++++++++++++++++++ test/gigs/Makefile.am | 18 ++ 29 files changed, 3815 insertions(+), 3776 deletions(-) create mode 100644 test/Makefile.am create mode 100644 test/gie/Makefile.am delete mode 100644 test/gigs/5101.4-jhs.gie create mode 100644 test/gigs/5101.4-jhs.gie_failing delete mode 100644 test/gigs/5102.2.gie create mode 100644 test/gigs/5102.2.gie_failing delete mode 100644 test/gigs/5104.gie create mode 100644 test/gigs/5104.gie_failing delete mode 100644 test/gigs/5105.1.gie create mode 100644 test/gigs/5105.1.gie_failing delete mode 100644 test/gigs/5108.gie create mode 100644 test/gigs/5108.gie_failing delete mode 100644 test/gigs/5110.gie create mode 100644 test/gigs/5110.gie_failing delete mode 100644 test/gigs/5111.2.gie create mode 100644 test/gigs/5111.2.gie_failing delete mode 100644 test/gigs/5203.1.gie create mode 100644 test/gigs/5203.1.gie_failing delete mode 100644 test/gigs/5204.1.gie create mode 100644 test/gigs/5204.1.gie_failing delete mode 100644 test/gigs/5205.1.gie create mode 100644 test/gigs/5205.1.gie_failing delete mode 100644 test/gigs/5206.gie create mode 100644 test/gigs/5206.gie_failing delete mode 100644 test/gigs/5207.1.gie create mode 100644 test/gigs/5207.1.gie_failing delete mode 100644 test/gigs/5207.2.gie create mode 100644 test/gigs/5207.2.gie_failing create mode 100644 test/gigs/Makefile.am (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am new file mode 100644 index 00000000..0cb83342 --- /dev/null +++ b/test/Makefile.am @@ -0,0 +1,12 @@ +EXEPATH = ../src +GIEEXE = $(EXEPATH)/gie +GIETESTS = gie +GIGSTESTS = gigs + +SUBDIRS = gie gigs + +EXTRA_DIST = CMakeLists.txt + +check-local: + $(GIEEXE) $(GIETESTS)/*.gie + $(GIEEXE) $(GIGSTESTS)/*.gie diff --git a/test/gie/Makefile.am b/test/gie/Makefile.am new file mode 100644 index 00000000..291bc3f7 --- /dev/null +++ b/test/gie/Makefile.am @@ -0,0 +1,9 @@ +EXTRA_DIST = 4D-API_cs2cs-style.gie \ + GDA.gie \ + Makefile.am \ + axisswap.gie \ + builtins.gie \ + deformation.gie \ + ellipsoid.gie \ + more_builtins.gie \ + unitconvert.gie diff --git a/test/gigs/5101.4-jhs.gie b/test/gigs/5101.4-jhs.gie deleted file mode 100644 index 615bf60b..00000000 --- a/test/gigs/5101.4-jhs.gie +++ /dev/null @@ -1,300 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5101 (part 4), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4190 +inv - +step +init=epsg:22175 --------------------------------------------------------------------------------- -tolerance 0.03 m -accept -63.9993433 80.0002644 -expect 5422500.0 18889800.0 - -tolerance 0.03 m -accept -63.9998472 60.0001191 -expect 5276900.0 16662800.0 - -tolerance 0.03 m -accept -63.9997361 40.0003081 -expect 5158399.999 14439199.99 - -tolerance 0.03 m -accept -64.0004605 19.9996448 -expect 5081100.0 12219300.0 - -tolerance 0.03 m -accept -63.9996186 0.0003092 -expect 5054400.005 10002000.0 - -tolerance 0.03 m -accept -64.0004675 -19.9999283 -expect 5081100.017 7784599.993 - -tolerance 0.03 m -accept -63.9997001 -39.9996924 -expect 5158400.0 5564800.0 - -tolerance 0.03 m -accept -63.9998814 -60.0004008 -expect 5276899.994 3341099.995 - -tolerance 0.03 m -accept -63.9991006 -79.9996521 -expect 5422500.0 1114200.0 - -tolerance 0.03 m -accept -70.0002089 -40.000215 -expect 4645300.113 5524200.123 - -tolerance 0.03 m -accept -69.0001441 -40.0002935 -expect 4730900.0 5533400.0 - -tolerance 0.03 m -accept -67.9995333 -39.9996136 -expect 4816500.043 5541700.028 - -tolerance 0.03 m -accept -66.9998073 -39.9999313 -expect 4902000.0 5548900.0 - -tolerance 0.03 m -accept -65.9996522 -39.9995894 -expect 4987500.009 5555200.001 - -tolerance 0.03 m -accept -64.9992796 -40.000411 -expect 5073000.0 5560400.0 - -tolerance 0.03 m -accept -63.9997 -39.9996925 -expect 5158400.01 5564799.987 - -tolerance 0.03 m -accept -62.9999842 -40.0002087 -expect 5243800.0 5568100.0 - -tolerance 0.03 m -accept -62.0000778 -40.0001803 -expect 5329199.995 5570500.009 - -tolerance 0.03 m -accept -61.0000574 -39.9996182 -expect 5414600.0 5572000.0 - -tolerance 0.03 m -accept -60 -40.0003306 -expect 5500000.0 5572399.996 - -tolerance 0.03 m -accept -58.9999426 -39.9996182 -expect 5585400.0 5572000.0 - -tolerance 0.03 m -accept -57.9999222 -40.0001803 -expect 5670800.005 5570500.009 - -tolerance 0.03 m -accept -57.0000158 -40.0002087 -expect 5756200.0 5568100.0 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:22175 +inv - +step +init=epsg:4190 --------------------------------------------------------------------------------- -tolerance 0.03 m -accept 5422500.0 18889800.0 -expect -63.9993433 80.0002644 - -tolerance 0.03 m -accept 5276900.0 16662800.0 -expect -63.9998472 60.0001191 - -tolerance 0.03 m -accept 5158399.999 14439199.99 -expect -63.9997361 40.0003081 - -tolerance 0.03 m -accept 5081100.0 12219300.0 -expect -64.0004605 19.9996448 - -tolerance 0.03 m -accept 5054400.005 10002000.0 -expect -63.9996186 0.0003092 - -tolerance 0.03 m -accept 5081100.017 7784599.993 -expect -64.0004675 -19.9999283 - -tolerance 0.03 m -accept 5158400.0 5564800.0 -expect -63.9997001 -39.9996924 - -tolerance 0.03 m -accept 5276899.994 3341099.995 -expect -63.9998814 -60.0004008 - -tolerance 0.03 m -accept 5422500.0 1114200.0 -expect -63.9991006 -79.9996521 - -tolerance 0.03 m -accept 4645300.113 5524200.123 -expect -70.0002089 -40.000215 - -tolerance 0.03 m -accept 4730900.0 5533400.0 -expect -69.0001441 -40.0002935 - -tolerance 0.03 m -accept 4816500.043 5541700.028 -expect -67.9995333 -39.9996136 - -tolerance 0.03 m -accept 4902000.0 5548900.0 -expect -66.9998073 -39.9999313 - -tolerance 0.03 m -accept 4987500.009 5555200.001 -expect -65.9996522 -39.9995894 - -tolerance 0.03 m -accept 5073000.0 5560400.0 -expect -64.9992796 -40.000411 - -tolerance 0.03 m -accept 5158400.01 5564799.987 -expect -63.9997 -39.9996925 - -tolerance 0.03 m -accept 5243800.0 5568100.0 -expect -62.9999842 -40.0002087 - -tolerance 0.03 m -accept 5329199.995 5570500.009 -expect -62.0000778 -40.0001803 - -tolerance 0.03 m -accept 5414600.0 5572000.0 -expect -61.0000574 -39.9996182 - -tolerance 0.03 m -accept 5500000.0 5572399.996 -expect -60 -40.0003306 - -tolerance 0.03 m -accept 5585400.0 5572000.0 -expect -58.9999426 -39.9996182 - -tolerance 0.03 m -accept 5670800.005 5570500.009 -expect -57.9999222 -40.0001803 - -tolerance 0.03 m -accept 5756200.0 5568100.0 -expect -57.0000158 -40.0002087 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4190 +inv - +step +init=epsg:22175 --------------------------------------------------------------------------------- -tolerance 0.006 m -accept -63.9993433 80.0002644 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9998472 60.0001191 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9997361 40.0003081 -roundtrip 1000 - -tolerance 0.006 m -accept -64.0004605 19.9996448 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9996186 0.0003092 -roundtrip 1000 - -tolerance 0.006 m -accept -64.0004675 -19.9999283 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9997001 -39.9996924 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9998814 -60.0004008 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9991006 -79.9996521 -roundtrip 1000 - -tolerance 0.006 m -accept -70.0002089 -40.000215 -roundtrip 1000 - -tolerance 0.006 m -accept -69.0001441 -40.0002935 -roundtrip 1000 - -tolerance 0.006 m -accept -67.9995333 -39.9996136 -roundtrip 1000 - -tolerance 0.006 m -accept -66.9998073 -39.9999313 -roundtrip 1000 - -tolerance 0.006 m -accept -65.9996522 -39.9995894 -roundtrip 1000 - -tolerance 0.006 m -accept -64.9992796 -40.000411 -roundtrip 1000 - -tolerance 0.006 m -accept -63.9997 -39.9996925 -roundtrip 1000 - -tolerance 0.006 m -accept -62.9999842 -40.0002087 -roundtrip 1000 - -tolerance 0.006 m -accept -62.0000778 -40.0001803 -roundtrip 1000 - -tolerance 0.006 m -accept -61.0000574 -39.9996182 -roundtrip 1000 - -tolerance 0.006 m -accept -60 -40.0003306 -roundtrip 1000 - -tolerance 0.006 m -accept -58.9999426 -39.9996182 -roundtrip 1000 - -tolerance 0.006 m -accept -57.9999222 -40.0001803 -roundtrip 1000 - -tolerance 0.006 m -accept -57.0000158 -40.0002087 -roundtrip 1000 - - diff --git a/test/gigs/5101.4-jhs.gie_failing b/test/gigs/5101.4-jhs.gie_failing new file mode 100644 index 00000000..615bf60b --- /dev/null +++ b/test/gigs/5101.4-jhs.gie_failing @@ -0,0 +1,300 @@ +-------------------------------------------------------------------------------- + +Test 5101 (part 4), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4190 +inv + +step +init=epsg:22175 +-------------------------------------------------------------------------------- +tolerance 0.03 m +accept -63.9993433 80.0002644 +expect 5422500.0 18889800.0 + +tolerance 0.03 m +accept -63.9998472 60.0001191 +expect 5276900.0 16662800.0 + +tolerance 0.03 m +accept -63.9997361 40.0003081 +expect 5158399.999 14439199.99 + +tolerance 0.03 m +accept -64.0004605 19.9996448 +expect 5081100.0 12219300.0 + +tolerance 0.03 m +accept -63.9996186 0.0003092 +expect 5054400.005 10002000.0 + +tolerance 0.03 m +accept -64.0004675 -19.9999283 +expect 5081100.017 7784599.993 + +tolerance 0.03 m +accept -63.9997001 -39.9996924 +expect 5158400.0 5564800.0 + +tolerance 0.03 m +accept -63.9998814 -60.0004008 +expect 5276899.994 3341099.995 + +tolerance 0.03 m +accept -63.9991006 -79.9996521 +expect 5422500.0 1114200.0 + +tolerance 0.03 m +accept -70.0002089 -40.000215 +expect 4645300.113 5524200.123 + +tolerance 0.03 m +accept -69.0001441 -40.0002935 +expect 4730900.0 5533400.0 + +tolerance 0.03 m +accept -67.9995333 -39.9996136 +expect 4816500.043 5541700.028 + +tolerance 0.03 m +accept -66.9998073 -39.9999313 +expect 4902000.0 5548900.0 + +tolerance 0.03 m +accept -65.9996522 -39.9995894 +expect 4987500.009 5555200.001 + +tolerance 0.03 m +accept -64.9992796 -40.000411 +expect 5073000.0 5560400.0 + +tolerance 0.03 m +accept -63.9997 -39.9996925 +expect 5158400.01 5564799.987 + +tolerance 0.03 m +accept -62.9999842 -40.0002087 +expect 5243800.0 5568100.0 + +tolerance 0.03 m +accept -62.0000778 -40.0001803 +expect 5329199.995 5570500.009 + +tolerance 0.03 m +accept -61.0000574 -39.9996182 +expect 5414600.0 5572000.0 + +tolerance 0.03 m +accept -60 -40.0003306 +expect 5500000.0 5572399.996 + +tolerance 0.03 m +accept -58.9999426 -39.9996182 +expect 5585400.0 5572000.0 + +tolerance 0.03 m +accept -57.9999222 -40.0001803 +expect 5670800.005 5570500.009 + +tolerance 0.03 m +accept -57.0000158 -40.0002087 +expect 5756200.0 5568100.0 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:22175 +inv + +step +init=epsg:4190 +-------------------------------------------------------------------------------- +tolerance 0.03 m +accept 5422500.0 18889800.0 +expect -63.9993433 80.0002644 + +tolerance 0.03 m +accept 5276900.0 16662800.0 +expect -63.9998472 60.0001191 + +tolerance 0.03 m +accept 5158399.999 14439199.99 +expect -63.9997361 40.0003081 + +tolerance 0.03 m +accept 5081100.0 12219300.0 +expect -64.0004605 19.9996448 + +tolerance 0.03 m +accept 5054400.005 10002000.0 +expect -63.9996186 0.0003092 + +tolerance 0.03 m +accept 5081100.017 7784599.993 +expect -64.0004675 -19.9999283 + +tolerance 0.03 m +accept 5158400.0 5564800.0 +expect -63.9997001 -39.9996924 + +tolerance 0.03 m +accept 5276899.994 3341099.995 +expect -63.9998814 -60.0004008 + +tolerance 0.03 m +accept 5422500.0 1114200.0 +expect -63.9991006 -79.9996521 + +tolerance 0.03 m +accept 4645300.113 5524200.123 +expect -70.0002089 -40.000215 + +tolerance 0.03 m +accept 4730900.0 5533400.0 +expect -69.0001441 -40.0002935 + +tolerance 0.03 m +accept 4816500.043 5541700.028 +expect -67.9995333 -39.9996136 + +tolerance 0.03 m +accept 4902000.0 5548900.0 +expect -66.9998073 -39.9999313 + +tolerance 0.03 m +accept 4987500.009 5555200.001 +expect -65.9996522 -39.9995894 + +tolerance 0.03 m +accept 5073000.0 5560400.0 +expect -64.9992796 -40.000411 + +tolerance 0.03 m +accept 5158400.01 5564799.987 +expect -63.9997 -39.9996925 + +tolerance 0.03 m +accept 5243800.0 5568100.0 +expect -62.9999842 -40.0002087 + +tolerance 0.03 m +accept 5329199.995 5570500.009 +expect -62.0000778 -40.0001803 + +tolerance 0.03 m +accept 5414600.0 5572000.0 +expect -61.0000574 -39.9996182 + +tolerance 0.03 m +accept 5500000.0 5572399.996 +expect -60 -40.0003306 + +tolerance 0.03 m +accept 5585400.0 5572000.0 +expect -58.9999426 -39.9996182 + +tolerance 0.03 m +accept 5670800.005 5570500.009 +expect -57.9999222 -40.0001803 + +tolerance 0.03 m +accept 5756200.0 5568100.0 +expect -57.0000158 -40.0002087 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4190 +inv + +step +init=epsg:22175 +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept -63.9993433 80.0002644 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9998472 60.0001191 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9997361 40.0003081 +roundtrip 1000 + +tolerance 0.006 m +accept -64.0004605 19.9996448 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9996186 0.0003092 +roundtrip 1000 + +tolerance 0.006 m +accept -64.0004675 -19.9999283 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9997001 -39.9996924 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9998814 -60.0004008 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9991006 -79.9996521 +roundtrip 1000 + +tolerance 0.006 m +accept -70.0002089 -40.000215 +roundtrip 1000 + +tolerance 0.006 m +accept -69.0001441 -40.0002935 +roundtrip 1000 + +tolerance 0.006 m +accept -67.9995333 -39.9996136 +roundtrip 1000 + +tolerance 0.006 m +accept -66.9998073 -39.9999313 +roundtrip 1000 + +tolerance 0.006 m +accept -65.9996522 -39.9995894 +roundtrip 1000 + +tolerance 0.006 m +accept -64.9992796 -40.000411 +roundtrip 1000 + +tolerance 0.006 m +accept -63.9997 -39.9996925 +roundtrip 1000 + +tolerance 0.006 m +accept -62.9999842 -40.0002087 +roundtrip 1000 + +tolerance 0.006 m +accept -62.0000778 -40.0001803 +roundtrip 1000 + +tolerance 0.006 m +accept -61.0000574 -39.9996182 +roundtrip 1000 + +tolerance 0.006 m +accept -60 -40.0003306 +roundtrip 1000 + +tolerance 0.006 m +accept -58.9999426 -39.9996182 +roundtrip 1000 + +tolerance 0.006 m +accept -57.9999222 -40.0001803 +roundtrip 1000 + +tolerance 0.006 m +accept -57.0000158 -40.0002087 +roundtrip 1000 + + diff --git a/test/gigs/5102.2.gie b/test/gigs/5102.2.gie deleted file mode 100644 index db812dbd..00000000 --- a/test/gigs/5102.2.gie +++ /dev/null @@ -1,252 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5102 (part 2), Lambert Conic Conformal (1SP), v2-0_2011-06-28. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4807 +inv - +step +init=epsg:27572 --------------------------------------------------------------------------------- -tolerance 0.03 m -accept 2.9586342556 64.4444444444 -expect 760724.023 3457334.864 - -tolerance 0.03 m -accept 2.9586342556 63.3333333333 -expect 764567.882 3343917.044 - -tolerance 0.03 m -accept 2.9586342556 62.2222222222 -expect 768397.648 3230915.06 - -tolerance 0.03 m -accept 2.9586342556 61.1111111111 -expect 772214.859 3118283.535 - -tolerance 0.03 m -accept 2.9586342556 60 -expect 776020.989 3005978.979 - -tolerance 0.03 m -accept 2.9586342556 58.8888888889 -expect 779817.454 2893959.584 - -tolerance 0.03 m -accept 1.8475231444 56.6666666667 -expect 717027.602 2668679.866 - -tolerance 0.03 m -accept 1.8475231444 55.5555555556 -expect 719385.487 2557240.347 - -tolerance 0.03 m -accept 1.8475231444 54.4444444444 -expect 721740.59 2445932.319 - -tolerance 0.03 m -accept 1.8475231444 52 -expect 726915.726 2201342.51839 - -tolerance 0.03 m -accept 0.7364120333 58.8888888889 -expect 644765.081 2891102.088 - -tolerance 0.03 m -accept 1.8475231444 58.8888888889 -expect 712300.356 2892101.266 - -tolerance 0.03 m -accept 2.9586342556 58.8888888889 -expect 779817.454 2893959.584 - -tolerance 0.03 m -accept 4.0697453667 58.8888888889 -expect 847305.444 2896676.742 - -tolerance 0.03 m -accept 5.1808564778 58.8888888889 -expect 914753.403 2900252.301 - -tolerance 0.03 m -accept 6.2919675889 58.8888888889 -expect 982150.413 2904685.68 - -tolerance 0.03 m -accept 7.4030787 58.8888888889 -expect 1049485.565 2909976.163 - -tolerance 0.03 m -accept 8.5141898111 58.8888888889 -expect 1116747.958 2916122.894 - -tolerance 0.03 m -accept 9.6253009222 58.8888888889 -expect 1183926.705 2923124.876 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:27572 +inv - +step +init=epsg:4807 --------------------------------------------------------------------------------- -tolerance 0.03 m -accept 760724.023 3457334.864 -expect 2.9586342556 64.4444444444 - -tolerance 0.03 m -accept 764567.882 3343917.044 -expect 2.9586342556 63.3333333333 - -tolerance 0.03 m -accept 768397.648 3230915.06 -expect 2.9586342556 62.2222222222 - -tolerance 0.03 m -accept 772214.859 3118283.535 -expect 2.9586342556 61.1111111111 - -tolerance 0.03 m -accept 776020.989 3005978.979 -expect 2.9586342556 60 - -tolerance 0.03 m -accept 779817.454 2893959.584 -expect 2.9586342556 58.8888888889 - -tolerance 0.03 m -accept 717027.602 2668679.866 -expect 1.8475231444 56.6666666667 - -tolerance 0.03 m -accept 719385.487 2557240.347 -expect 1.8475231444 55.5555555556 - -tolerance 0.03 m -accept 721740.59 2445932.319 -expect 1.8475231444 54.4444444444 - -tolerance 0.03 m -accept 726915.726 2201342.51839 -expect 1.8475231444 52 - -tolerance 0.03 m -accept 644765.081 2891102.088 -expect 0.7364120333 58.8888888889 - -tolerance 0.03 m -accept 712300.356 2892101.266 -expect 1.8475231444 58.8888888889 - -tolerance 0.03 m -accept 779817.454 2893959.584 -expect 2.9586342556 58.8888888889 - -tolerance 0.03 m -accept 847305.444 2896676.742 -expect 4.0697453667 58.8888888889 - -tolerance 0.03 m -accept 914753.403 2900252.301 -expect 5.1808564778 58.8888888889 - -tolerance 0.03 m -accept 982150.413 2904685.68 -expect 6.2919675889 58.8888888889 - -tolerance 0.03 m -accept 1049485.565 2909976.163 -expect 7.4030787 58.8888888889 - -tolerance 0.03 m -accept 1116747.958 2916122.894 -expect 8.5141898111 58.8888888889 - -tolerance 0.03 m -accept 1183926.705 2923124.876 -expect 9.6253009222 58.8888888889 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4807 +inv - +step +init=epsg:27572 --------------------------------------------------------------------------------- -tolerance 0.006 m -accept 2.9586342556 64.4444444444 -roundtrip 1000 - -tolerance 0.006 m -accept 2.9586342556 63.3333333333 -roundtrip 1000 - -tolerance 0.006 m -accept 2.9586342556 62.2222222222 -roundtrip 1000 - -tolerance 0.006 m -accept 2.9586342556 61.1111111111 -roundtrip 1000 - -tolerance 0.006 m -accept 2.9586342556 60 -roundtrip 1000 - -tolerance 0.006 m -accept 2.9586342556 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 1.8475231444 56.6666666667 -roundtrip 1000 - -tolerance 0.006 m -accept 1.8475231444 55.5555555556 -roundtrip 1000 - -tolerance 0.006 m -accept 1.8475231444 54.4444444444 -roundtrip 1000 - -tolerance 0.006 m -accept 1.8475231444 52 -roundtrip 1000 - -tolerance 0.006 m -accept 0.7364120333 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 1.8475231444 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 2.9586342556 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 4.0697453667 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 5.1808564778 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 6.2919675889 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 7.4030787 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 8.5141898111 58.8888888889 -roundtrip 1000 - -tolerance 0.006 m -accept 9.6253009222 58.8888888889 -roundtrip 1000 - - diff --git a/test/gigs/5102.2.gie_failing b/test/gigs/5102.2.gie_failing new file mode 100644 index 00000000..db812dbd --- /dev/null +++ b/test/gigs/5102.2.gie_failing @@ -0,0 +1,252 @@ +-------------------------------------------------------------------------------- + +Test 5102 (part 2), Lambert Conic Conformal (1SP), v2-0_2011-06-28. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4807 +inv + +step +init=epsg:27572 +-------------------------------------------------------------------------------- +tolerance 0.03 m +accept 2.9586342556 64.4444444444 +expect 760724.023 3457334.864 + +tolerance 0.03 m +accept 2.9586342556 63.3333333333 +expect 764567.882 3343917.044 + +tolerance 0.03 m +accept 2.9586342556 62.2222222222 +expect 768397.648 3230915.06 + +tolerance 0.03 m +accept 2.9586342556 61.1111111111 +expect 772214.859 3118283.535 + +tolerance 0.03 m +accept 2.9586342556 60 +expect 776020.989 3005978.979 + +tolerance 0.03 m +accept 2.9586342556 58.8888888889 +expect 779817.454 2893959.584 + +tolerance 0.03 m +accept 1.8475231444 56.6666666667 +expect 717027.602 2668679.866 + +tolerance 0.03 m +accept 1.8475231444 55.5555555556 +expect 719385.487 2557240.347 + +tolerance 0.03 m +accept 1.8475231444 54.4444444444 +expect 721740.59 2445932.319 + +tolerance 0.03 m +accept 1.8475231444 52 +expect 726915.726 2201342.51839 + +tolerance 0.03 m +accept 0.7364120333 58.8888888889 +expect 644765.081 2891102.088 + +tolerance 0.03 m +accept 1.8475231444 58.8888888889 +expect 712300.356 2892101.266 + +tolerance 0.03 m +accept 2.9586342556 58.8888888889 +expect 779817.454 2893959.584 + +tolerance 0.03 m +accept 4.0697453667 58.8888888889 +expect 847305.444 2896676.742 + +tolerance 0.03 m +accept 5.1808564778 58.8888888889 +expect 914753.403 2900252.301 + +tolerance 0.03 m +accept 6.2919675889 58.8888888889 +expect 982150.413 2904685.68 + +tolerance 0.03 m +accept 7.4030787 58.8888888889 +expect 1049485.565 2909976.163 + +tolerance 0.03 m +accept 8.5141898111 58.8888888889 +expect 1116747.958 2916122.894 + +tolerance 0.03 m +accept 9.6253009222 58.8888888889 +expect 1183926.705 2923124.876 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:27572 +inv + +step +init=epsg:4807 +-------------------------------------------------------------------------------- +tolerance 0.03 m +accept 760724.023 3457334.864 +expect 2.9586342556 64.4444444444 + +tolerance 0.03 m +accept 764567.882 3343917.044 +expect 2.9586342556 63.3333333333 + +tolerance 0.03 m +accept 768397.648 3230915.06 +expect 2.9586342556 62.2222222222 + +tolerance 0.03 m +accept 772214.859 3118283.535 +expect 2.9586342556 61.1111111111 + +tolerance 0.03 m +accept 776020.989 3005978.979 +expect 2.9586342556 60 + +tolerance 0.03 m +accept 779817.454 2893959.584 +expect 2.9586342556 58.8888888889 + +tolerance 0.03 m +accept 717027.602 2668679.866 +expect 1.8475231444 56.6666666667 + +tolerance 0.03 m +accept 719385.487 2557240.347 +expect 1.8475231444 55.5555555556 + +tolerance 0.03 m +accept 721740.59 2445932.319 +expect 1.8475231444 54.4444444444 + +tolerance 0.03 m +accept 726915.726 2201342.51839 +expect 1.8475231444 52 + +tolerance 0.03 m +accept 644765.081 2891102.088 +expect 0.7364120333 58.8888888889 + +tolerance 0.03 m +accept 712300.356 2892101.266 +expect 1.8475231444 58.8888888889 + +tolerance 0.03 m +accept 779817.454 2893959.584 +expect 2.9586342556 58.8888888889 + +tolerance 0.03 m +accept 847305.444 2896676.742 +expect 4.0697453667 58.8888888889 + +tolerance 0.03 m +accept 914753.403 2900252.301 +expect 5.1808564778 58.8888888889 + +tolerance 0.03 m +accept 982150.413 2904685.68 +expect 6.2919675889 58.8888888889 + +tolerance 0.03 m +accept 1049485.565 2909976.163 +expect 7.4030787 58.8888888889 + +tolerance 0.03 m +accept 1116747.958 2916122.894 +expect 8.5141898111 58.8888888889 + +tolerance 0.03 m +accept 1183926.705 2923124.876 +expect 9.6253009222 58.8888888889 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4807 +inv + +step +init=epsg:27572 +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept 2.9586342556 64.4444444444 +roundtrip 1000 + +tolerance 0.006 m +accept 2.9586342556 63.3333333333 +roundtrip 1000 + +tolerance 0.006 m +accept 2.9586342556 62.2222222222 +roundtrip 1000 + +tolerance 0.006 m +accept 2.9586342556 61.1111111111 +roundtrip 1000 + +tolerance 0.006 m +accept 2.9586342556 60 +roundtrip 1000 + +tolerance 0.006 m +accept 2.9586342556 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 1.8475231444 56.6666666667 +roundtrip 1000 + +tolerance 0.006 m +accept 1.8475231444 55.5555555556 +roundtrip 1000 + +tolerance 0.006 m +accept 1.8475231444 54.4444444444 +roundtrip 1000 + +tolerance 0.006 m +accept 1.8475231444 52 +roundtrip 1000 + +tolerance 0.006 m +accept 0.7364120333 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 1.8475231444 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 2.9586342556 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 4.0697453667 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 5.1808564778 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 6.2919675889 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 7.4030787 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 8.5141898111 58.8888888889 +roundtrip 1000 + +tolerance 0.006 m +accept 9.6253009222 58.8888888889 +roundtrip 1000 + + diff --git a/test/gigs/5104.gie b/test/gigs/5104.gie deleted file mode 100644 index 10c42935..00000000 --- a/test/gigs/5104.gie +++ /dev/null @@ -1,264 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5104, Oblique stereographic, v2-0_2011-06-28. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4289 +inv - +step +init=epsg:28992 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 5 58 -expect 132023.27 1114054.87 - -tolerance 0.05 m -accept 5 57 -expect 131405.466 1002468.081 - -tolerance 0.05 m -accept 5 56 -expect 130792.264 890981.281 - -tolerance 0.05 m -accept 5 55 -expect 130183.56 779577.7 - -tolerance 0.05 m -accept 5 54 -expect 129579.26 668240.58 - -tolerance 0.05 m -accept 5 53 -expect 128979.26 556953.19 - -tolerance 0.05 m -accept 5.38763888889 52.1561605556 -expect 155000 463000 - -tolerance 0.05 m -accept 4 51 -expect 57605.946 335312.662 - -tolerance 0.05 m -accept 4 50 -expect 55502.306 224086.514 - -tolerance 0.05 m -accept 4.0 49.0 -expect 53412.76 112842.73 - -tolerance 0.05 m -accept 3.31372805556 47.9752611111 -expect 0 0 - -tolerance 0.05 m -accept 3 53 -expect -5253.06 559535.55 - -tolerance 0.05 m -accept 4 53 -expect 61856.78 557779.12 - -tolerance 0.05 m -accept 5 53 -expect 128979.26 556953.19 - -tolerance 0.05 m -accept 6 53 -expect 196105.28 557057.74 - -tolerance 0.05 m -accept 7 53 -expect 263225.72 558092.77 - -tolerance 0.05 m -accept 8 53 -expect 330331.46 560058.31 - -tolerance 0.05 m -accept 9 53 -expect 397413.385 562954.436 - -tolerance 0.05 m -accept 10 53 -expect 464462.35 566781.24 - -tolerance 0.05 m -accept 11 53 -expect 531469.2 571538.84 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:28992 +inv - +step +init=epsg:4289 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 132023.27 1114054.87 -expect 5 58 - -tolerance 0.05 m -accept 131405.466 1002468.081 -expect 5 57 - -tolerance 0.05 m -accept 130792.264 890981.281 -expect 5 56 - -tolerance 0.05 m -accept 130183.56 779577.7 -expect 5 55 - -tolerance 0.05 m -accept 129579.26 668240.58 -expect 5 54 - -tolerance 0.05 m -accept 128979.26 556953.19 -expect 5 53 - -tolerance 0.05 m -accept 155000 463000 -expect 5.38763888889 52.1561605556 - -tolerance 0.05 m -accept 57605.946 335312.662 -expect 4 51 - -tolerance 0.05 m -accept 55502.306 224086.514 -expect 4 50 - -tolerance 0.05 m -accept 53412.76 112842.73 -expect 4.0 49.0 - -tolerance 0.05 m -accept 0 0 -expect 3.31372805556 47.9752611111 - -tolerance 0.05 m -accept -5253.06 559535.55 -expect 3 53 - -tolerance 0.05 m -accept 61856.78 557779.12 -expect 4 53 - -tolerance 0.05 m -accept 128979.26 556953.19 -expect 5 53 - -tolerance 0.05 m -accept 196105.28 557057.74 -expect 6 53 - -tolerance 0.05 m -accept 263225.72 558092.77 -expect 7 53 - -tolerance 0.05 m -accept 330331.46 560058.31 -expect 8 53 - -tolerance 0.05 m -accept 397413.385 562954.436 -expect 9 53 - -tolerance 0.05 m -accept 464462.35 566781.24 -expect 10 53 - -tolerance 0.05 m -accept 531469.2 571538.84 -expect 11 53 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4289 +inv - +step +init=epsg:28992 --------------------------------------------------------------------------------- -tolerance 0.006 m -accept 5 58 -roundtrip 1000 - -tolerance 0.006 m -accept 5 57 -roundtrip 1000 - -tolerance 0.006 m -accept 5 56 -roundtrip 1000 - -tolerance 0.006 m -accept 5 55 -roundtrip 1000 - -tolerance 0.006 m -accept 5 54 -roundtrip 1000 - -tolerance 0.006 m -accept 5 53 -roundtrip 1000 - -tolerance 0.006 m -accept 5.38763888889 52.1561605556 -roundtrip 1000 - -tolerance 0.006 m -accept 4 51 -roundtrip 1000 - -tolerance 0.006 m -accept 4 50 -roundtrip 1000 - -tolerance 0.006 m -accept 4.0 49.0 -roundtrip 1000 - -tolerance 0.006 m -accept 3.31372805556 47.9752611111 -roundtrip 1000 - -tolerance 0.006 m -accept 3 53 -roundtrip 1000 - -tolerance 0.006 m -accept 4 53 -roundtrip 1000 - -tolerance 0.006 m -accept 5 53 -roundtrip 1000 - -tolerance 0.006 m -accept 6 53 -roundtrip 1000 - -tolerance 0.006 m -accept 7 53 -roundtrip 1000 - -tolerance 0.006 m -accept 8 53 -roundtrip 1000 - -tolerance 0.006 m -accept 9 53 -roundtrip 1000 - -tolerance 0.006 m -accept 10 53 -roundtrip 1000 - -tolerance 0.006 m -accept 11 53 -roundtrip 1000 - - diff --git a/test/gigs/5104.gie_failing b/test/gigs/5104.gie_failing new file mode 100644 index 00000000..10c42935 --- /dev/null +++ b/test/gigs/5104.gie_failing @@ -0,0 +1,264 @@ +-------------------------------------------------------------------------------- + +Test 5104, Oblique stereographic, v2-0_2011-06-28. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4289 +inv + +step +init=epsg:28992 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 5 58 +expect 132023.27 1114054.87 + +tolerance 0.05 m +accept 5 57 +expect 131405.466 1002468.081 + +tolerance 0.05 m +accept 5 56 +expect 130792.264 890981.281 + +tolerance 0.05 m +accept 5 55 +expect 130183.56 779577.7 + +tolerance 0.05 m +accept 5 54 +expect 129579.26 668240.58 + +tolerance 0.05 m +accept 5 53 +expect 128979.26 556953.19 + +tolerance 0.05 m +accept 5.38763888889 52.1561605556 +expect 155000 463000 + +tolerance 0.05 m +accept 4 51 +expect 57605.946 335312.662 + +tolerance 0.05 m +accept 4 50 +expect 55502.306 224086.514 + +tolerance 0.05 m +accept 4.0 49.0 +expect 53412.76 112842.73 + +tolerance 0.05 m +accept 3.31372805556 47.9752611111 +expect 0 0 + +tolerance 0.05 m +accept 3 53 +expect -5253.06 559535.55 + +tolerance 0.05 m +accept 4 53 +expect 61856.78 557779.12 + +tolerance 0.05 m +accept 5 53 +expect 128979.26 556953.19 + +tolerance 0.05 m +accept 6 53 +expect 196105.28 557057.74 + +tolerance 0.05 m +accept 7 53 +expect 263225.72 558092.77 + +tolerance 0.05 m +accept 8 53 +expect 330331.46 560058.31 + +tolerance 0.05 m +accept 9 53 +expect 397413.385 562954.436 + +tolerance 0.05 m +accept 10 53 +expect 464462.35 566781.24 + +tolerance 0.05 m +accept 11 53 +expect 531469.2 571538.84 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:28992 +inv + +step +init=epsg:4289 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 132023.27 1114054.87 +expect 5 58 + +tolerance 0.05 m +accept 131405.466 1002468.081 +expect 5 57 + +tolerance 0.05 m +accept 130792.264 890981.281 +expect 5 56 + +tolerance 0.05 m +accept 130183.56 779577.7 +expect 5 55 + +tolerance 0.05 m +accept 129579.26 668240.58 +expect 5 54 + +tolerance 0.05 m +accept 128979.26 556953.19 +expect 5 53 + +tolerance 0.05 m +accept 155000 463000 +expect 5.38763888889 52.1561605556 + +tolerance 0.05 m +accept 57605.946 335312.662 +expect 4 51 + +tolerance 0.05 m +accept 55502.306 224086.514 +expect 4 50 + +tolerance 0.05 m +accept 53412.76 112842.73 +expect 4.0 49.0 + +tolerance 0.05 m +accept 0 0 +expect 3.31372805556 47.9752611111 + +tolerance 0.05 m +accept -5253.06 559535.55 +expect 3 53 + +tolerance 0.05 m +accept 61856.78 557779.12 +expect 4 53 + +tolerance 0.05 m +accept 128979.26 556953.19 +expect 5 53 + +tolerance 0.05 m +accept 196105.28 557057.74 +expect 6 53 + +tolerance 0.05 m +accept 263225.72 558092.77 +expect 7 53 + +tolerance 0.05 m +accept 330331.46 560058.31 +expect 8 53 + +tolerance 0.05 m +accept 397413.385 562954.436 +expect 9 53 + +tolerance 0.05 m +accept 464462.35 566781.24 +expect 10 53 + +tolerance 0.05 m +accept 531469.2 571538.84 +expect 11 53 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4289 +inv + +step +init=epsg:28992 +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept 5 58 +roundtrip 1000 + +tolerance 0.006 m +accept 5 57 +roundtrip 1000 + +tolerance 0.006 m +accept 5 56 +roundtrip 1000 + +tolerance 0.006 m +accept 5 55 +roundtrip 1000 + +tolerance 0.006 m +accept 5 54 +roundtrip 1000 + +tolerance 0.006 m +accept 5 53 +roundtrip 1000 + +tolerance 0.006 m +accept 5.38763888889 52.1561605556 +roundtrip 1000 + +tolerance 0.006 m +accept 4 51 +roundtrip 1000 + +tolerance 0.006 m +accept 4 50 +roundtrip 1000 + +tolerance 0.006 m +accept 4.0 49.0 +roundtrip 1000 + +tolerance 0.006 m +accept 3.31372805556 47.9752611111 +roundtrip 1000 + +tolerance 0.006 m +accept 3 53 +roundtrip 1000 + +tolerance 0.006 m +accept 4 53 +roundtrip 1000 + +tolerance 0.006 m +accept 5 53 +roundtrip 1000 + +tolerance 0.006 m +accept 6 53 +roundtrip 1000 + +tolerance 0.006 m +accept 7 53 +roundtrip 1000 + +tolerance 0.006 m +accept 8 53 +roundtrip 1000 + +tolerance 0.006 m +accept 9 53 +roundtrip 1000 + +tolerance 0.006 m +accept 10 53 +roundtrip 1000 + +tolerance 0.006 m +accept 11 53 +roundtrip 1000 + + diff --git a/test/gigs/5105.1.gie b/test/gigs/5105.1.gie deleted file mode 100644 index a0803d2b..00000000 --- a/test/gigs/5105.1.gie +++ /dev/null @@ -1,300 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5105 (part 1), Oblique Mercator (variant B), v2-0_2011-06-28. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4742 +inv - +step +proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 117 12 -expect 807919.14 1329535.33 - -tolerance 0.05 m -accept 117 10 -expect 808784.98 1107678.47 - -tolerance 0.05 m -accept 117 9 -expect 809334.18 996918.21 - -tolerance 0.05 m -accept 117 8 -expect 809939.3 886240.18 - -tolerance 0.05 m -accept 116.8465522 6.8784583 -expect 793704.63 762081.05 - -tolerance 0.05 m -accept 117 6 -expect 811253.3 665041.27 - -tolerance 0.05 m -accept 117 5 -expect 811930.35 554475.63 - -tolerance 0.05 m -accept 117 4 -expect 812599.58 443902.71 - -tolerance 0.05 m -accept 115 4 -expect 590521.15 442890.86 - -tolerance 0.05 m -accept 117 3 -expect 813245.13 333300.13 - -tolerance 0.05 m -accept 117 2 -expect 813851.07 222645.51 - -tolerance 0.05 m -accept 117.0 1.0 -expect 814401.38 111916.45 - -tolerance 0.05 m -accept 109.6858208 -0.0001733 -expect 0 0 - -tolerance 0.05 m -accept 123 6 -expect 1475669.28 673118.57 - -tolerance 0.05 m -accept 122 6 -expect 1364854.86 671146.25 - -tolerance 0.05 m -accept 121 6 -expect 1254086.17 669446.25 - -tolerance 0.05 m -accept 120.0 6.0 -expect 1143352.6 668002.07 - -tolerance 0.05 m -accept 119.0 6.0 -expect 1032643.31 666797.35 - -tolerance 0.05 m -accept 118.0 6.0 -expect 921947.29 665815.82 - -tolerance 0.05 m -accept 117.0 6.0 -expect 811253.3 665041.27 - -tolerance 0.05 m -accept 116.0 6.0 -expect 700549.97 664457.59 - -tolerance 0.05 m -accept 115.0 6.0 -expect 589825.71 664048.72 - -tolerance 0.05 m -accept 114 6 -expect 479068.802 663798.63 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs +inv - +step +init=epsg:4742 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 807919.14 1329535.33 -expect 117 12 - -tolerance 0.05 m -accept 808784.98 1107678.47 -expect 117 10 - -tolerance 0.05 m -accept 809334.18 996918.21 -expect 117 9 - -tolerance 0.05 m -accept 809939.3 886240.18 -expect 117 8 - -tolerance 0.05 m -accept 793704.63 762081.05 -expect 116.8465522 6.8784583 - -tolerance 0.05 m -accept 811253.3 665041.27 -expect 117 6 - -tolerance 0.05 m -accept 811930.35 554475.63 -expect 117 5 - -tolerance 0.05 m -accept 812599.58 443902.71 -expect 117 4 - -tolerance 0.05 m -accept 590521.15 442890.86 -expect 115 4 - -tolerance 0.05 m -accept 813245.13 333300.13 -expect 117 3 - -tolerance 0.05 m -accept 813851.07 222645.51 -expect 117 2 - -tolerance 0.05 m -accept 814401.38 111916.45 -expect 117.0 1.0 - -tolerance 0.05 m -accept 0 0 -expect 109.6858208 -0.0001733 - -tolerance 0.05 m -accept 1475669.28 673118.57 -expect 123 6 - -tolerance 0.05 m -accept 1364854.86 671146.25 -expect 122 6 - -tolerance 0.05 m -accept 1254086.17 669446.25 -expect 121 6 - -tolerance 0.05 m -accept 1143352.6 668002.07 -expect 120.0 6.0 - -tolerance 0.05 m -accept 1032643.31 666797.35 -expect 119.0 6.0 - -tolerance 0.05 m -accept 921947.29 665815.82 -expect 118.0 6.0 - -tolerance 0.05 m -accept 811253.3 665041.27 -expect 117.0 6.0 - -tolerance 0.05 m -accept 700549.97 664457.59 -expect 116.0 6.0 - -tolerance 0.05 m -accept 589825.71 664048.72 -expect 115.0 6.0 - -tolerance 0.05 m -accept 479068.802 663798.63 -expect 114 6 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4742 +inv - +step +proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs --------------------------------------------------------------------------------- -tolerance 0.006 m -accept 117 12 -roundtrip 1000 - -tolerance 0.006 m -accept 117 10 -roundtrip 1000 - -tolerance 0.006 m -accept 117 9 -roundtrip 1000 - -tolerance 0.006 m -accept 117 8 -roundtrip 1000 - -tolerance 0.006 m -accept 116.8465522 6.8784583 -roundtrip 1000 - -tolerance 0.006 m -accept 117 6 -roundtrip 1000 - -tolerance 0.006 m -accept 117 5 -roundtrip 1000 - -tolerance 0.006 m -accept 117 4 -roundtrip 1000 - -tolerance 0.006 m -accept 115 4 -roundtrip 1000 - -tolerance 0.006 m -accept 117 3 -roundtrip 1000 - -tolerance 0.006 m -accept 117 2 -roundtrip 1000 - -tolerance 0.006 m -accept 117.0 1.0 -roundtrip 1000 - -tolerance 0.006 m -accept 109.6858208 -0.0001733 -roundtrip 1000 - -tolerance 0.006 m -accept 123 6 -roundtrip 1000 - -tolerance 0.006 m -accept 122 6 -roundtrip 1000 - -tolerance 0.006 m -accept 121 6 -roundtrip 1000 - -tolerance 0.006 m -accept 120.0 6.0 -roundtrip 1000 - -tolerance 0.006 m -accept 119.0 6.0 -roundtrip 1000 - -tolerance 0.006 m -accept 118.0 6.0 -roundtrip 1000 - -tolerance 0.006 m -accept 117.0 6.0 -roundtrip 1000 - -tolerance 0.006 m -accept 116.0 6.0 -roundtrip 1000 - -tolerance 0.006 m -accept 115.0 6.0 -roundtrip 1000 - -tolerance 0.006 m -accept 114 6 -roundtrip 1000 - - diff --git a/test/gigs/5105.1.gie_failing b/test/gigs/5105.1.gie_failing new file mode 100644 index 00000000..a0803d2b --- /dev/null +++ b/test/gigs/5105.1.gie_failing @@ -0,0 +1,300 @@ +-------------------------------------------------------------------------------- + +Test 5105 (part 1), Oblique Mercator (variant B), v2-0_2011-06-28. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4742 +inv + +step +proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 117 12 +expect 807919.14 1329535.33 + +tolerance 0.05 m +accept 117 10 +expect 808784.98 1107678.47 + +tolerance 0.05 m +accept 117 9 +expect 809334.18 996918.21 + +tolerance 0.05 m +accept 117 8 +expect 809939.3 886240.18 + +tolerance 0.05 m +accept 116.8465522 6.8784583 +expect 793704.63 762081.05 + +tolerance 0.05 m +accept 117 6 +expect 811253.3 665041.27 + +tolerance 0.05 m +accept 117 5 +expect 811930.35 554475.63 + +tolerance 0.05 m +accept 117 4 +expect 812599.58 443902.71 + +tolerance 0.05 m +accept 115 4 +expect 590521.15 442890.86 + +tolerance 0.05 m +accept 117 3 +expect 813245.13 333300.13 + +tolerance 0.05 m +accept 117 2 +expect 813851.07 222645.51 + +tolerance 0.05 m +accept 117.0 1.0 +expect 814401.38 111916.45 + +tolerance 0.05 m +accept 109.6858208 -0.0001733 +expect 0 0 + +tolerance 0.05 m +accept 123 6 +expect 1475669.28 673118.57 + +tolerance 0.05 m +accept 122 6 +expect 1364854.86 671146.25 + +tolerance 0.05 m +accept 121 6 +expect 1254086.17 669446.25 + +tolerance 0.05 m +accept 120.0 6.0 +expect 1143352.6 668002.07 + +tolerance 0.05 m +accept 119.0 6.0 +expect 1032643.31 666797.35 + +tolerance 0.05 m +accept 118.0 6.0 +expect 921947.29 665815.82 + +tolerance 0.05 m +accept 117.0 6.0 +expect 811253.3 665041.27 + +tolerance 0.05 m +accept 116.0 6.0 +expect 700549.97 664457.59 + +tolerance 0.05 m +accept 115.0 6.0 +expect 589825.71 664048.72 + +tolerance 0.05 m +accept 114 6 +expect 479068.802 663798.63 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs +inv + +step +init=epsg:4742 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 807919.14 1329535.33 +expect 117 12 + +tolerance 0.05 m +accept 808784.98 1107678.47 +expect 117 10 + +tolerance 0.05 m +accept 809334.18 996918.21 +expect 117 9 + +tolerance 0.05 m +accept 809939.3 886240.18 +expect 117 8 + +tolerance 0.05 m +accept 793704.63 762081.05 +expect 116.8465522 6.8784583 + +tolerance 0.05 m +accept 811253.3 665041.27 +expect 117 6 + +tolerance 0.05 m +accept 811930.35 554475.63 +expect 117 5 + +tolerance 0.05 m +accept 812599.58 443902.71 +expect 117 4 + +tolerance 0.05 m +accept 590521.15 442890.86 +expect 115 4 + +tolerance 0.05 m +accept 813245.13 333300.13 +expect 117 3 + +tolerance 0.05 m +accept 813851.07 222645.51 +expect 117 2 + +tolerance 0.05 m +accept 814401.38 111916.45 +expect 117.0 1.0 + +tolerance 0.05 m +accept 0 0 +expect 109.6858208 -0.0001733 + +tolerance 0.05 m +accept 1475669.28 673118.57 +expect 123 6 + +tolerance 0.05 m +accept 1364854.86 671146.25 +expect 122 6 + +tolerance 0.05 m +accept 1254086.17 669446.25 +expect 121 6 + +tolerance 0.05 m +accept 1143352.6 668002.07 +expect 120.0 6.0 + +tolerance 0.05 m +accept 1032643.31 666797.35 +expect 119.0 6.0 + +tolerance 0.05 m +accept 921947.29 665815.82 +expect 118.0 6.0 + +tolerance 0.05 m +accept 811253.3 665041.27 +expect 117.0 6.0 + +tolerance 0.05 m +accept 700549.97 664457.59 +expect 116.0 6.0 + +tolerance 0.05 m +accept 589825.71 664048.72 +expect 115.0 6.0 + +tolerance 0.05 m +accept 479068.802 663798.63 +expect 114 6 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4742 +inv + +step +proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept 117 12 +roundtrip 1000 + +tolerance 0.006 m +accept 117 10 +roundtrip 1000 + +tolerance 0.006 m +accept 117 9 +roundtrip 1000 + +tolerance 0.006 m +accept 117 8 +roundtrip 1000 + +tolerance 0.006 m +accept 116.8465522 6.8784583 +roundtrip 1000 + +tolerance 0.006 m +accept 117 6 +roundtrip 1000 + +tolerance 0.006 m +accept 117 5 +roundtrip 1000 + +tolerance 0.006 m +accept 117 4 +roundtrip 1000 + +tolerance 0.006 m +accept 115 4 +roundtrip 1000 + +tolerance 0.006 m +accept 117 3 +roundtrip 1000 + +tolerance 0.006 m +accept 117 2 +roundtrip 1000 + +tolerance 0.006 m +accept 117.0 1.0 +roundtrip 1000 + +tolerance 0.006 m +accept 109.6858208 -0.0001733 +roundtrip 1000 + +tolerance 0.006 m +accept 123 6 +roundtrip 1000 + +tolerance 0.006 m +accept 122 6 +roundtrip 1000 + +tolerance 0.006 m +accept 121 6 +roundtrip 1000 + +tolerance 0.006 m +accept 120.0 6.0 +roundtrip 1000 + +tolerance 0.006 m +accept 119.0 6.0 +roundtrip 1000 + +tolerance 0.006 m +accept 118.0 6.0 +roundtrip 1000 + +tolerance 0.006 m +accept 117.0 6.0 +roundtrip 1000 + +tolerance 0.006 m +accept 116.0 6.0 +roundtrip 1000 + +tolerance 0.006 m +accept 115.0 6.0 +roundtrip 1000 + +tolerance 0.006 m +accept 114 6 +roundtrip 1000 + + diff --git a/test/gigs/5108.gie b/test/gigs/5108.gie deleted file mode 100644 index a5273a65..00000000 --- a/test/gigs/5108.gie +++ /dev/null @@ -1,228 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5108, Cassini-Soldner, v2-0_2011-06-28. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4742 +inv - +step +init=epsg:3377 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 106 10 -expect 267186.017 881108.902 - -tolerance 0.05 m -accept 106 9 -expect 268006.024 770398.186 - -tolerance 0.05 m -accept 106 8 -expect 268740.351 659692.254 - -tolerance 0.05 m -accept 106 7 -expect 269388.786 548990.588 - -tolerance 0.05 m -accept 106 6 -expect 269951.141 438292.666 - -tolerance 0.05 m -accept 106 5 -expect 270427.255 327597.962 - -tolerance 0.05 m -accept 106 4 -expect 270816.99 216905.945 - -tolerance 0.05 m -accept 106 3 -expect 271120.234 106216.081 - -tolerance 0.05 m -accept 103.561065778 2.0424676812 -expect 0 0 - -tolerance 0.05 m -accept 103.64025984 1.82776484381 -expect 8813.252 -23740.095 - -tolerance 0.05 m -accept 106 1 -expect 271466.923 -115159.332 - -tolerance 0.05 m -accept 109 5 -expect 603116.703 329668.599 - -tolerance 0.05 m -accept 108 5 -expect 492221.308 328807.336 - -tolerance 0.05 m -accept 107 5 -expect 381324.74 328117.472 - -tolerance 0.05 m -accept 106 5 -expect 270427.255 327597.962 - -tolerance 0.05 m -accept 105 5 -expect 159529.111 327248.012 - -tolerance 0.05 m -accept 104 5 -expect 48630.563 327067.097 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:3377 +inv - +step +init=epsg:4742 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 267186.017 881108.902 -expect 106 10 - -tolerance 0.05 m -accept 268006.024 770398.186 -expect 106 9 - -tolerance 0.05 m -accept 268740.351 659692.254 -expect 106 8 - -tolerance 0.05 m -accept 269388.786 548990.588 -expect 106 7 - -tolerance 0.05 m -accept 269951.141 438292.666 -expect 106 6 - -tolerance 0.05 m -accept 270427.255 327597.962 -expect 106 5 - -tolerance 0.05 m -accept 270816.99 216905.945 -expect 106 4 - -tolerance 0.05 m -accept 271120.234 106216.081 -expect 106 3 - -tolerance 0.05 m -accept 0 0 -expect 103.561065778 2.0424676812 - -tolerance 0.05 m -accept 8813.252 -23740.095 -expect 103.64025984 1.82776484381 - -tolerance 0.05 m -accept 271466.923 -115159.332 -expect 106 1 - -tolerance 0.05 m -accept 603116.703 329668.599 -expect 109 5 - -tolerance 0.05 m -accept 492221.308 328807.336 -expect 108 5 - -tolerance 0.05 m -accept 381324.74 328117.472 -expect 107 5 - -tolerance 0.05 m -accept 270427.255 327597.962 -expect 106 5 - -tolerance 0.05 m -accept 159529.111 327248.012 -expect 105 5 - -tolerance 0.05 m -accept 48630.563 327067.097 -expect 104 5 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4742 +inv - +step +init=epsg:3377 --------------------------------------------------------------------------------- -tolerance 0.006 m -accept 106 10 -roundtrip 1000 - -tolerance 0.006 m -accept 106 9 -roundtrip 1000 - -tolerance 0.006 m -accept 106 8 -roundtrip 1000 - -tolerance 0.006 m -accept 106 7 -roundtrip 1000 - -tolerance 0.006 m -accept 106 6 -roundtrip 1000 - -tolerance 0.006 m -accept 106 5 -roundtrip 1000 - -tolerance 0.006 m -accept 106 4 -roundtrip 1000 - -tolerance 0.006 m -accept 106 3 -roundtrip 1000 - -tolerance 0.006 m -accept 103.561065778 2.0424676812 -roundtrip 1000 - -tolerance 0.006 m -accept 103.64025984 1.82776484381 -roundtrip 1000 - -tolerance 0.006 m -accept 106 1 -roundtrip 1000 - -tolerance 0.006 m -accept 109 5 -roundtrip 1000 - -tolerance 0.006 m -accept 108 5 -roundtrip 1000 - -tolerance 0.006 m -accept 107 5 -roundtrip 1000 - -tolerance 0.006 m -accept 106 5 -roundtrip 1000 - -tolerance 0.006 m -accept 105 5 -roundtrip 1000 - -tolerance 0.006 m -accept 104 5 -roundtrip 1000 - - diff --git a/test/gigs/5108.gie_failing b/test/gigs/5108.gie_failing new file mode 100644 index 00000000..a5273a65 --- /dev/null +++ b/test/gigs/5108.gie_failing @@ -0,0 +1,228 @@ +-------------------------------------------------------------------------------- + +Test 5108, Cassini-Soldner, v2-0_2011-06-28. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4742 +inv + +step +init=epsg:3377 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 106 10 +expect 267186.017 881108.902 + +tolerance 0.05 m +accept 106 9 +expect 268006.024 770398.186 + +tolerance 0.05 m +accept 106 8 +expect 268740.351 659692.254 + +tolerance 0.05 m +accept 106 7 +expect 269388.786 548990.588 + +tolerance 0.05 m +accept 106 6 +expect 269951.141 438292.666 + +tolerance 0.05 m +accept 106 5 +expect 270427.255 327597.962 + +tolerance 0.05 m +accept 106 4 +expect 270816.99 216905.945 + +tolerance 0.05 m +accept 106 3 +expect 271120.234 106216.081 + +tolerance 0.05 m +accept 103.561065778 2.0424676812 +expect 0 0 + +tolerance 0.05 m +accept 103.64025984 1.82776484381 +expect 8813.252 -23740.095 + +tolerance 0.05 m +accept 106 1 +expect 271466.923 -115159.332 + +tolerance 0.05 m +accept 109 5 +expect 603116.703 329668.599 + +tolerance 0.05 m +accept 108 5 +expect 492221.308 328807.336 + +tolerance 0.05 m +accept 107 5 +expect 381324.74 328117.472 + +tolerance 0.05 m +accept 106 5 +expect 270427.255 327597.962 + +tolerance 0.05 m +accept 105 5 +expect 159529.111 327248.012 + +tolerance 0.05 m +accept 104 5 +expect 48630.563 327067.097 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:3377 +inv + +step +init=epsg:4742 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 267186.017 881108.902 +expect 106 10 + +tolerance 0.05 m +accept 268006.024 770398.186 +expect 106 9 + +tolerance 0.05 m +accept 268740.351 659692.254 +expect 106 8 + +tolerance 0.05 m +accept 269388.786 548990.588 +expect 106 7 + +tolerance 0.05 m +accept 269951.141 438292.666 +expect 106 6 + +tolerance 0.05 m +accept 270427.255 327597.962 +expect 106 5 + +tolerance 0.05 m +accept 270816.99 216905.945 +expect 106 4 + +tolerance 0.05 m +accept 271120.234 106216.081 +expect 106 3 + +tolerance 0.05 m +accept 0 0 +expect 103.561065778 2.0424676812 + +tolerance 0.05 m +accept 8813.252 -23740.095 +expect 103.64025984 1.82776484381 + +tolerance 0.05 m +accept 271466.923 -115159.332 +expect 106 1 + +tolerance 0.05 m +accept 603116.703 329668.599 +expect 109 5 + +tolerance 0.05 m +accept 492221.308 328807.336 +expect 108 5 + +tolerance 0.05 m +accept 381324.74 328117.472 +expect 107 5 + +tolerance 0.05 m +accept 270427.255 327597.962 +expect 106 5 + +tolerance 0.05 m +accept 159529.111 327248.012 +expect 105 5 + +tolerance 0.05 m +accept 48630.563 327067.097 +expect 104 5 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4742 +inv + +step +init=epsg:3377 +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept 106 10 +roundtrip 1000 + +tolerance 0.006 m +accept 106 9 +roundtrip 1000 + +tolerance 0.006 m +accept 106 8 +roundtrip 1000 + +tolerance 0.006 m +accept 106 7 +roundtrip 1000 + +tolerance 0.006 m +accept 106 6 +roundtrip 1000 + +tolerance 0.006 m +accept 106 5 +roundtrip 1000 + +tolerance 0.006 m +accept 106 4 +roundtrip 1000 + +tolerance 0.006 m +accept 106 3 +roundtrip 1000 + +tolerance 0.006 m +accept 103.561065778 2.0424676812 +roundtrip 1000 + +tolerance 0.006 m +accept 103.64025984 1.82776484381 +roundtrip 1000 + +tolerance 0.006 m +accept 106 1 +roundtrip 1000 + +tolerance 0.006 m +accept 109 5 +roundtrip 1000 + +tolerance 0.006 m +accept 108 5 +roundtrip 1000 + +tolerance 0.006 m +accept 107 5 +roundtrip 1000 + +tolerance 0.006 m +accept 106 5 +roundtrip 1000 + +tolerance 0.006 m +accept 105 5 +roundtrip 1000 + +tolerance 0.006 m +accept 104 5 +roundtrip 1000 + + diff --git a/test/gigs/5110.gie b/test/gigs/5110.gie deleted file mode 100644 index 2d26d1ab..00000000 --- a/test/gigs/5110.gie +++ /dev/null @@ -1,164 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5110, Lambert Azimuthal Equal Area, v2-0_2011-06-28. - --------------------------------------------------------------------------------- - -# ETRS89 -<4258> +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs <> - -# ETRS89 / LAEA Europe -<3035> +proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 - +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> - - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4258 +inv - +step +init=epsg:3035 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 5 70 -expect 4127824.65822 5214090.649 - -tolerance 0.05 m -accept 5 60 -expect 4041548.13 4109791.66 - -tolerance 0.05 m -accept 5 50 -expect 3962799.45 2999718.853 - -tolerance 0.05 m -accept 5 40 -expect 3892127.02 1892578.962 - -tolerance 0.05 m -accept 5 30 -expect 3830117.9 796781.677 - -tolerance 0.05 m -accept 10 52 -expect 4321000.0 3210000.0 - -tolerance 0.05 m -accept 0.0 50.0 -expect 3606514.43 3036305.967 - -tolerance 0.05 m -accept 3.0 50.0 -expect 3819948.288 3011432.894 - -tolerance 0.05 m -accept 5.0 50.0 -expect 3962799.451 2999718.853 - -tolerance 0.05 m -accept 8.0 50.0 -expect 4177612.521 2989464.315 - -tolerance 0.05 m -accept 10.0 50.0 -expect 4321000.0 2987510.567 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:3035 +inv - +step +init=epsg:4258 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 4127824.65822 5214090.649 -expect 5 70 - -tolerance 0.05 m -accept 4041548.13 4109791.66 -expect 5 60 - -tolerance 0.05 m -accept 3962799.45 2999718.853 -expect 5 50 - -tolerance 0.05 m -accept 3892127.02 1892578.962 -expect 5 40 - -tolerance 0.05 m -accept 3830117.9 796781.677 -expect 5 30 - -tolerance 0.05 m -accept 4321000.0 3210000.0 -expect 10 52 - -tolerance 0.05 m -accept 3606514.43 3036305.967 -expect 0.0 50.0 - -tolerance 0.05 m -accept 3819948.288 3011432.894 -expect 3.0 50.0 - -tolerance 0.05 m -accept 3962799.451 2999718.853 -expect 5.0 50.0 - -tolerance 0.05 m -accept 4177612.521 2989464.315 -expect 8.0 50.0 - -tolerance 0.05 m -accept 4321000.0 2987510.567 -expect 10.0 50.0 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4258 +inv - +step +init=epsg:3035 --------------------------------------------------------------------------------- -tolerance 0.006 m -accept 5 70 -roundtrip 1000 - -tolerance 0.006 m -accept 5 60 -roundtrip 1000 - -tolerance 0.006 m -accept 5 50 -roundtrip 1000 - -tolerance 0.006 m -accept 5 40 -roundtrip 1000 - -tolerance 0.006 m -accept 5 30 -roundtrip 1000 - -tolerance 0.006 m -accept 10 52 -roundtrip 1000 - -tolerance 0.006 m -accept 0.0 50.0 -roundtrip 1000 - -tolerance 0.006 m -accept 3.0 50.0 -roundtrip 1000 - -tolerance 0.006 m -accept 5.0 50.0 -roundtrip 1000 - -tolerance 0.006 m -accept 8.0 50.0 -roundtrip 1000 - -tolerance 0.006 m -accept 10.0 50.0 -roundtrip 1000 - - diff --git a/test/gigs/5110.gie_failing b/test/gigs/5110.gie_failing new file mode 100644 index 00000000..2d26d1ab --- /dev/null +++ b/test/gigs/5110.gie_failing @@ -0,0 +1,164 @@ +-------------------------------------------------------------------------------- + +Test 5110, Lambert Azimuthal Equal Area, v2-0_2011-06-28. + +-------------------------------------------------------------------------------- + +# ETRS89 +<4258> +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs <> + +# ETRS89 / LAEA Europe +<3035> +proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 + +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> + + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4258 +inv + +step +init=epsg:3035 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 5 70 +expect 4127824.65822 5214090.649 + +tolerance 0.05 m +accept 5 60 +expect 4041548.13 4109791.66 + +tolerance 0.05 m +accept 5 50 +expect 3962799.45 2999718.853 + +tolerance 0.05 m +accept 5 40 +expect 3892127.02 1892578.962 + +tolerance 0.05 m +accept 5 30 +expect 3830117.9 796781.677 + +tolerance 0.05 m +accept 10 52 +expect 4321000.0 3210000.0 + +tolerance 0.05 m +accept 0.0 50.0 +expect 3606514.43 3036305.967 + +tolerance 0.05 m +accept 3.0 50.0 +expect 3819948.288 3011432.894 + +tolerance 0.05 m +accept 5.0 50.0 +expect 3962799.451 2999718.853 + +tolerance 0.05 m +accept 8.0 50.0 +expect 4177612.521 2989464.315 + +tolerance 0.05 m +accept 10.0 50.0 +expect 4321000.0 2987510.567 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:3035 +inv + +step +init=epsg:4258 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 4127824.65822 5214090.649 +expect 5 70 + +tolerance 0.05 m +accept 4041548.13 4109791.66 +expect 5 60 + +tolerance 0.05 m +accept 3962799.45 2999718.853 +expect 5 50 + +tolerance 0.05 m +accept 3892127.02 1892578.962 +expect 5 40 + +tolerance 0.05 m +accept 3830117.9 796781.677 +expect 5 30 + +tolerance 0.05 m +accept 4321000.0 3210000.0 +expect 10 52 + +tolerance 0.05 m +accept 3606514.43 3036305.967 +expect 0.0 50.0 + +tolerance 0.05 m +accept 3819948.288 3011432.894 +expect 3.0 50.0 + +tolerance 0.05 m +accept 3962799.451 2999718.853 +expect 5.0 50.0 + +tolerance 0.05 m +accept 4177612.521 2989464.315 +expect 8.0 50.0 + +tolerance 0.05 m +accept 4321000.0 2987510.567 +expect 10.0 50.0 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4258 +inv + +step +init=epsg:3035 +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept 5 70 +roundtrip 1000 + +tolerance 0.006 m +accept 5 60 +roundtrip 1000 + +tolerance 0.006 m +accept 5 50 +roundtrip 1000 + +tolerance 0.006 m +accept 5 40 +roundtrip 1000 + +tolerance 0.006 m +accept 5 30 +roundtrip 1000 + +tolerance 0.006 m +accept 10 52 +roundtrip 1000 + +tolerance 0.006 m +accept 0.0 50.0 +roundtrip 1000 + +tolerance 0.006 m +accept 3.0 50.0 +roundtrip 1000 + +tolerance 0.006 m +accept 5.0 50.0 +roundtrip 1000 + +tolerance 0.006 m +accept 8.0 50.0 +roundtrip 1000 + +tolerance 0.006 m +accept 10.0 50.0 +roundtrip 1000 + + diff --git a/test/gigs/5111.2.gie b/test/gigs/5111.2.gie deleted file mode 100644 index dfa6bca2..00000000 --- a/test/gigs/5111.2.gie +++ /dev/null @@ -1,444 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5111 (part 2), Mercator (variant A), v2-0_2011-06-28. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4813 +inv - +step +proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs --------------------------------------------------------------------------------- -tolerance 0.05 m -accept -6.7200711 77.6534822 -expect 2800000.0 15000000.0 - -tolerance 0.05 m -accept -6.7200711 73.1442856 -expect 2800000.0 13000000.0 - -tolerance 0.05 m -accept -6.7200711 67.0518325 -expect 2800000.0 11000000.0 - -tolerance 0.05 m -accept -6.7200711 58.9140458 -expect 2800000.0 9000000.0 - -tolerance 0.05 m -accept -6.7200711 48.2638981 -expect 2800000.0 7000000.0 - -tolerance 0.05 m -accept -6.7200711 34.8029044 -expect 2800000.0 5000000.0 - -tolerance 0.05 m -accept -6.7200711 18.7048581 -expect 2800000.0 3000000.0 - -tolerance 0.05 m -accept -6.7200711 0.9071392 -expect 2800000.0 1000000.0 - -tolerance 0.05 m -accept 3.1922806 0.0 -expect 3900000.0 900000.0 - -tolerance 0.05 m -accept -6.7200711 0.9071392 -expect 2800000.0 800000.0 - -tolerance 0.05 m -accept -6.7200711 1.8140483 -expect 2800000.0 700000.0 - -tolerance 0.05 m -accept -6.7200711 2.0 -expect 2800000.0 679490.65 - -tolerance 0.05 m -accept -6.7200711 3.6262553 -expect 2800000.0 500000.0 - -tolerance 0.05 m -accept -6.7200711 4.531095 -expect 2800000.0 400000.0 - -tolerance 0.05 m -accept -6.7200711 5.4347892 -expect 2800000.0 300000.0 - -tolerance 0.05 m -accept -6.7200711 6.3371111 -expect 2800000.0 200000.0 - -tolerance 0.05 m -accept -6.7200711 7.2378372 -expect 2800000.0 100000.0 - -tolerance 0.05 m -accept -31.9515111 8.136745 -expect 0.0 0.0 - -tolerance 0.05 m -accept -177.8077194 2.0 -expect 23764105.84 679490.65 - -tolerance 0.05 m -accept 163.1922806 2.0 -expect 21655625.33 679490.65 - -tolerance 0.05 m -accept 133.1922806 2.0 -expect 18326445.58 679490.65 - -tolerance 0.05 m -accept 103.1922806 2.0 -expect 14997265.83 679490.65 - -tolerance 0.05 m -accept 73.1922806 2.0 -expect 11668086.08 679490.65 - -tolerance 0.05 m -accept 43.1922806 2.0 -expect 8338906.33 679490.65 - -tolerance 0.05 m -accept 13.1922806 2.0 -expect 5009726.58 679490.65 - -tolerance 0.05 m -accept 3.1922806 2.0 -expect 3900000.0 679490.65 - -tolerance 0.05 m -accept 0.0 2.0 -expect 3545744.14 679490.65 - -tolerance 0.05 m -accept -6.7200711 2.0 -expect 2800000.0 679490.65 - -tolerance 0.05 m -accept -16.8077194 2.0 -expect 1680546.83 679490.65 - -tolerance 0.05 m -accept -46.8077194 2.0 -expect -1648632.92 679490.65 - -tolerance 0.05 m -accept -76.8077194 2.0 -expect -4977812.67 679490.65 - -tolerance 0.05 m -accept -106.8077194 2.0 -expect -8306992.42 679490.65 - -tolerance 0.05 m -accept -136.8077194 2.0 -expect -11636172.17 679490.65 - -tolerance 0.05 m -accept -166.8077194 2.0 -expect -14965351.92 679490.65 - -tolerance 0.05 m -accept -175.8077194 2.0 -expect -15964105.84 679490.65 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs +inv - +step +init=epsg:4813 --------------------------------------------------------------------------------- -tolerance 0.05 m -accept 2800000.0 15000000.0 -expect -6.7200711 77.6534822 - -tolerance 0.05 m -accept 2800000.0 13000000.0 -expect -6.7200711 73.1442856 - -tolerance 0.05 m -accept 2800000.0 11000000.0 -expect -6.7200711 67.0518325 - -tolerance 0.05 m -accept 2800000.0 9000000.0 -expect -6.7200711 58.9140458 - -tolerance 0.05 m -accept 2800000.0 7000000.0 -expect -6.7200711 48.2638981 - -tolerance 0.05 m -accept 2800000.0 5000000.0 -expect -6.7200711 34.8029044 - -tolerance 0.05 m -accept 2800000.0 3000000.0 -expect -6.7200711 18.7048581 - -tolerance 0.05 m -accept 2800000.0 1000000.0 -expect -6.7200711 0.9071392 - -tolerance 0.05 m -accept 3900000.0 900000.0 -expect 3.1922806 0.0 - -tolerance 0.05 m -accept 2800000.0 800000.0 -expect -6.7200711 0.9071392 - -tolerance 0.05 m -accept 2800000.0 700000.0 -expect -6.7200711 1.8140483 - -tolerance 0.05 m -accept 2800000.0 679490.65 -expect -6.7200711 2.0 - -tolerance 0.05 m -accept 2800000.0 500000.0 -expect -6.7200711 3.6262553 - -tolerance 0.05 m -accept 2800000.0 400000.0 -expect -6.7200711 4.531095 - -tolerance 0.05 m -accept 2800000.0 300000.0 -expect -6.7200711 5.4347892 - -tolerance 0.05 m -accept 2800000.0 200000.0 -expect -6.7200711 6.3371111 - -tolerance 0.05 m -accept 2800000.0 100000.0 -expect -6.7200711 7.2378372 - -tolerance 0.05 m -accept 0.0 0.0 -expect -31.9515111 8.136745 - -tolerance 0.05 m -accept 23764105.84 679490.65 -expect -177.8077194 2.0 - -tolerance 0.05 m -accept 21655625.33 679490.65 -expect 163.1922806 2.0 - -tolerance 0.05 m -accept 18326445.58 679490.65 -expect 133.1922806 2.0 - -tolerance 0.05 m -accept 14997265.83 679490.65 -expect 103.1922806 2.0 - -tolerance 0.05 m -accept 11668086.08 679490.65 -expect 73.1922806 2.0 - -tolerance 0.05 m -accept 8338906.33 679490.65 -expect 43.1922806 2.0 - -tolerance 0.05 m -accept 5009726.58 679490.65 -expect 13.1922806 2.0 - -tolerance 0.05 m -accept 3900000.0 679490.65 -expect 3.1922806 2.0 - -tolerance 0.05 m -accept 3545744.14 679490.65 -expect 0.0 2.0 - -tolerance 0.05 m -accept 2800000.0 679490.65 -expect -6.7200711 2.0 - -tolerance 0.05 m -accept 1680546.83 679490.65 -expect -16.8077194 2.0 - -tolerance 0.05 m -accept -1648632.92 679490.65 -expect -46.8077194 2.0 - -tolerance 0.05 m -accept -4977812.67 679490.65 -expect -76.8077194 2.0 - -tolerance 0.05 m -accept -8306992.42 679490.65 -expect -106.8077194 2.0 - -tolerance 0.05 m -accept -11636172.17 679490.65 -expect -136.8077194 2.0 - -tolerance 0.05 m -accept -14965351.92 679490.65 -expect -166.8077194 2.0 - -tolerance 0.05 m -accept -15964105.84 679490.65 -expect -175.8077194 2.0 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4813 +inv - +step +proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs --------------------------------------------------------------------------------- -tolerance 0.006 m -accept -6.7200711 77.6534822 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 73.1442856 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 67.0518325 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 58.9140458 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 48.2638981 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 34.8029044 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 18.7048581 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 0.9071392 -roundtrip 1000 - -tolerance 0.006 m -accept 3.1922806 0.0 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 0.9071392 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 1.8140483 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 3.6262553 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 4.531095 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 5.4347892 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 6.3371111 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 7.2378372 -roundtrip 1000 - -tolerance 0.006 m -accept -31.9515111 8.136745 -roundtrip 1000 - -tolerance 0.006 m -accept -177.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 163.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 133.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 103.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 73.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 43.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 13.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 3.1922806 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept 0.0 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -6.7200711 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -16.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -46.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -76.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -106.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -136.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -166.8077194 2.0 -roundtrip 1000 - -tolerance 0.006 m -accept -175.8077194 2.0 -roundtrip 1000 - - diff --git a/test/gigs/5111.2.gie_failing b/test/gigs/5111.2.gie_failing new file mode 100644 index 00000000..dfa6bca2 --- /dev/null +++ b/test/gigs/5111.2.gie_failing @@ -0,0 +1,444 @@ +-------------------------------------------------------------------------------- + +Test 5111 (part 2), Mercator (variant A), v2-0_2011-06-28. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4813 +inv + +step +proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept -6.7200711 77.6534822 +expect 2800000.0 15000000.0 + +tolerance 0.05 m +accept -6.7200711 73.1442856 +expect 2800000.0 13000000.0 + +tolerance 0.05 m +accept -6.7200711 67.0518325 +expect 2800000.0 11000000.0 + +tolerance 0.05 m +accept -6.7200711 58.9140458 +expect 2800000.0 9000000.0 + +tolerance 0.05 m +accept -6.7200711 48.2638981 +expect 2800000.0 7000000.0 + +tolerance 0.05 m +accept -6.7200711 34.8029044 +expect 2800000.0 5000000.0 + +tolerance 0.05 m +accept -6.7200711 18.7048581 +expect 2800000.0 3000000.0 + +tolerance 0.05 m +accept -6.7200711 0.9071392 +expect 2800000.0 1000000.0 + +tolerance 0.05 m +accept 3.1922806 0.0 +expect 3900000.0 900000.0 + +tolerance 0.05 m +accept -6.7200711 0.9071392 +expect 2800000.0 800000.0 + +tolerance 0.05 m +accept -6.7200711 1.8140483 +expect 2800000.0 700000.0 + +tolerance 0.05 m +accept -6.7200711 2.0 +expect 2800000.0 679490.65 + +tolerance 0.05 m +accept -6.7200711 3.6262553 +expect 2800000.0 500000.0 + +tolerance 0.05 m +accept -6.7200711 4.531095 +expect 2800000.0 400000.0 + +tolerance 0.05 m +accept -6.7200711 5.4347892 +expect 2800000.0 300000.0 + +tolerance 0.05 m +accept -6.7200711 6.3371111 +expect 2800000.0 200000.0 + +tolerance 0.05 m +accept -6.7200711 7.2378372 +expect 2800000.0 100000.0 + +tolerance 0.05 m +accept -31.9515111 8.136745 +expect 0.0 0.0 + +tolerance 0.05 m +accept -177.8077194 2.0 +expect 23764105.84 679490.65 + +tolerance 0.05 m +accept 163.1922806 2.0 +expect 21655625.33 679490.65 + +tolerance 0.05 m +accept 133.1922806 2.0 +expect 18326445.58 679490.65 + +tolerance 0.05 m +accept 103.1922806 2.0 +expect 14997265.83 679490.65 + +tolerance 0.05 m +accept 73.1922806 2.0 +expect 11668086.08 679490.65 + +tolerance 0.05 m +accept 43.1922806 2.0 +expect 8338906.33 679490.65 + +tolerance 0.05 m +accept 13.1922806 2.0 +expect 5009726.58 679490.65 + +tolerance 0.05 m +accept 3.1922806 2.0 +expect 3900000.0 679490.65 + +tolerance 0.05 m +accept 0.0 2.0 +expect 3545744.14 679490.65 + +tolerance 0.05 m +accept -6.7200711 2.0 +expect 2800000.0 679490.65 + +tolerance 0.05 m +accept -16.8077194 2.0 +expect 1680546.83 679490.65 + +tolerance 0.05 m +accept -46.8077194 2.0 +expect -1648632.92 679490.65 + +tolerance 0.05 m +accept -76.8077194 2.0 +expect -4977812.67 679490.65 + +tolerance 0.05 m +accept -106.8077194 2.0 +expect -8306992.42 679490.65 + +tolerance 0.05 m +accept -136.8077194 2.0 +expect -11636172.17 679490.65 + +tolerance 0.05 m +accept -166.8077194 2.0 +expect -14965351.92 679490.65 + +tolerance 0.05 m +accept -175.8077194 2.0 +expect -15964105.84 679490.65 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs +inv + +step +init=epsg:4813 +-------------------------------------------------------------------------------- +tolerance 0.05 m +accept 2800000.0 15000000.0 +expect -6.7200711 77.6534822 + +tolerance 0.05 m +accept 2800000.0 13000000.0 +expect -6.7200711 73.1442856 + +tolerance 0.05 m +accept 2800000.0 11000000.0 +expect -6.7200711 67.0518325 + +tolerance 0.05 m +accept 2800000.0 9000000.0 +expect -6.7200711 58.9140458 + +tolerance 0.05 m +accept 2800000.0 7000000.0 +expect -6.7200711 48.2638981 + +tolerance 0.05 m +accept 2800000.0 5000000.0 +expect -6.7200711 34.8029044 + +tolerance 0.05 m +accept 2800000.0 3000000.0 +expect -6.7200711 18.7048581 + +tolerance 0.05 m +accept 2800000.0 1000000.0 +expect -6.7200711 0.9071392 + +tolerance 0.05 m +accept 3900000.0 900000.0 +expect 3.1922806 0.0 + +tolerance 0.05 m +accept 2800000.0 800000.0 +expect -6.7200711 0.9071392 + +tolerance 0.05 m +accept 2800000.0 700000.0 +expect -6.7200711 1.8140483 + +tolerance 0.05 m +accept 2800000.0 679490.65 +expect -6.7200711 2.0 + +tolerance 0.05 m +accept 2800000.0 500000.0 +expect -6.7200711 3.6262553 + +tolerance 0.05 m +accept 2800000.0 400000.0 +expect -6.7200711 4.531095 + +tolerance 0.05 m +accept 2800000.0 300000.0 +expect -6.7200711 5.4347892 + +tolerance 0.05 m +accept 2800000.0 200000.0 +expect -6.7200711 6.3371111 + +tolerance 0.05 m +accept 2800000.0 100000.0 +expect -6.7200711 7.2378372 + +tolerance 0.05 m +accept 0.0 0.0 +expect -31.9515111 8.136745 + +tolerance 0.05 m +accept 23764105.84 679490.65 +expect -177.8077194 2.0 + +tolerance 0.05 m +accept 21655625.33 679490.65 +expect 163.1922806 2.0 + +tolerance 0.05 m +accept 18326445.58 679490.65 +expect 133.1922806 2.0 + +tolerance 0.05 m +accept 14997265.83 679490.65 +expect 103.1922806 2.0 + +tolerance 0.05 m +accept 11668086.08 679490.65 +expect 73.1922806 2.0 + +tolerance 0.05 m +accept 8338906.33 679490.65 +expect 43.1922806 2.0 + +tolerance 0.05 m +accept 5009726.58 679490.65 +expect 13.1922806 2.0 + +tolerance 0.05 m +accept 3900000.0 679490.65 +expect 3.1922806 2.0 + +tolerance 0.05 m +accept 3545744.14 679490.65 +expect 0.0 2.0 + +tolerance 0.05 m +accept 2800000.0 679490.65 +expect -6.7200711 2.0 + +tolerance 0.05 m +accept 1680546.83 679490.65 +expect -16.8077194 2.0 + +tolerance 0.05 m +accept -1648632.92 679490.65 +expect -46.8077194 2.0 + +tolerance 0.05 m +accept -4977812.67 679490.65 +expect -76.8077194 2.0 + +tolerance 0.05 m +accept -8306992.42 679490.65 +expect -106.8077194 2.0 + +tolerance 0.05 m +accept -11636172.17 679490.65 +expect -136.8077194 2.0 + +tolerance 0.05 m +accept -14965351.92 679490.65 +expect -166.8077194 2.0 + +tolerance 0.05 m +accept -15964105.84 679490.65 +expect -175.8077194 2.0 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4813 +inv + +step +proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs +-------------------------------------------------------------------------------- +tolerance 0.006 m +accept -6.7200711 77.6534822 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 73.1442856 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 67.0518325 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 58.9140458 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 48.2638981 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 34.8029044 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 18.7048581 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 0.9071392 +roundtrip 1000 + +tolerance 0.006 m +accept 3.1922806 0.0 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 0.9071392 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 1.8140483 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 3.6262553 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 4.531095 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 5.4347892 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 6.3371111 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 7.2378372 +roundtrip 1000 + +tolerance 0.006 m +accept -31.9515111 8.136745 +roundtrip 1000 + +tolerance 0.006 m +accept -177.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 163.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 133.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 103.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 73.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 43.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 13.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 3.1922806 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept 0.0 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -6.7200711 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -16.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -46.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -76.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -106.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -136.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -166.8077194 2.0 +roundtrip 1000 + +tolerance 0.006 m +accept -175.8077194 2.0 +roundtrip 1000 + + diff --git a/test/gigs/5203.1.gie b/test/gigs/5203.1.gie deleted file mode 100644 index 960b9171..00000000 --- a/test/gigs/5203.1.gie +++ /dev/null @@ -1,192 +0,0 @@ --------------------------------------------------------------------------------- - -GIGS Test 5203 (part 1), Position Vector 7-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9606). - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4277 +inv - +step +init=epsg:4326 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept 150.00567472 79.99487333 -expect 150.0 80.0 - -tolerance 2.77777777778e-07 m -accept 120.0 60.0 -expect 119.99435889 60.00569306 - -tolerance 2.77777777778e-07 m -accept 60.00446778 29.99566778 -expect 60.0 30.0 - -tolerance 2.77777777778e-07 m -accept 0.0 0.0 -expect -0.00089056 0.00483333 - -tolerance 2.77777777778e-07 m -accept -60.00357056 -30.00504639 -expect -60.0 -30.0 - -tolerance 2.77777777778e-07 m -accept -120.0 -60.0 -expect -119.9918525 -59.99907361 - -tolerance 2.77777777778e-07 m -accept -150.01693111 -79.99778139 -expect -150.0 -80.0 - -tolerance 2.77777777778e-07 m -accept -180.0 70.0 -expect -179.99637361 70.005945 - -tolerance 2.77777777778e-07 m -accept -135.00596333 49.99458694 -expect -135.0 50.0 - -tolerance 2.77777777778e-07 m -accept -90.0 25.0 -expect -89.99531139 25.00445833 - -tolerance 2.77777777778e-07 m -accept 0.00089056 -0.00483333 -expect 0.0 0.0 - -tolerance 2.77777777778e-07 m -accept 143.9279419 -37.6532236 -expect 143.92634806 -37.65235306 - -tolerance 2.77777777778e-07 m -accept 135.00291194 -49.99973028 -expect 135.0 -50.0 - -tolerance 2.77777777778e-07 m -accept 180.0 -70.0 -expect -179.99660139 -70.002485 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4326 +inv - +step +init=epsg:4277 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept 150.0 80.0 -expect 150.00567472 79.99487333 - -tolerance 2.77777777778e-07 m -accept 119.99435889 60.00569306 -expect 120.0 60.0 - -tolerance 2.77777777778e-07 m -accept 60.0 30.0 -expect 60.00446778 29.99566778 - -tolerance 2.77777777778e-07 m -accept -0.00089056 0.00483333 -expect 0.0 0.0 - -tolerance 2.77777777778e-07 m -accept -60.0 -30.0 -expect -60.00357056 -30.00504639 - -tolerance 2.77777777778e-07 m -accept -119.9918525 -59.99907361 -expect -120.0 -60.0 - -tolerance 2.77777777778e-07 m -accept -150.0 -80.0 -expect -150.01693111 -79.99778139 - -tolerance 2.77777777778e-07 m -accept -179.99637361 70.005945 -expect -180.0 70.0 - -tolerance 2.77777777778e-07 m -accept -135.0 50.0 -expect -135.00596333 49.99458694 - -tolerance 2.77777777778e-07 m -accept -89.99531139 25.00445833 -expect -90.0 25.0 - -tolerance 2.77777777778e-07 m -accept 0.0 0.0 -expect 0.00089056 -0.00483333 - -tolerance 2.77777777778e-07 m -accept 143.92634806 -37.65235306 -expect 143.9279419 -37.6532236 - -tolerance 2.77777777778e-07 m -accept 135.0 -50.0 -expect 135.00291194 -49.99973028 - -tolerance 2.77777777778e-07 m -accept -179.99660139 -70.002485 -expect 180.0 -70.0 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4277 +inv - +step +init=epsg:4326 --------------------------------------------------------------------------------- -tolerance 5.55555555556e-08 m -accept 150.00567472 79.99487333 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 120.0 60.0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 60.00446778 29.99566778 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 0.0 0.0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -60.00357056 -30.00504639 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -120.0 -60.0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -150.01693111 -79.99778139 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -180.0 70.0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -135.00596333 49.99458694 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -90.0 25.0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 0.00089056 -0.00483333 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 143.9279419 -37.6532236 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 135.00291194 -49.99973028 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 180.0 -70.0 -roundtrip 1000 - - diff --git a/test/gigs/5203.1.gie_failing b/test/gigs/5203.1.gie_failing new file mode 100644 index 00000000..960b9171 --- /dev/null +++ b/test/gigs/5203.1.gie_failing @@ -0,0 +1,192 @@ +-------------------------------------------------------------------------------- + +GIGS Test 5203 (part 1), Position Vector 7-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9606). + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4277 +inv + +step +init=epsg:4326 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept 150.00567472 79.99487333 +expect 150.0 80.0 + +tolerance 2.77777777778e-07 m +accept 120.0 60.0 +expect 119.99435889 60.00569306 + +tolerance 2.77777777778e-07 m +accept 60.00446778 29.99566778 +expect 60.0 30.0 + +tolerance 2.77777777778e-07 m +accept 0.0 0.0 +expect -0.00089056 0.00483333 + +tolerance 2.77777777778e-07 m +accept -60.00357056 -30.00504639 +expect -60.0 -30.0 + +tolerance 2.77777777778e-07 m +accept -120.0 -60.0 +expect -119.9918525 -59.99907361 + +tolerance 2.77777777778e-07 m +accept -150.01693111 -79.99778139 +expect -150.0 -80.0 + +tolerance 2.77777777778e-07 m +accept -180.0 70.0 +expect -179.99637361 70.005945 + +tolerance 2.77777777778e-07 m +accept -135.00596333 49.99458694 +expect -135.0 50.0 + +tolerance 2.77777777778e-07 m +accept -90.0 25.0 +expect -89.99531139 25.00445833 + +tolerance 2.77777777778e-07 m +accept 0.00089056 -0.00483333 +expect 0.0 0.0 + +tolerance 2.77777777778e-07 m +accept 143.9279419 -37.6532236 +expect 143.92634806 -37.65235306 + +tolerance 2.77777777778e-07 m +accept 135.00291194 -49.99973028 +expect 135.0 -50.0 + +tolerance 2.77777777778e-07 m +accept 180.0 -70.0 +expect -179.99660139 -70.002485 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4326 +inv + +step +init=epsg:4277 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept 150.0 80.0 +expect 150.00567472 79.99487333 + +tolerance 2.77777777778e-07 m +accept 119.99435889 60.00569306 +expect 120.0 60.0 + +tolerance 2.77777777778e-07 m +accept 60.0 30.0 +expect 60.00446778 29.99566778 + +tolerance 2.77777777778e-07 m +accept -0.00089056 0.00483333 +expect 0.0 0.0 + +tolerance 2.77777777778e-07 m +accept -60.0 -30.0 +expect -60.00357056 -30.00504639 + +tolerance 2.77777777778e-07 m +accept -119.9918525 -59.99907361 +expect -120.0 -60.0 + +tolerance 2.77777777778e-07 m +accept -150.0 -80.0 +expect -150.01693111 -79.99778139 + +tolerance 2.77777777778e-07 m +accept -179.99637361 70.005945 +expect -180.0 70.0 + +tolerance 2.77777777778e-07 m +accept -135.0 50.0 +expect -135.00596333 49.99458694 + +tolerance 2.77777777778e-07 m +accept -89.99531139 25.00445833 +expect -90.0 25.0 + +tolerance 2.77777777778e-07 m +accept 0.0 0.0 +expect 0.00089056 -0.00483333 + +tolerance 2.77777777778e-07 m +accept 143.92634806 -37.65235306 +expect 143.9279419 -37.6532236 + +tolerance 2.77777777778e-07 m +accept 135.0 -50.0 +expect 135.00291194 -49.99973028 + +tolerance 2.77777777778e-07 m +accept -179.99660139 -70.002485 +expect 180.0 -70.0 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4277 +inv + +step +init=epsg:4326 +-------------------------------------------------------------------------------- +tolerance 5.55555555556e-08 m +accept 150.00567472 79.99487333 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 120.0 60.0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 60.00446778 29.99566778 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 0.0 0.0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -60.00357056 -30.00504639 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -120.0 -60.0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -150.01693111 -79.99778139 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -180.0 70.0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -135.00596333 49.99458694 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -90.0 25.0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 0.00089056 -0.00483333 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 143.9279419 -37.6532236 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 135.00291194 -49.99973028 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 180.0 -70.0 +roundtrip 1000 + + diff --git a/test/gigs/5204.1.gie b/test/gigs/5204.1.gie deleted file mode 100644 index 3c7e3fff..00000000 --- a/test/gigs/5204.1.gie +++ /dev/null @@ -1,192 +0,0 @@ --------------------------------------------------------------------------------- - -GIGS Test 5204, Coordinate Frame 7-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9607) - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4313 +inv - +step +init=epsg:4326 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept 149.99825389 80.00155167 -expect 150 80 - -tolerance 2.77777777778e-07 m -accept 120 60 -expect 120.00197111 59.99807333 - -tolerance 2.77777777778e-07 m -accept 59.99822194 30.00134083 -expect 60 30 - -tolerance 2.77777777778e-07 m -accept 0 0 -expect 0.00098139 -0.00081028 - -tolerance 2.77777777778e-07 m -accept -59.99991333 -29.99943917 -expect -60 -30 - -tolerance 2.77777777778e-07 m -accept -120 -60 -expect -120.00150694 -59.999835 - -tolerance 2.77777777778e-07 m -accept -149.99532167 -80.00054917 -expect -150 -80 - -tolerance 2.77777777778e-07 m -accept -180 70 -expect 179.99939778 69.99812806 - -tolerance 2.77777777778e-07 m -accept -134.99891389 50.00183 -expect -135 50 - -tolerance 2.77777777778e-07 m -accept -90 25 -expect -90.00060583 24.99862667 - -tolerance 2.77777777778e-07 m -accept -0.00098139 0.00081028 -expect 0 0 - -tolerance 2.77777777778e-07 m -accept 143.9279419 -37.6532236 -expect 143.92857222 -37.65257083 - -tolerance 2.77777777778e-07 m -accept 134.99913472 -50.00096139 -expect 135 -50 - -tolerance 2.77777777778e-07 m -accept 180 -70 -expect 179.99888667 -69.99901667 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4326 +inv - +step +init=epsg:4313 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept 150 80 -expect 149.99825389 80.00155167 - -tolerance 2.77777777778e-07 m -accept 120.00197111 59.99807333 -expect 120 60 - -tolerance 2.77777777778e-07 m -accept 60 30 -expect 59.99822194 30.00134083 - -tolerance 2.77777777778e-07 m -accept 0.00098139 -0.00081028 -expect 0 0 - -tolerance 2.77777777778e-07 m -accept -60 -30 -expect -59.99991333 -29.99943917 - -tolerance 2.77777777778e-07 m -accept -120.00150694 -59.999835 -expect -120 -60 - -tolerance 2.77777777778e-07 m -accept -150 -80 -expect -149.99532167 -80.00054917 - -tolerance 2.77777777778e-07 m -accept 179.99939778 69.99812806 -expect -180 70 - -tolerance 2.77777777778e-07 m -accept -135 50 -expect -134.99891389 50.00183 - -tolerance 2.77777777778e-07 m -accept -90.00060583 24.99862667 -expect -90 25 - -tolerance 2.77777777778e-07 m -accept 0 0 -expect -0.00098139 0.00081028 - -tolerance 2.77777777778e-07 m -accept 143.92857222 -37.65257083 -expect 143.9279419 -37.6532236 - -tolerance 2.77777777778e-07 m -accept 135 -50 -expect 134.99913472 -50.00096139 - -tolerance 2.77777777778e-07 m -accept 179.99888667 -69.99901667 -expect 180 -70 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4313 +inv - +step +init=epsg:4326 --------------------------------------------------------------------------------- -tolerance 5.55555555556e-08 m -accept 149.99825389 80.00155167 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 120 60 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 59.99822194 30.00134083 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 0 0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -59.99991333 -29.99943917 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -120 -60 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -149.99532167 -80.00054917 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -180 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -134.99891389 50.00183 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -90 25 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -0.00098139 0.00081028 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 143.9279419 -37.6532236 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 134.99913472 -50.00096139 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 180 -70 -roundtrip 1000 - - diff --git a/test/gigs/5204.1.gie_failing b/test/gigs/5204.1.gie_failing new file mode 100644 index 00000000..3c7e3fff --- /dev/null +++ b/test/gigs/5204.1.gie_failing @@ -0,0 +1,192 @@ +-------------------------------------------------------------------------------- + +GIGS Test 5204, Coordinate Frame 7-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9607) + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4313 +inv + +step +init=epsg:4326 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept 149.99825389 80.00155167 +expect 150 80 + +tolerance 2.77777777778e-07 m +accept 120 60 +expect 120.00197111 59.99807333 + +tolerance 2.77777777778e-07 m +accept 59.99822194 30.00134083 +expect 60 30 + +tolerance 2.77777777778e-07 m +accept 0 0 +expect 0.00098139 -0.00081028 + +tolerance 2.77777777778e-07 m +accept -59.99991333 -29.99943917 +expect -60 -30 + +tolerance 2.77777777778e-07 m +accept -120 -60 +expect -120.00150694 -59.999835 + +tolerance 2.77777777778e-07 m +accept -149.99532167 -80.00054917 +expect -150 -80 + +tolerance 2.77777777778e-07 m +accept -180 70 +expect 179.99939778 69.99812806 + +tolerance 2.77777777778e-07 m +accept -134.99891389 50.00183 +expect -135 50 + +tolerance 2.77777777778e-07 m +accept -90 25 +expect -90.00060583 24.99862667 + +tolerance 2.77777777778e-07 m +accept -0.00098139 0.00081028 +expect 0 0 + +tolerance 2.77777777778e-07 m +accept 143.9279419 -37.6532236 +expect 143.92857222 -37.65257083 + +tolerance 2.77777777778e-07 m +accept 134.99913472 -50.00096139 +expect 135 -50 + +tolerance 2.77777777778e-07 m +accept 180 -70 +expect 179.99888667 -69.99901667 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4326 +inv + +step +init=epsg:4313 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept 150 80 +expect 149.99825389 80.00155167 + +tolerance 2.77777777778e-07 m +accept 120.00197111 59.99807333 +expect 120 60 + +tolerance 2.77777777778e-07 m +accept 60 30 +expect 59.99822194 30.00134083 + +tolerance 2.77777777778e-07 m +accept 0.00098139 -0.00081028 +expect 0 0 + +tolerance 2.77777777778e-07 m +accept -60 -30 +expect -59.99991333 -29.99943917 + +tolerance 2.77777777778e-07 m +accept -120.00150694 -59.999835 +expect -120 -60 + +tolerance 2.77777777778e-07 m +accept -150 -80 +expect -149.99532167 -80.00054917 + +tolerance 2.77777777778e-07 m +accept 179.99939778 69.99812806 +expect -180 70 + +tolerance 2.77777777778e-07 m +accept -135 50 +expect -134.99891389 50.00183 + +tolerance 2.77777777778e-07 m +accept -90.00060583 24.99862667 +expect -90 25 + +tolerance 2.77777777778e-07 m +accept 0 0 +expect -0.00098139 0.00081028 + +tolerance 2.77777777778e-07 m +accept 143.92857222 -37.65257083 +expect 143.9279419 -37.6532236 + +tolerance 2.77777777778e-07 m +accept 135 -50 +expect 134.99913472 -50.00096139 + +tolerance 2.77777777778e-07 m +accept 179.99888667 -69.99901667 +expect 180 -70 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4313 +inv + +step +init=epsg:4326 +-------------------------------------------------------------------------------- +tolerance 5.55555555556e-08 m +accept 149.99825389 80.00155167 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 120 60 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 59.99822194 30.00134083 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 0 0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -59.99991333 -29.99943917 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -120 -60 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -149.99532167 -80.00054917 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -180 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -134.99891389 50.00183 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -90 25 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -0.00098139 0.00081028 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 143.9279419 -37.6532236 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 134.99913472 -50.00096139 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 180 -70 +roundtrip 1000 + + diff --git a/test/gigs/5205.1.gie b/test/gigs/5205.1.gie deleted file mode 100644 index df4cb674..00000000 --- a/test/gigs/5205.1.gie +++ /dev/null @@ -1,192 +0,0 @@ --------------------------------------------------------------------------------- - -GIGS Test 5205 (Part 1), Molodensky-Badekas 10-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9636) - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4289 +inv - +step +init=epsg:4326 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept 150.01814371 79.99494639 -expect 150 80 - -tolerance 2.77777777778e-07 m -accept 120 60 -expect 119.99001559 60.00441792 - -tolerance 2.77777777778e-07 m -accept 60.00535007 29.99746103 -expect 60 30 - -tolerance 2.77777777778e-07 m -accept 0 0 -expect -7.025e-05 0.0041133 - -tolerance 2.77777777778e-07 m -accept -60.00473241 -30.0042486 -expect -60 -30 - -tolerance 2.77777777778e-07 m -accept -120 -60 -expect -119.9922412 -60.00081456 - -tolerance 2.77777777778e-07 m -accept -150.01209192 -79.99612229 -expect -150 -80 - -tolerance 2.77777777778e-07 m -accept -180 70 -expect 179.99786174 70.00666951 - -tolerance 2.77777777778e-07 m -accept -135.00454845 49.99357566 -expect -135 50 - -tolerance 2.77777777778e-07 m -accept -90 25 -expect -89.99487454 25.00457271 - -tolerance 2.77777777778e-07 m -accept 7.032e-05 -0.00411349 -expect 0 0 - -tolerance 2.77777777778e-07 m -accept 143.9279419 -37.6532236 -expect 143.92330599 -37.65282034 - -tolerance 2.77777777778e-07 m -accept 135.00641074 -49.99958243 -expect 135 -50 - -tolerance 2.77777777778e-07 m -accept 180 -70 -expect 179.99847886 -70.00362084 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4326 +inv - +step +init=epsg:4289 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept 150 80 -expect 150.01814371 79.99494639 - -tolerance 2.77777777778e-07 m -accept 119.99001559 60.00441792 -expect 120 60 - -tolerance 2.77777777778e-07 m -accept 60 30 -expect 60.00535007 29.99746103 - -tolerance 2.77777777778e-07 m -accept -7.025e-05 0.0041133 -expect 0 0 - -tolerance 2.77777777778e-07 m -accept -60 -30 -expect -60.00473241 -30.0042486 - -tolerance 2.77777777778e-07 m -accept -119.9922412 -60.00081456 -expect -120 -60 - -tolerance 2.77777777778e-07 m -accept -150 -80 -expect -150.01209192 -79.99612229 - -tolerance 2.77777777778e-07 m -accept 179.99786174 70.00666951 -expect -180 70 - -tolerance 2.77777777778e-07 m -accept -135 50 -expect -135.00454845 49.99357566 - -tolerance 2.77777777778e-07 m -accept -89.99487454 25.00457271 -expect -90 25 - -tolerance 2.77777777778e-07 m -accept 0 0 -expect 7.032e-05 -0.00411349 - -tolerance 2.77777777778e-07 m -accept 143.92330599 -37.65282034 -expect 143.9279419 -37.6532236 - -tolerance 2.77777777778e-07 m -accept 135 -50 -expect 135.00641074 -49.99958243 - -tolerance 2.77777777778e-07 m -accept 179.99847886 -70.00362084 -expect 180 -70 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4289 +inv - +step +init=epsg:4326 --------------------------------------------------------------------------------- -tolerance 5.55555555556e-08 m -accept 150.01814371 79.99494639 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 120 60 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 60.00535007 29.99746103 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 0 0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -60.00473241 -30.0042486 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -120 -60 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -150.01209192 -79.99612229 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -180 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -135.00454845 49.99357566 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -90 25 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 7.032e-05 -0.00411349 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 143.9279419 -37.6532236 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 135.00641074 -49.99958243 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 180 -70 -roundtrip 1000 - - diff --git a/test/gigs/5205.1.gie_failing b/test/gigs/5205.1.gie_failing new file mode 100644 index 00000000..df4cb674 --- /dev/null +++ b/test/gigs/5205.1.gie_failing @@ -0,0 +1,192 @@ +-------------------------------------------------------------------------------- + +GIGS Test 5205 (Part 1), Molodensky-Badekas 10-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9636) + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4289 +inv + +step +init=epsg:4326 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept 150.01814371 79.99494639 +expect 150 80 + +tolerance 2.77777777778e-07 m +accept 120 60 +expect 119.99001559 60.00441792 + +tolerance 2.77777777778e-07 m +accept 60.00535007 29.99746103 +expect 60 30 + +tolerance 2.77777777778e-07 m +accept 0 0 +expect -7.025e-05 0.0041133 + +tolerance 2.77777777778e-07 m +accept -60.00473241 -30.0042486 +expect -60 -30 + +tolerance 2.77777777778e-07 m +accept -120 -60 +expect -119.9922412 -60.00081456 + +tolerance 2.77777777778e-07 m +accept -150.01209192 -79.99612229 +expect -150 -80 + +tolerance 2.77777777778e-07 m +accept -180 70 +expect 179.99786174 70.00666951 + +tolerance 2.77777777778e-07 m +accept -135.00454845 49.99357566 +expect -135 50 + +tolerance 2.77777777778e-07 m +accept -90 25 +expect -89.99487454 25.00457271 + +tolerance 2.77777777778e-07 m +accept 7.032e-05 -0.00411349 +expect 0 0 + +tolerance 2.77777777778e-07 m +accept 143.9279419 -37.6532236 +expect 143.92330599 -37.65282034 + +tolerance 2.77777777778e-07 m +accept 135.00641074 -49.99958243 +expect 135 -50 + +tolerance 2.77777777778e-07 m +accept 180 -70 +expect 179.99847886 -70.00362084 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4326 +inv + +step +init=epsg:4289 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept 150 80 +expect 150.01814371 79.99494639 + +tolerance 2.77777777778e-07 m +accept 119.99001559 60.00441792 +expect 120 60 + +tolerance 2.77777777778e-07 m +accept 60 30 +expect 60.00535007 29.99746103 + +tolerance 2.77777777778e-07 m +accept -7.025e-05 0.0041133 +expect 0 0 + +tolerance 2.77777777778e-07 m +accept -60 -30 +expect -60.00473241 -30.0042486 + +tolerance 2.77777777778e-07 m +accept -119.9922412 -60.00081456 +expect -120 -60 + +tolerance 2.77777777778e-07 m +accept -150 -80 +expect -150.01209192 -79.99612229 + +tolerance 2.77777777778e-07 m +accept 179.99786174 70.00666951 +expect -180 70 + +tolerance 2.77777777778e-07 m +accept -135 50 +expect -135.00454845 49.99357566 + +tolerance 2.77777777778e-07 m +accept -89.99487454 25.00457271 +expect -90 25 + +tolerance 2.77777777778e-07 m +accept 0 0 +expect 7.032e-05 -0.00411349 + +tolerance 2.77777777778e-07 m +accept 143.92330599 -37.65282034 +expect 143.9279419 -37.6532236 + +tolerance 2.77777777778e-07 m +accept 135 -50 +expect 135.00641074 -49.99958243 + +tolerance 2.77777777778e-07 m +accept 179.99847886 -70.00362084 +expect 180 -70 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4289 +inv + +step +init=epsg:4326 +-------------------------------------------------------------------------------- +tolerance 5.55555555556e-08 m +accept 150.01814371 79.99494639 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 120 60 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 60.00535007 29.99746103 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 0 0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -60.00473241 -30.0042486 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -120 -60 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -150.01209192 -79.99612229 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -180 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -135.00454845 49.99357566 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -90 25 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 7.032e-05 -0.00411349 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 143.9279419 -37.6532236 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 135.00641074 -49.99958243 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 180 -70 +roundtrip 1000 + + diff --git a/test/gigs/5206.gie b/test/gigs/5206.gie deleted file mode 100644 index 5f3d6eb6..00000000 --- a/test/gigs/5206.gie +++ /dev/null @@ -1,540 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5206, NADCON transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4267 +inv - +step +init=epsg:4269 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept -89.5177272 29.9997978 -expect -89.5177778 30.0 - -tolerance 2.77777777778e-07 m -accept -90.5177778 29.2833333 -expect -90.5178639 29.2835592 - -tolerance 2.77777777778e-07 m -accept -91.5176758 28.2830864 -expect -91.5177778 28.2833333 - -tolerance 2.77777777778e-07 m -accept -92.5177778 27.2833333 -expect -92.5178811 27.2836106 - -tolerance 2.77777777778e-07 m -accept -93.5176731 26.2830225 -expect -93.5177778 26.2833333 - -tolerance 2.77777777778e-07 m -accept -94.5177778 25 -expect -94.5178744 25.0003486 - -tolerance 2.77777777778e-07 m -accept -142.9972522 70.0001631 -expect -143 70 - -tolerance 2.77777777778e-07 m -accept -142 70.0 -expect -142.0026922 69.9998422 - -tolerance 2.77777777778e-07 m -accept -141.9973078 70.0001578 -expect -142 70 - -tolerance 2.77777777778e-07 m -accept -140.9971981 70.0001481 -expect -141 70 - -tolerance 2.77777777778e-07 m -accept -140 70 -expect -140.0027922 69.9998617 - -tolerance 2.77777777778e-07 m -accept -138.9973075 70.0001297 -expect -139 70 - -tolerance 2.77777777778e-07 m -accept -138 70 -expect -138.0026767 69.9998867 - -tolerance 2.77777777778e-07 m -accept -134.9973733 70.000055 -expect -135 70 - -tolerance 2.77777777778e-07 m -accept -130 70 -expect -130.0025347 70.0000511 - -tolerance 2.77777777778e-07 m -accept -128.0009742 69.9999053 -expect -128.0034722 70 - -tolerance 2.77777777778e-07 m -accept -179 70 -expect -179.0035064 69.9990142 - -tolerance 2.77777777778e-07 m -accept -179.9964664 70.0010089 -expect 180 70 - -tolerance 2.77777777778e-07 m -accept 180 70 -expect 179.9964664 69.9989911 - -tolerance 2.77777777778e-07 m -accept 179 70 -expect 178.9964394 69.9989678 - -tolerance 2.77777777778e-07 m -accept -111.9991714 49.9999556 -expect -112 49.9999997 - -tolerance 2.77777777778e-07 m -accept -112 49.9999997 -expect -112.0008286 50.0000439 - -tolerance 2.77777777778e-07 m -accept -111.9991214 49.0000033 -expect -112 49 - -tolerance 2.77777777778e-07 m -accept -112 48 -expect -112.0008492 47.9999606 - -tolerance 2.77777777778e-07 m -accept -111.9991678 47.0000569 -expect -112 47 - -tolerance 2.77777777778e-07 m -accept -112 47 -expect -112.0008325 46.9999431 - -tolerance 2.77777777778e-07 m -accept -111.9991756 46.0000733 -expect -112 46 - -tolerance 2.77777777778e-07 m -accept -112 45 -expect -112.0008022 44.9999197 - -tolerance 2.77777777778e-07 m -accept -130.5177467 51 -expect -130.5193953 50.9997114 - -tolerance 2.77777777778e-07 m -accept -130.5160981 51.0002886 -expect -130.5177467 51 - -tolerance 2.77777777778e-07 m -accept -130.5161206 50.0002897 -expect -130.5177467 49.9999997 - -tolerance 2.77777777778e-07 m -accept -130.5177467 49.9999997 -expect -130.5193731 49.9997097 - -tolerance 2.77777777778e-07 m -accept -130.5161458 49.0002717 -expect -130.5177467 49 - -tolerance 2.77777777778e-07 m -accept -130.5177467 48.1166667 -expect -130.5193258 48.1164106 - -tolerance 2.77777777778e-07 m -accept -130.5161942 47.0002378 -expect -130.5177467 47 - -tolerance 2.77777777778e-07 m -accept -130.5177467 47 -expect -130.5192992 46.9997622 - -tolerance 2.77777777778e-07 m -accept -130.5162172 46.0002222 -expect -130.5177467 46 - -tolerance 2.77777777778e-07 m -accept -130.5177467 45 -expect -130.5192539 44.9997925 - -tolerance 2.77777777778e-07 m -accept -132.9984775 48.1169867 -expect -133 48.1166667 - -tolerance 2.77777777778e-07 m -accept -131.4555556 48.1166667 -expect -131.4571578 48.1163964 - -tolerance 2.77777777778e-07 m -accept -130.5161675 48.1169228 -expect -130.5177467 48.1166667 - -tolerance 2.77777777778e-07 m -accept -128.4555556 48.1166667 -expect -128.4570433 48.1164319 - -tolerance 2.77777777778e-07 m -accept -128.5444444 48.1166667 -expect -128.5459361 48.1164311 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4269 +inv - +step +init=epsg:4267 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept -89.5177778 30.0 -expect -89.5177272 29.9997978 - -tolerance 2.77777777778e-07 m -accept -90.5178639 29.2835592 -expect -90.5177778 29.2833333 - -tolerance 2.77777777778e-07 m -accept -91.5177778 28.2833333 -expect -91.5176758 28.2830864 - -tolerance 2.77777777778e-07 m -accept -92.5178811 27.2836106 -expect -92.5177778 27.2833333 - -tolerance 2.77777777778e-07 m -accept -93.5177778 26.2833333 -expect -93.5176731 26.2830225 - -tolerance 2.77777777778e-07 m -accept -94.5178744 25.0003486 -expect -94.5177778 25 - -tolerance 2.77777777778e-07 m -accept -143 70 -expect -142.9972522 70.0001631 - -tolerance 2.77777777778e-07 m -accept -142.0026922 69.9998422 -expect -142 70.0 - -tolerance 2.77777777778e-07 m -accept -142 70 -expect -141.9973078 70.0001578 - -tolerance 2.77777777778e-07 m -accept -141 70 -expect -140.9971981 70.0001481 - -tolerance 2.77777777778e-07 m -accept -140.0027922 69.9998617 -expect -140 70 - -tolerance 2.77777777778e-07 m -accept -139 70 -expect -138.9973075 70.0001297 - -tolerance 2.77777777778e-07 m -accept -138.0026767 69.9998867 -expect -138 70 - -tolerance 2.77777777778e-07 m -accept -135 70 -expect -134.9973733 70.000055 - -tolerance 2.77777777778e-07 m -accept -130.0025347 70.0000511 -expect -130 70 - -tolerance 2.77777777778e-07 m -accept -128.0034722 70 -expect -128.0009742 69.9999053 - -tolerance 2.77777777778e-07 m -accept -179.0035064 69.9990142 -expect -179 70 - -tolerance 2.77777777778e-07 m -accept 180 70 -expect -179.9964664 70.0010089 - -tolerance 2.77777777778e-07 m -accept 179.9964664 69.9989911 -expect 180 70 - -tolerance 2.77777777778e-07 m -accept 178.9964394 69.9989678 -expect 179 70 - -tolerance 2.77777777778e-07 m -accept -112 49.9999997 -expect -111.9991714 49.9999556 - -tolerance 2.77777777778e-07 m -accept -112.0008286 50.0000439 -expect -112 49.9999997 - -tolerance 2.77777777778e-07 m -accept -112 49 -expect -111.9991214 49.0000033 - -tolerance 2.77777777778e-07 m -accept -112.0008492 47.9999606 -expect -112 48 - -tolerance 2.77777777778e-07 m -accept -112 47 -expect -111.9991678 47.0000569 - -tolerance 2.77777777778e-07 m -accept -112.0008325 46.9999431 -expect -112 47 - -tolerance 2.77777777778e-07 m -accept -112 46 -expect -111.9991756 46.0000733 - -tolerance 2.77777777778e-07 m -accept -112.0008022 44.9999197 -expect -112 45 - -tolerance 2.77777777778e-07 m -accept -130.5193953 50.9997114 -expect -130.5177467 51 - -tolerance 2.77777777778e-07 m -accept -130.5177467 51 -expect -130.5160981 51.0002886 - -tolerance 2.77777777778e-07 m -accept -130.5177467 49.9999997 -expect -130.5161206 50.0002897 - -tolerance 2.77777777778e-07 m -accept -130.5193731 49.9997097 -expect -130.5177467 49.9999997 - -tolerance 2.77777777778e-07 m -accept -130.5177467 49 -expect -130.5161458 49.0002717 - -tolerance 2.77777777778e-07 m -accept -130.5193258 48.1164106 -expect -130.5177467 48.1166667 - -tolerance 2.77777777778e-07 m -accept -130.5177467 47 -expect -130.5161942 47.0002378 - -tolerance 2.77777777778e-07 m -accept -130.5192992 46.9997622 -expect -130.5177467 47 - -tolerance 2.77777777778e-07 m -accept -130.5177467 46 -expect -130.5162172 46.0002222 - -tolerance 2.77777777778e-07 m -accept -130.5192539 44.9997925 -expect -130.5177467 45 - -tolerance 2.77777777778e-07 m -accept -133 48.1166667 -expect -132.9984775 48.1169867 - -tolerance 2.77777777778e-07 m -accept -131.4571578 48.1163964 -expect -131.4555556 48.1166667 - -tolerance 2.77777777778e-07 m -accept -130.5177467 48.1166667 -expect -130.5161675 48.1169228 - -tolerance 2.77777777778e-07 m -accept -128.4570433 48.1164319 -expect -128.4555556 48.1166667 - -tolerance 2.77777777778e-07 m -accept -128.5459361 48.1164311 -expect -128.5444444 48.1166667 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4267 +inv - +step +init=epsg:4269 --------------------------------------------------------------------------------- -tolerance 5.55555555556e-08 m -accept -89.5177272 29.9997978 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -90.5177778 29.2833333 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -91.5176758 28.2830864 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -92.5177778 27.2833333 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -93.5176731 26.2830225 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -94.5177778 25 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -142.9972522 70.0001631 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -142 70.0 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -141.9973078 70.0001578 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -140.9971981 70.0001481 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -140 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.9973075 70.0001297 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -134.9973733 70.000055 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128.0009742 69.9999053 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -179 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -179.9964664 70.0010089 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 180 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept 179 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.9991714 49.9999556 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 49.9999997 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.9991214 49.0000033 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 48 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.9991678 47.0000569 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 47 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.9991756 46.0000733 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 45 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5177467 51 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5160981 51.0002886 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5161206 50.0002897 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5177467 49.9999997 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5161458 49.0002717 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5177467 48.1166667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5161942 47.0002378 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5177467 47 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5162172 46.0002222 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5177467 45 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -132.9984775 48.1169867 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -131.4555556 48.1166667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.5161675 48.1169228 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128.4555556 48.1166667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128.5444444 48.1166667 -roundtrip 1000 - - diff --git a/test/gigs/5206.gie_failing b/test/gigs/5206.gie_failing new file mode 100644 index 00000000..5f3d6eb6 --- /dev/null +++ b/test/gigs/5206.gie_failing @@ -0,0 +1,540 @@ +-------------------------------------------------------------------------------- + +Test 5206, NADCON transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4267 +inv + +step +init=epsg:4269 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept -89.5177272 29.9997978 +expect -89.5177778 30.0 + +tolerance 2.77777777778e-07 m +accept -90.5177778 29.2833333 +expect -90.5178639 29.2835592 + +tolerance 2.77777777778e-07 m +accept -91.5176758 28.2830864 +expect -91.5177778 28.2833333 + +tolerance 2.77777777778e-07 m +accept -92.5177778 27.2833333 +expect -92.5178811 27.2836106 + +tolerance 2.77777777778e-07 m +accept -93.5176731 26.2830225 +expect -93.5177778 26.2833333 + +tolerance 2.77777777778e-07 m +accept -94.5177778 25 +expect -94.5178744 25.0003486 + +tolerance 2.77777777778e-07 m +accept -142.9972522 70.0001631 +expect -143 70 + +tolerance 2.77777777778e-07 m +accept -142 70.0 +expect -142.0026922 69.9998422 + +tolerance 2.77777777778e-07 m +accept -141.9973078 70.0001578 +expect -142 70 + +tolerance 2.77777777778e-07 m +accept -140.9971981 70.0001481 +expect -141 70 + +tolerance 2.77777777778e-07 m +accept -140 70 +expect -140.0027922 69.9998617 + +tolerance 2.77777777778e-07 m +accept -138.9973075 70.0001297 +expect -139 70 + +tolerance 2.77777777778e-07 m +accept -138 70 +expect -138.0026767 69.9998867 + +tolerance 2.77777777778e-07 m +accept -134.9973733 70.000055 +expect -135 70 + +tolerance 2.77777777778e-07 m +accept -130 70 +expect -130.0025347 70.0000511 + +tolerance 2.77777777778e-07 m +accept -128.0009742 69.9999053 +expect -128.0034722 70 + +tolerance 2.77777777778e-07 m +accept -179 70 +expect -179.0035064 69.9990142 + +tolerance 2.77777777778e-07 m +accept -179.9964664 70.0010089 +expect 180 70 + +tolerance 2.77777777778e-07 m +accept 180 70 +expect 179.9964664 69.9989911 + +tolerance 2.77777777778e-07 m +accept 179 70 +expect 178.9964394 69.9989678 + +tolerance 2.77777777778e-07 m +accept -111.9991714 49.9999556 +expect -112 49.9999997 + +tolerance 2.77777777778e-07 m +accept -112 49.9999997 +expect -112.0008286 50.0000439 + +tolerance 2.77777777778e-07 m +accept -111.9991214 49.0000033 +expect -112 49 + +tolerance 2.77777777778e-07 m +accept -112 48 +expect -112.0008492 47.9999606 + +tolerance 2.77777777778e-07 m +accept -111.9991678 47.0000569 +expect -112 47 + +tolerance 2.77777777778e-07 m +accept -112 47 +expect -112.0008325 46.9999431 + +tolerance 2.77777777778e-07 m +accept -111.9991756 46.0000733 +expect -112 46 + +tolerance 2.77777777778e-07 m +accept -112 45 +expect -112.0008022 44.9999197 + +tolerance 2.77777777778e-07 m +accept -130.5177467 51 +expect -130.5193953 50.9997114 + +tolerance 2.77777777778e-07 m +accept -130.5160981 51.0002886 +expect -130.5177467 51 + +tolerance 2.77777777778e-07 m +accept -130.5161206 50.0002897 +expect -130.5177467 49.9999997 + +tolerance 2.77777777778e-07 m +accept -130.5177467 49.9999997 +expect -130.5193731 49.9997097 + +tolerance 2.77777777778e-07 m +accept -130.5161458 49.0002717 +expect -130.5177467 49 + +tolerance 2.77777777778e-07 m +accept -130.5177467 48.1166667 +expect -130.5193258 48.1164106 + +tolerance 2.77777777778e-07 m +accept -130.5161942 47.0002378 +expect -130.5177467 47 + +tolerance 2.77777777778e-07 m +accept -130.5177467 47 +expect -130.5192992 46.9997622 + +tolerance 2.77777777778e-07 m +accept -130.5162172 46.0002222 +expect -130.5177467 46 + +tolerance 2.77777777778e-07 m +accept -130.5177467 45 +expect -130.5192539 44.9997925 + +tolerance 2.77777777778e-07 m +accept -132.9984775 48.1169867 +expect -133 48.1166667 + +tolerance 2.77777777778e-07 m +accept -131.4555556 48.1166667 +expect -131.4571578 48.1163964 + +tolerance 2.77777777778e-07 m +accept -130.5161675 48.1169228 +expect -130.5177467 48.1166667 + +tolerance 2.77777777778e-07 m +accept -128.4555556 48.1166667 +expect -128.4570433 48.1164319 + +tolerance 2.77777777778e-07 m +accept -128.5444444 48.1166667 +expect -128.5459361 48.1164311 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4269 +inv + +step +init=epsg:4267 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept -89.5177778 30.0 +expect -89.5177272 29.9997978 + +tolerance 2.77777777778e-07 m +accept -90.5178639 29.2835592 +expect -90.5177778 29.2833333 + +tolerance 2.77777777778e-07 m +accept -91.5177778 28.2833333 +expect -91.5176758 28.2830864 + +tolerance 2.77777777778e-07 m +accept -92.5178811 27.2836106 +expect -92.5177778 27.2833333 + +tolerance 2.77777777778e-07 m +accept -93.5177778 26.2833333 +expect -93.5176731 26.2830225 + +tolerance 2.77777777778e-07 m +accept -94.5178744 25.0003486 +expect -94.5177778 25 + +tolerance 2.77777777778e-07 m +accept -143 70 +expect -142.9972522 70.0001631 + +tolerance 2.77777777778e-07 m +accept -142.0026922 69.9998422 +expect -142 70.0 + +tolerance 2.77777777778e-07 m +accept -142 70 +expect -141.9973078 70.0001578 + +tolerance 2.77777777778e-07 m +accept -141 70 +expect -140.9971981 70.0001481 + +tolerance 2.77777777778e-07 m +accept -140.0027922 69.9998617 +expect -140 70 + +tolerance 2.77777777778e-07 m +accept -139 70 +expect -138.9973075 70.0001297 + +tolerance 2.77777777778e-07 m +accept -138.0026767 69.9998867 +expect -138 70 + +tolerance 2.77777777778e-07 m +accept -135 70 +expect -134.9973733 70.000055 + +tolerance 2.77777777778e-07 m +accept -130.0025347 70.0000511 +expect -130 70 + +tolerance 2.77777777778e-07 m +accept -128.0034722 70 +expect -128.0009742 69.9999053 + +tolerance 2.77777777778e-07 m +accept -179.0035064 69.9990142 +expect -179 70 + +tolerance 2.77777777778e-07 m +accept 180 70 +expect -179.9964664 70.0010089 + +tolerance 2.77777777778e-07 m +accept 179.9964664 69.9989911 +expect 180 70 + +tolerance 2.77777777778e-07 m +accept 178.9964394 69.9989678 +expect 179 70 + +tolerance 2.77777777778e-07 m +accept -112 49.9999997 +expect -111.9991714 49.9999556 + +tolerance 2.77777777778e-07 m +accept -112.0008286 50.0000439 +expect -112 49.9999997 + +tolerance 2.77777777778e-07 m +accept -112 49 +expect -111.9991214 49.0000033 + +tolerance 2.77777777778e-07 m +accept -112.0008492 47.9999606 +expect -112 48 + +tolerance 2.77777777778e-07 m +accept -112 47 +expect -111.9991678 47.0000569 + +tolerance 2.77777777778e-07 m +accept -112.0008325 46.9999431 +expect -112 47 + +tolerance 2.77777777778e-07 m +accept -112 46 +expect -111.9991756 46.0000733 + +tolerance 2.77777777778e-07 m +accept -112.0008022 44.9999197 +expect -112 45 + +tolerance 2.77777777778e-07 m +accept -130.5193953 50.9997114 +expect -130.5177467 51 + +tolerance 2.77777777778e-07 m +accept -130.5177467 51 +expect -130.5160981 51.0002886 + +tolerance 2.77777777778e-07 m +accept -130.5177467 49.9999997 +expect -130.5161206 50.0002897 + +tolerance 2.77777777778e-07 m +accept -130.5193731 49.9997097 +expect -130.5177467 49.9999997 + +tolerance 2.77777777778e-07 m +accept -130.5177467 49 +expect -130.5161458 49.0002717 + +tolerance 2.77777777778e-07 m +accept -130.5193258 48.1164106 +expect -130.5177467 48.1166667 + +tolerance 2.77777777778e-07 m +accept -130.5177467 47 +expect -130.5161942 47.0002378 + +tolerance 2.77777777778e-07 m +accept -130.5192992 46.9997622 +expect -130.5177467 47 + +tolerance 2.77777777778e-07 m +accept -130.5177467 46 +expect -130.5162172 46.0002222 + +tolerance 2.77777777778e-07 m +accept -130.5192539 44.9997925 +expect -130.5177467 45 + +tolerance 2.77777777778e-07 m +accept -133 48.1166667 +expect -132.9984775 48.1169867 + +tolerance 2.77777777778e-07 m +accept -131.4571578 48.1163964 +expect -131.4555556 48.1166667 + +tolerance 2.77777777778e-07 m +accept -130.5177467 48.1166667 +expect -130.5161675 48.1169228 + +tolerance 2.77777777778e-07 m +accept -128.4570433 48.1164319 +expect -128.4555556 48.1166667 + +tolerance 2.77777777778e-07 m +accept -128.5459361 48.1164311 +expect -128.5444444 48.1166667 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4267 +inv + +step +init=epsg:4269 +-------------------------------------------------------------------------------- +tolerance 5.55555555556e-08 m +accept -89.5177272 29.9997978 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -90.5177778 29.2833333 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -91.5176758 28.2830864 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -92.5177778 27.2833333 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -93.5176731 26.2830225 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -94.5177778 25 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -142.9972522 70.0001631 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -142 70.0 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -141.9973078 70.0001578 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -140.9971981 70.0001481 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -140 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.9973075 70.0001297 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -134.9973733 70.000055 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128.0009742 69.9999053 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -179 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -179.9964664 70.0010089 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 180 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept 179 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.9991714 49.9999556 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 49.9999997 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.9991214 49.0000033 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 48 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.9991678 47.0000569 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 47 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.9991756 46.0000733 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 45 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5177467 51 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5160981 51.0002886 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5161206 50.0002897 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5177467 49.9999997 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5161458 49.0002717 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5177467 48.1166667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5161942 47.0002378 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5177467 47 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5162172 46.0002222 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5177467 45 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -132.9984775 48.1169867 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -131.4555556 48.1166667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.5161675 48.1169228 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128.4555556 48.1166667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128.5444444 48.1166667 +roundtrip 1000 + + diff --git a/test/gigs/5207.1.gie b/test/gigs/5207.1.gie deleted file mode 100644 index 8384bf0e..00000000 --- a/test/gigs/5207.1.gie +++ /dev/null @@ -1,252 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5207, NTv2 transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4202 +inv - +step +init=epsg:4283 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept -115 -10.05 -expect -115.001251111 -10.0486372222 - -tolerance 2.77777777778e-07 m -accept -114.998744167 -11.0013594444 -expect -115 -11 - -tolerance 2.77777777778e-07 m -accept -115 -12 -expect -115.001261389 -11.9986441667 - -tolerance 2.77777777778e-07 m -accept -138.04 -9 -expect -138.041132778 -8.99854333333 - -tolerance 2.77777777778e-07 m -accept -138.043867222 -9.00145666667 -expect -138.045 -9 - -tolerance 2.77777777778e-07 m -accept -138.05 -9 -expect -138.051132778 -8.99854333333 - -tolerance 2.77777777778e-07 m -accept -138.048867222 -9.00145666667 -expect -138.05 -9 - -tolerance 2.77777777778e-07 m -accept -138.053867222 -9.00145666667 -expect -138.055 -9 - -tolerance 2.77777777778e-07 m -accept -138.06 -9 -expect -138.061132778 -8.99854333333 - -tolerance 2.77777777778e-07 m -accept -138.038730833 -27.1264763889 -expect -138.04 -27.125 - -tolerance 2.77777777778e-07 m -accept -138.045 -27.125 -expect -138.046268889 -27.1235236111 - -tolerance 2.77777777778e-07 m -accept -138.05 -27.125 -expect -138.051268889 -27.1235236111 - -tolerance 2.77777777778e-07 m -accept -138.048731111 -27.1264763889 -expect -138.05 -27.125 - -tolerance 2.77777777778e-07 m -accept -138.055 -27.125 -expect -138.056268889 -27.1235233333 - -tolerance 2.77777777778e-07 m -accept -138.058731111 -27.1264766667 -expect -138.06 -27.125 - -tolerance 2.77777777778e-07 m -accept -136.847222222 -28.05 -expect -136.848525278 -28.0485269444 - -tolerance 2.77777777778e-07 m -accept -137.847222222 -28.05 -expect -137.848505556 -28.0485311111 - -tolerance 2.77777777778e-07 m -accept -138.847222222 -28.05 -expect -138.8484925 -28.0485188889 - -tolerance 2.77777777778e-07 m -accept -139.847222222 -28.05 -expect -139.848475278 -28.0485072222 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4283 +inv - +step +init=epsg:4202 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept -115.001251111 -10.0486372222 -expect -115 -10.05 - -tolerance 2.77777777778e-07 m -accept -115 -11 -expect -114.998744167 -11.0013594444 - -tolerance 2.77777777778e-07 m -accept -115.001261389 -11.9986441667 -expect -115 -12 - -tolerance 2.77777777778e-07 m -accept -138.041132778 -8.99854333333 -expect -138.04 -9 - -tolerance 2.77777777778e-07 m -accept -138.045 -9 -expect -138.043867222 -9.00145666667 - -tolerance 2.77777777778e-07 m -accept -138.051132778 -8.99854333333 -expect -138.05 -9 - -tolerance 2.77777777778e-07 m -accept -138.05 -9 -expect -138.048867222 -9.00145666667 - -tolerance 2.77777777778e-07 m -accept -138.055 -9 -expect -138.053867222 -9.00145666667 - -tolerance 2.77777777778e-07 m -accept -138.061132778 -8.99854333333 -expect -138.06 -9 - -tolerance 2.77777777778e-07 m -accept -138.04 -27.125 -expect -138.038730833 -27.1264763889 - -tolerance 2.77777777778e-07 m -accept -138.046268889 -27.1235236111 -expect -138.045 -27.125 - -tolerance 2.77777777778e-07 m -accept -138.051268889 -27.1235236111 -expect -138.05 -27.125 - -tolerance 2.77777777778e-07 m -accept -138.05 -27.125 -expect -138.048731111 -27.1264763889 - -tolerance 2.77777777778e-07 m -accept -138.056268889 -27.1235233333 -expect -138.055 -27.125 - -tolerance 2.77777777778e-07 m -accept -138.06 -27.125 -expect -138.058731111 -27.1264766667 - -tolerance 2.77777777778e-07 m -accept -136.848525278 -28.0485269444 -expect -136.847222222 -28.05 - -tolerance 2.77777777778e-07 m -accept -137.848505556 -28.0485311111 -expect -137.847222222 -28.05 - -tolerance 2.77777777778e-07 m -accept -138.8484925 -28.0485188889 -expect -138.847222222 -28.05 - -tolerance 2.77777777778e-07 m -accept -139.848475278 -28.0485072222 -expect -139.847222222 -28.05 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4202 +inv - +step +init=epsg:4283 --------------------------------------------------------------------------------- -tolerance 5.55555555556e-08 m -accept -115 -10.05 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -114.998744167 -11.0013594444 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -115 -12 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.04 -9 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.043867222 -9.00145666667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.05 -9 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.048867222 -9.00145666667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.053867222 -9.00145666667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.06 -9 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.038730833 -27.1264763889 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.045 -27.125 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.05 -27.125 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.048731111 -27.1264763889 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.055 -27.125 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.058731111 -27.1264766667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -136.847222222 -28.05 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -137.847222222 -28.05 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.847222222 -28.05 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -139.847222222 -28.05 -roundtrip 1000 - - diff --git a/test/gigs/5207.1.gie_failing b/test/gigs/5207.1.gie_failing new file mode 100644 index 00000000..8384bf0e --- /dev/null +++ b/test/gigs/5207.1.gie_failing @@ -0,0 +1,252 @@ +-------------------------------------------------------------------------------- + +Test 5207, NTv2 transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4202 +inv + +step +init=epsg:4283 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept -115 -10.05 +expect -115.001251111 -10.0486372222 + +tolerance 2.77777777778e-07 m +accept -114.998744167 -11.0013594444 +expect -115 -11 + +tolerance 2.77777777778e-07 m +accept -115 -12 +expect -115.001261389 -11.9986441667 + +tolerance 2.77777777778e-07 m +accept -138.04 -9 +expect -138.041132778 -8.99854333333 + +tolerance 2.77777777778e-07 m +accept -138.043867222 -9.00145666667 +expect -138.045 -9 + +tolerance 2.77777777778e-07 m +accept -138.05 -9 +expect -138.051132778 -8.99854333333 + +tolerance 2.77777777778e-07 m +accept -138.048867222 -9.00145666667 +expect -138.05 -9 + +tolerance 2.77777777778e-07 m +accept -138.053867222 -9.00145666667 +expect -138.055 -9 + +tolerance 2.77777777778e-07 m +accept -138.06 -9 +expect -138.061132778 -8.99854333333 + +tolerance 2.77777777778e-07 m +accept -138.038730833 -27.1264763889 +expect -138.04 -27.125 + +tolerance 2.77777777778e-07 m +accept -138.045 -27.125 +expect -138.046268889 -27.1235236111 + +tolerance 2.77777777778e-07 m +accept -138.05 -27.125 +expect -138.051268889 -27.1235236111 + +tolerance 2.77777777778e-07 m +accept -138.048731111 -27.1264763889 +expect -138.05 -27.125 + +tolerance 2.77777777778e-07 m +accept -138.055 -27.125 +expect -138.056268889 -27.1235233333 + +tolerance 2.77777777778e-07 m +accept -138.058731111 -27.1264766667 +expect -138.06 -27.125 + +tolerance 2.77777777778e-07 m +accept -136.847222222 -28.05 +expect -136.848525278 -28.0485269444 + +tolerance 2.77777777778e-07 m +accept -137.847222222 -28.05 +expect -137.848505556 -28.0485311111 + +tolerance 2.77777777778e-07 m +accept -138.847222222 -28.05 +expect -138.8484925 -28.0485188889 + +tolerance 2.77777777778e-07 m +accept -139.847222222 -28.05 +expect -139.848475278 -28.0485072222 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4283 +inv + +step +init=epsg:4202 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept -115.001251111 -10.0486372222 +expect -115 -10.05 + +tolerance 2.77777777778e-07 m +accept -115 -11 +expect -114.998744167 -11.0013594444 + +tolerance 2.77777777778e-07 m +accept -115.001261389 -11.9986441667 +expect -115 -12 + +tolerance 2.77777777778e-07 m +accept -138.041132778 -8.99854333333 +expect -138.04 -9 + +tolerance 2.77777777778e-07 m +accept -138.045 -9 +expect -138.043867222 -9.00145666667 + +tolerance 2.77777777778e-07 m +accept -138.051132778 -8.99854333333 +expect -138.05 -9 + +tolerance 2.77777777778e-07 m +accept -138.05 -9 +expect -138.048867222 -9.00145666667 + +tolerance 2.77777777778e-07 m +accept -138.055 -9 +expect -138.053867222 -9.00145666667 + +tolerance 2.77777777778e-07 m +accept -138.061132778 -8.99854333333 +expect -138.06 -9 + +tolerance 2.77777777778e-07 m +accept -138.04 -27.125 +expect -138.038730833 -27.1264763889 + +tolerance 2.77777777778e-07 m +accept -138.046268889 -27.1235236111 +expect -138.045 -27.125 + +tolerance 2.77777777778e-07 m +accept -138.051268889 -27.1235236111 +expect -138.05 -27.125 + +tolerance 2.77777777778e-07 m +accept -138.05 -27.125 +expect -138.048731111 -27.1264763889 + +tolerance 2.77777777778e-07 m +accept -138.056268889 -27.1235233333 +expect -138.055 -27.125 + +tolerance 2.77777777778e-07 m +accept -138.06 -27.125 +expect -138.058731111 -27.1264766667 + +tolerance 2.77777777778e-07 m +accept -136.848525278 -28.0485269444 +expect -136.847222222 -28.05 + +tolerance 2.77777777778e-07 m +accept -137.848505556 -28.0485311111 +expect -137.847222222 -28.05 + +tolerance 2.77777777778e-07 m +accept -138.8484925 -28.0485188889 +expect -138.847222222 -28.05 + +tolerance 2.77777777778e-07 m +accept -139.848475278 -28.0485072222 +expect -139.847222222 -28.05 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4202 +inv + +step +init=epsg:4283 +-------------------------------------------------------------------------------- +tolerance 5.55555555556e-08 m +accept -115 -10.05 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -114.998744167 -11.0013594444 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -115 -12 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.04 -9 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.043867222 -9.00145666667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.05 -9 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.048867222 -9.00145666667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.053867222 -9.00145666667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.06 -9 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.038730833 -27.1264763889 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.045 -27.125 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.05 -27.125 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.048731111 -27.1264763889 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.055 -27.125 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.058731111 -27.1264766667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -136.847222222 -28.05 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -137.847222222 -28.05 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.847222222 -28.05 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -139.847222222 -28.05 +roundtrip 1000 + + diff --git a/test/gigs/5207.2.gie b/test/gigs/5207.2.gie deleted file mode 100644 index bc76504a..00000000 --- a/test/gigs/5207.2.gie +++ /dev/null @@ -1,456 +0,0 @@ --------------------------------------------------------------------------------- - -Test 5206, NADCON transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed. - --------------------------------------------------------------------------------- - - - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4267 +inv - +step +init=epsg:4269 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept -142 70 -expect -142.002804722 69.9998069444 - -tolerance 2.77777777778e-07 m -accept -141.997195278 70.0001930556 -expect -142 70 - -tolerance 2.77777777778e-07 m -accept -140.997219722 70.0001791667 -expect -141 70 - -tolerance 2.77777777778e-07 m -accept -140 70 -expect -140.002795278 69.9998280556 - -tolerance 2.77777777778e-07 m -accept -138.997199444 70.0001608333 -expect -139 70 - -tolerance 2.77777777778e-07 m -accept -138 70 -expect -138.002957222 69.9998755556 - -tolerance 2.77777777778e-07 m -accept -134.997081944 70.0000463889 -expect -135 70 - -tolerance 2.77777777778e-07 m -accept -130 70 -expect -130.002737222 70.0000533333 - -tolerance 2.77777777778e-07 m -accept -128.000734722 69.9998663889 -expect -128.003472222 70 - -tolerance 2.77777777778e-07 m -accept -128 70 -expect -128.002737778 70.0001336111 - -tolerance 2.77777777778e-07 m -accept -125.997388333 69.9997780556 -expect -126 70 - -tolerance 2.77777777778e-07 m -accept -88.005575 70 -expect -88.0056825 70.0006094444 - -tolerance 2.77777777778e-07 m -accept -88 70 -expect -88.0001072222 70.0006091667 - -tolerance 2.77777777778e-07 m -accept -87.9998933333 69.9993908333 -expect -88 70 - -tolerance 2.77777777778e-07 m -accept -87.6610917 70 -expect -87.6611716667 70.0006033333 - -tolerance 2.77777777778e-07 m -accept -112.165693333 51.0169555556 -expect -112.166607778 51.0170094444 - -tolerance 2.77777777778e-07 m -accept -111.999093889 50.9999491667 -expect -112 51 - -tolerance 2.77777777778e-07 m -accept -111.999095278 49.9999597222 -expect -112 49.9999997222 - -tolerance 2.77777777778e-07 m -accept -112 49.9999997222 -expect -112.000904639 50.0000396667 - -tolerance 2.77777777778e-07 m -accept -111.9991175 49.0000063889 -expect -112 49 - -tolerance 2.77777777778e-07 m -accept -112 48 -expect -112.0008525 47.9999888889 - -tolerance 2.77777777778e-07 m -accept -111.999174722 47.0000097222 -expect -112 47 - -tolerance 2.77777777778e-07 m -accept -112 47 -expect -112.000825278 46.9999902778 - -tolerance 2.77777777778e-07 m -accept -130.517746667 51 -expect -130.519401944 50.9997713889 - -tolerance 2.77777777778e-07 m -accept -130.516091667 51.0002286111 -expect -130.517746667 51 - -tolerance 2.77777777778e-07 m -accept -130.516041667 50.0002461111 -expect -130.517746667 49.9999997222 - -tolerance 2.77777777778e-07 m -accept -130.517746667 49.9999997222 -expect -130.519451667 49.9997533333 - -tolerance 2.77777777778e-07 m -accept -130.516067222 49.0002825 -expect -130.517746667 49 - -tolerance 2.77777777778e-07 m -accept -130.517746667 48 -expect -130.519391111 47.9996794444 - -tolerance 2.77777777778e-07 m -accept -130.516146944 47.0003611111 -expect -130.517746667 47 - -tolerance 2.77777777778e-07 m -accept -130.517746667 47 -expect -130.519346389 46.9996386111 - -tolerance 2.77777777778e-07 m -accept -132.998205278 48.1170263889 -expect -133 48.1166666667 - -tolerance 2.77777777778e-07 m -accept -131.455555556 48.1166666667 -expect -131.457260278 48.1163330556 - -tolerance 2.77777777778e-07 m -accept -130.516098056 48.1169827778 -expect -130.517746667 48.1166666667 - -tolerance 2.77777777778e-07 m -accept -128.455555556 48.1166666667 -expect -128.457086944 48.1163927778 - -tolerance 2.77777777778e-07 m -accept -128.5444 48.1167066 -expect -128.545936111 48.1164311111 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4269 +inv - +step +init=epsg:4267 --------------------------------------------------------------------------------- -tolerance 2.77777777778e-07 m -accept -142.002804722 69.9998069444 -expect -142 70 - -tolerance 2.77777777778e-07 m -accept -142 70 -expect -141.997195278 70.0001930556 - -tolerance 2.77777777778e-07 m -accept -141 70 -expect -140.997219722 70.0001791667 - -tolerance 2.77777777778e-07 m -accept -140.002795278 69.9998280556 -expect -140 70 - -tolerance 2.77777777778e-07 m -accept -139 70 -expect -138.997199444 70.0001608333 - -tolerance 2.77777777778e-07 m -accept -138.002957222 69.9998755556 -expect -138 70 - -tolerance 2.77777777778e-07 m -accept -135 70 -expect -134.997081944 70.0000463889 - -tolerance 2.77777777778e-07 m -accept -130.002737222 70.0000533333 -expect -130 70 - -tolerance 2.77777777778e-07 m -accept -128.003472222 70 -expect -128.000734722 69.9998663889 - -tolerance 2.77777777778e-07 m -accept -128.002737778 70.0001336111 -expect -128 70 - -tolerance 2.77777777778e-07 m -accept -126 70 -expect -125.997388333 69.9997780556 - -tolerance 2.77777777778e-07 m -accept -88.0056825 70.0006094444 -expect -88.005575 70 - -tolerance 2.77777777778e-07 m -accept -88.0001072222 70.0006091667 -expect -88 70 - -tolerance 2.77777777778e-07 m -accept -88 70 -expect -87.9998933333 69.9993908333 - -tolerance 2.77777777778e-07 m -accept -87.6611716667 70.0006033333 -expect -87.6610917 70 - -tolerance 2.77777777778e-07 m -accept -112.166607778 51.0170094444 -expect -112.165693333 51.0169555556 - -tolerance 2.77777777778e-07 m -accept -112 51 -expect -111.999093889 50.9999491667 - -tolerance 2.77777777778e-07 m -accept -112 49.9999997222 -expect -111.999095278 49.9999597222 - -tolerance 2.77777777778e-07 m -accept -112.000904639 50.0000396667 -expect -112 49.9999997222 - -tolerance 2.77777777778e-07 m -accept -112 49 -expect -111.9991175 49.0000063889 - -tolerance 2.77777777778e-07 m -accept -112.0008525 47.9999888889 -expect -112 48 - -tolerance 2.77777777778e-07 m -accept -112 47 -expect -111.999174722 47.0000097222 - -tolerance 2.77777777778e-07 m -accept -112.000825278 46.9999902778 -expect -112 47 - -tolerance 2.77777777778e-07 m -accept -130.519401944 50.9997713889 -expect -130.517746667 51 - -tolerance 2.77777777778e-07 m -accept -130.517746667 51 -expect -130.516091667 51.0002286111 - -tolerance 2.77777777778e-07 m -accept -130.517746667 49.9999997222 -expect -130.516041667 50.0002461111 - -tolerance 2.77777777778e-07 m -accept -130.519451667 49.9997533333 -expect -130.517746667 49.9999997222 - -tolerance 2.77777777778e-07 m -accept -130.517746667 49 -expect -130.516067222 49.0002825 - -tolerance 2.77777777778e-07 m -accept -130.519391111 47.9996794444 -expect -130.517746667 48 - -tolerance 2.77777777778e-07 m -accept -130.517746667 47 -expect -130.516146944 47.0003611111 - -tolerance 2.77777777778e-07 m -accept -130.519346389 46.9996386111 -expect -130.517746667 47 - -tolerance 2.77777777778e-07 m -accept -133 48.1166666667 -expect -132.998205278 48.1170263889 - -tolerance 2.77777777778e-07 m -accept -131.457260278 48.1163330556 -expect -131.455555556 48.1166666667 - -tolerance 2.77777777778e-07 m -accept -130.517746667 48.1166666667 -expect -130.516098056 48.1169827778 - -tolerance 2.77777777778e-07 m -accept -128.457086944 48.1163927778 -expect -128.455555556 48.1166666667 - -tolerance 2.77777777778e-07 m -accept -128.545936111 48.1164311111 -expect -128.5444 48.1167066 - --------------------------------------------------------------------------------- -operation +proj=pipeline - +step +init=epsg:4267 +inv - +step +init=epsg:4269 --------------------------------------------------------------------------------- -tolerance 5.55555555556e-08 m -accept -142 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -141.997195278 70.0001930556 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -140.997219722 70.0001791667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -140 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138.997199444 70.0001608333 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -138 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -134.997081944 70.0000463889 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128.000734722 69.9998663889 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -125.997388333 69.9997780556 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -88.005575 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -88 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -87.9998933333 69.9993908333 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -87.6610917 70 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112.165693333 51.0169555556 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.999093889 50.9999491667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.999095278 49.9999597222 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 49.9999997222 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.9991175 49.0000063889 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 48 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -111.999174722 47.0000097222 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -112 47 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.517746667 51 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.516091667 51.0002286111 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.516041667 50.0002461111 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.517746667 49.9999997222 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.516067222 49.0002825 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.517746667 48 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.516146944 47.0003611111 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.517746667 47 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -132.998205278 48.1170263889 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -131.455555556 48.1166666667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -130.516098056 48.1169827778 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128.455555556 48.1166666667 -roundtrip 1000 - -tolerance 5.55555555556e-08 m -accept -128.5444 48.1167066 -roundtrip 1000 - - diff --git a/test/gigs/5207.2.gie_failing b/test/gigs/5207.2.gie_failing new file mode 100644 index 00000000..bc76504a --- /dev/null +++ b/test/gigs/5207.2.gie_failing @@ -0,0 +1,456 @@ +-------------------------------------------------------------------------------- + +Test 5206, NADCON transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed. + +-------------------------------------------------------------------------------- + + + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4267 +inv + +step +init=epsg:4269 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept -142 70 +expect -142.002804722 69.9998069444 + +tolerance 2.77777777778e-07 m +accept -141.997195278 70.0001930556 +expect -142 70 + +tolerance 2.77777777778e-07 m +accept -140.997219722 70.0001791667 +expect -141 70 + +tolerance 2.77777777778e-07 m +accept -140 70 +expect -140.002795278 69.9998280556 + +tolerance 2.77777777778e-07 m +accept -138.997199444 70.0001608333 +expect -139 70 + +tolerance 2.77777777778e-07 m +accept -138 70 +expect -138.002957222 69.9998755556 + +tolerance 2.77777777778e-07 m +accept -134.997081944 70.0000463889 +expect -135 70 + +tolerance 2.77777777778e-07 m +accept -130 70 +expect -130.002737222 70.0000533333 + +tolerance 2.77777777778e-07 m +accept -128.000734722 69.9998663889 +expect -128.003472222 70 + +tolerance 2.77777777778e-07 m +accept -128 70 +expect -128.002737778 70.0001336111 + +tolerance 2.77777777778e-07 m +accept -125.997388333 69.9997780556 +expect -126 70 + +tolerance 2.77777777778e-07 m +accept -88.005575 70 +expect -88.0056825 70.0006094444 + +tolerance 2.77777777778e-07 m +accept -88 70 +expect -88.0001072222 70.0006091667 + +tolerance 2.77777777778e-07 m +accept -87.9998933333 69.9993908333 +expect -88 70 + +tolerance 2.77777777778e-07 m +accept -87.6610917 70 +expect -87.6611716667 70.0006033333 + +tolerance 2.77777777778e-07 m +accept -112.165693333 51.0169555556 +expect -112.166607778 51.0170094444 + +tolerance 2.77777777778e-07 m +accept -111.999093889 50.9999491667 +expect -112 51 + +tolerance 2.77777777778e-07 m +accept -111.999095278 49.9999597222 +expect -112 49.9999997222 + +tolerance 2.77777777778e-07 m +accept -112 49.9999997222 +expect -112.000904639 50.0000396667 + +tolerance 2.77777777778e-07 m +accept -111.9991175 49.0000063889 +expect -112 49 + +tolerance 2.77777777778e-07 m +accept -112 48 +expect -112.0008525 47.9999888889 + +tolerance 2.77777777778e-07 m +accept -111.999174722 47.0000097222 +expect -112 47 + +tolerance 2.77777777778e-07 m +accept -112 47 +expect -112.000825278 46.9999902778 + +tolerance 2.77777777778e-07 m +accept -130.517746667 51 +expect -130.519401944 50.9997713889 + +tolerance 2.77777777778e-07 m +accept -130.516091667 51.0002286111 +expect -130.517746667 51 + +tolerance 2.77777777778e-07 m +accept -130.516041667 50.0002461111 +expect -130.517746667 49.9999997222 + +tolerance 2.77777777778e-07 m +accept -130.517746667 49.9999997222 +expect -130.519451667 49.9997533333 + +tolerance 2.77777777778e-07 m +accept -130.516067222 49.0002825 +expect -130.517746667 49 + +tolerance 2.77777777778e-07 m +accept -130.517746667 48 +expect -130.519391111 47.9996794444 + +tolerance 2.77777777778e-07 m +accept -130.516146944 47.0003611111 +expect -130.517746667 47 + +tolerance 2.77777777778e-07 m +accept -130.517746667 47 +expect -130.519346389 46.9996386111 + +tolerance 2.77777777778e-07 m +accept -132.998205278 48.1170263889 +expect -133 48.1166666667 + +tolerance 2.77777777778e-07 m +accept -131.455555556 48.1166666667 +expect -131.457260278 48.1163330556 + +tolerance 2.77777777778e-07 m +accept -130.516098056 48.1169827778 +expect -130.517746667 48.1166666667 + +tolerance 2.77777777778e-07 m +accept -128.455555556 48.1166666667 +expect -128.457086944 48.1163927778 + +tolerance 2.77777777778e-07 m +accept -128.5444 48.1167066 +expect -128.545936111 48.1164311111 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4269 +inv + +step +init=epsg:4267 +-------------------------------------------------------------------------------- +tolerance 2.77777777778e-07 m +accept -142.002804722 69.9998069444 +expect -142 70 + +tolerance 2.77777777778e-07 m +accept -142 70 +expect -141.997195278 70.0001930556 + +tolerance 2.77777777778e-07 m +accept -141 70 +expect -140.997219722 70.0001791667 + +tolerance 2.77777777778e-07 m +accept -140.002795278 69.9998280556 +expect -140 70 + +tolerance 2.77777777778e-07 m +accept -139 70 +expect -138.997199444 70.0001608333 + +tolerance 2.77777777778e-07 m +accept -138.002957222 69.9998755556 +expect -138 70 + +tolerance 2.77777777778e-07 m +accept -135 70 +expect -134.997081944 70.0000463889 + +tolerance 2.77777777778e-07 m +accept -130.002737222 70.0000533333 +expect -130 70 + +tolerance 2.77777777778e-07 m +accept -128.003472222 70 +expect -128.000734722 69.9998663889 + +tolerance 2.77777777778e-07 m +accept -128.002737778 70.0001336111 +expect -128 70 + +tolerance 2.77777777778e-07 m +accept -126 70 +expect -125.997388333 69.9997780556 + +tolerance 2.77777777778e-07 m +accept -88.0056825 70.0006094444 +expect -88.005575 70 + +tolerance 2.77777777778e-07 m +accept -88.0001072222 70.0006091667 +expect -88 70 + +tolerance 2.77777777778e-07 m +accept -88 70 +expect -87.9998933333 69.9993908333 + +tolerance 2.77777777778e-07 m +accept -87.6611716667 70.0006033333 +expect -87.6610917 70 + +tolerance 2.77777777778e-07 m +accept -112.166607778 51.0170094444 +expect -112.165693333 51.0169555556 + +tolerance 2.77777777778e-07 m +accept -112 51 +expect -111.999093889 50.9999491667 + +tolerance 2.77777777778e-07 m +accept -112 49.9999997222 +expect -111.999095278 49.9999597222 + +tolerance 2.77777777778e-07 m +accept -112.000904639 50.0000396667 +expect -112 49.9999997222 + +tolerance 2.77777777778e-07 m +accept -112 49 +expect -111.9991175 49.0000063889 + +tolerance 2.77777777778e-07 m +accept -112.0008525 47.9999888889 +expect -112 48 + +tolerance 2.77777777778e-07 m +accept -112 47 +expect -111.999174722 47.0000097222 + +tolerance 2.77777777778e-07 m +accept -112.000825278 46.9999902778 +expect -112 47 + +tolerance 2.77777777778e-07 m +accept -130.519401944 50.9997713889 +expect -130.517746667 51 + +tolerance 2.77777777778e-07 m +accept -130.517746667 51 +expect -130.516091667 51.0002286111 + +tolerance 2.77777777778e-07 m +accept -130.517746667 49.9999997222 +expect -130.516041667 50.0002461111 + +tolerance 2.77777777778e-07 m +accept -130.519451667 49.9997533333 +expect -130.517746667 49.9999997222 + +tolerance 2.77777777778e-07 m +accept -130.517746667 49 +expect -130.516067222 49.0002825 + +tolerance 2.77777777778e-07 m +accept -130.519391111 47.9996794444 +expect -130.517746667 48 + +tolerance 2.77777777778e-07 m +accept -130.517746667 47 +expect -130.516146944 47.0003611111 + +tolerance 2.77777777778e-07 m +accept -130.519346389 46.9996386111 +expect -130.517746667 47 + +tolerance 2.77777777778e-07 m +accept -133 48.1166666667 +expect -132.998205278 48.1170263889 + +tolerance 2.77777777778e-07 m +accept -131.457260278 48.1163330556 +expect -131.455555556 48.1166666667 + +tolerance 2.77777777778e-07 m +accept -130.517746667 48.1166666667 +expect -130.516098056 48.1169827778 + +tolerance 2.77777777778e-07 m +accept -128.457086944 48.1163927778 +expect -128.455555556 48.1166666667 + +tolerance 2.77777777778e-07 m +accept -128.545936111 48.1164311111 +expect -128.5444 48.1167066 + +-------------------------------------------------------------------------------- +operation +proj=pipeline + +step +init=epsg:4267 +inv + +step +init=epsg:4269 +-------------------------------------------------------------------------------- +tolerance 5.55555555556e-08 m +accept -142 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -141.997195278 70.0001930556 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -140.997219722 70.0001791667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -140 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138.997199444 70.0001608333 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -138 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -134.997081944 70.0000463889 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128.000734722 69.9998663889 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -125.997388333 69.9997780556 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -88.005575 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -88 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -87.9998933333 69.9993908333 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -87.6610917 70 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112.165693333 51.0169555556 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.999093889 50.9999491667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.999095278 49.9999597222 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 49.9999997222 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.9991175 49.0000063889 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 48 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -111.999174722 47.0000097222 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -112 47 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.517746667 51 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.516091667 51.0002286111 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.516041667 50.0002461111 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.517746667 49.9999997222 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.516067222 49.0002825 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.517746667 48 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.516146944 47.0003611111 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.517746667 47 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -132.998205278 48.1170263889 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -131.455555556 48.1166666667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -130.516098056 48.1169827778 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128.455555556 48.1166666667 +roundtrip 1000 + +tolerance 5.55555555556e-08 m +accept -128.5444 48.1167066 +roundtrip 1000 + + diff --git a/test/gigs/Makefile.am b/test/gigs/Makefile.am new file mode 100644 index 00000000..4840c272 --- /dev/null +++ b/test/gigs/Makefile.am @@ -0,0 +1,18 @@ +EXTRA_DIST = \ + 5101.1-jhs.gie \ + 5101.2-jhs.gie \ + 5101.3-jhs.gie \ + 5101.4-jhs-etmerc.gie \ + 5102.1.gie \ + 5103.1.gie \ + 5103.2.gie \ + 5103.3.gie \ + 5105.2.gie \ + 5106.gie \ + 5107.gie \ + 5109.gie \ + 5111.1.gie \ + 5112.gie \ + 5113.gie \ + 5201.gie \ + 5208.gie -- cgit v1.2.3 From d723391dbc8f3f06e40b8b57edbc85df99f86bd6 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Fri, 2 Feb 2018 11:39:36 +0100 Subject: Remove GIGS Python test suite. All the GIGS JSON files have been converted to the gie format and are now covered by running "make check". Therefore we no longer need the Python setup. Removing it from the Travis CI setup should speed up the test execution time a bit. --- test/gigs/5101.1-jhs.json | 63 ----- test/gigs/5101.2-jhs.json | 32 --- test/gigs/5101.3-jhs.json | 33 --- test/gigs/5101.4-jhs-etmerc.json | 31 --- test/gigs/5101.4-jhs.json | 33 --- test/gigs/5102.1.json | 29 --- test/gigs/5102.2.json | 29 --- test/gigs/5103.1.json | 29 --- test/gigs/5103.2.json | 21 -- test/gigs/5103.3.json | 20 -- test/gigs/5104.json | 30 --- test/gigs/5105.1.json | 26 -- test/gigs/5105.2.json | 23 -- test/gigs/5106.json | 35 --- test/gigs/5107.json | 26 -- test/gigs/5108.json | 26 -- test/gigs/5109.json | 23 -- test/gigs/5110.json | 12 - test/gigs/5111.1.json | 45 ---- test/gigs/5111.2.json | 44 ---- test/gigs/5112.json | 15 -- test/gigs/5113.json | 12 - test/gigs/5201.json | 39 --- test/gigs/5203.1.json | 25 -- test/gigs/5204.1.json | 25 -- test/gigs/5205.1.json | 25 -- test/gigs/5206.json | 54 ---- test/gigs/5207.1.json | 30 --- test/gigs/5207.2.json | 47 ---- test/gigs/5208.json | 25 -- test/gigs/TESTNOTES.md | 225 ----------------- test/gigs/convert_to_gie.py | 69 ----- test/gigs/test_json.py | 528 --------------------------------------- 33 files changed, 1729 deletions(-) delete mode 100644 test/gigs/5101.1-jhs.json delete mode 100644 test/gigs/5101.2-jhs.json delete mode 100644 test/gigs/5101.3-jhs.json delete mode 100644 test/gigs/5101.4-jhs-etmerc.json delete mode 100644 test/gigs/5101.4-jhs.json delete mode 100644 test/gigs/5102.1.json delete mode 100644 test/gigs/5102.2.json delete mode 100644 test/gigs/5103.1.json delete mode 100644 test/gigs/5103.2.json delete mode 100644 test/gigs/5103.3.json delete mode 100644 test/gigs/5104.json delete mode 100644 test/gigs/5105.1.json delete mode 100644 test/gigs/5105.2.json delete mode 100644 test/gigs/5106.json delete mode 100644 test/gigs/5107.json delete mode 100644 test/gigs/5108.json delete mode 100644 test/gigs/5109.json delete mode 100644 test/gigs/5110.json delete mode 100644 test/gigs/5111.1.json delete mode 100644 test/gigs/5111.2.json delete mode 100644 test/gigs/5112.json delete mode 100644 test/gigs/5113.json delete mode 100644 test/gigs/5201.json delete mode 100644 test/gigs/5203.1.json delete mode 100644 test/gigs/5204.1.json delete mode 100644 test/gigs/5205.1.json delete mode 100644 test/gigs/5206.json delete mode 100644 test/gigs/5207.1.json delete mode 100644 test/gigs/5207.2.json delete mode 100644 test/gigs/5208.json delete mode 100644 test/gigs/TESTNOTES.md delete mode 100644 test/gigs/convert_to_gie.py delete mode 100644 test/gigs/test_json.py (limited to 'test') diff --git a/test/gigs/5101.1-jhs.json b/test/gigs/5101.1-jhs.json deleted file mode 100644 index 95624c62..00000000 --- a/test/gigs/5101.1-jhs.json +++ /dev/null @@ -1,63 +0,0 @@ -{ -"coordinates": [ - [[3, 80], [496813.178, 3358297.326]], - [[2.9999999, 60], [678711.584, 1134498.83]], - [[3, 49], [765648.501, -87944.74]], - [[3.0000001, 40], [826893.845, -1087710.121]], - [[3, 20], [923539.353, -3308151.625]], - [[3, 0], [957087.829, -5527462.686]], - [[3, -20], [923539.353, -7746773.748]], - [[3, -40], [826893.845, -9967215.251]], - [[3, -60], [678711.584, -12189424.202]], - [[3, -80], [496813.178, -14413222.698]], - [[-2, 80], [400000, 3354134.429]], - [[-2, 60], [400000, 1123956.966]], - [[-2, 49], [400000, -100000]], - [[-2, 40], [400000, -1099699.834]], - [[-2, 20], [400000, -3315978.565]], - [[-2, 0], [400000, -5527462.686]], - [[-2, -20], [400000, -7738946.807]], - [[-2, -40], [400000, -9955225.538]], - [[-2, -60], [400000, -12178882.338]], - [[-2, -80], [400000, -14409059.801]], - [[-5, 80], [341867.711, 3355633.571]], - [[-5, 60], [232704.966, 1127751.264]], - [[-5, 49], [180586.02, -95662.911]], - [[-5, 40], [143900.026, -1095387.991]], - [[-5, 20], [86073.28, -3313165.843]], - [[-5, 0], [66021.018, -5527462.686]], - [[-5, -20], [86073.28, -7741759.529]], - [[-5, -40], [143900.026, -9959537.381]], - [[-5, -60], [232704.966, -12182676.637]], - [[-5, -80], [341867.711, -14410558.943]], - [[-7.5559037, 49.7661327], [0, 0]], - [[-5, 0], [66021.018, -5527462.686]], - [[-4, 0], [177404.277, -5527462.686]], - [[-3, 0], [288719.208, -5527462.686]], - [[-2, 0], [400000.0, -5527462.686]], - [[-1, 0], [511280.792, -5527462.686]], - [[0, 0], [622595.723, -5527462.686]], - [[1, 0], [733978.982, -5527462.686]], - [[2, 0], [845464.865, -5527462.686]], - [[3, 0], [957087.829, -5527462.686]], - [[4, 0], [1068882.539, -5527462.686]], - [[5, 0], [1180883.933, -5527462.686]], - [[6, 0], [1293127.266, -5527462.686]], - [[7, 0], [1405648.179, -5527462.686]], - [[8, 0], [1518482.747, -5527462.686]], - [[-5, 60], [232704.966, 1127751.264]], - [[-4, 60], [288455.816, 1125643.213]], - [[-3, 60], [344223.662, 1124378.512]], - [[-2, 60], [400000, 1123956.966]], - [[-1, 60], [455776.338, 1124378.512]], - [[0, 60], [511544.184, 1125643.213]], - [[1, 60], [567295.034, 1127751.264]], - [[2, 60], [623020.357, 1130702.987]], - [[3, 60], [678711.584, 1134498.83]], [[4.0, 60.0], [734360.093, 1139139.367]], [[5.0, 60.0], [789957.197, 1144625.296]], [[6.0, 60.0], [845494.132, 1150957.434]], [[7.0, 60.0], [900962.042, 1158136.713]], [[8.0, 60.0], - [956351.967, 1166164.18]] -], -"description": "Test 5101 (part 1), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula", -"projections": ["+init=epsg:4326", "+proj=etmerc +lat_0=49 +lon_0=-2 +k_0=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=WGS84 +units=m +no_def"], -"tests": [{"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5101.2-jhs.json b/test/gigs/5101.2-jhs.json deleted file mode 100644 index c03929ab..00000000 --- a/test/gigs/5101.2-jhs.json +++ /dev/null @@ -1,32 +0,0 @@ -{ -"coordinates": [ - [[-2.0, 80.0], [403186.945, 8885748.708]], - [[-2.0, 60.0], [221288.77, 6661953.041]], - [[-2.0, 40.0], [73106.698, 4439746.917]], - [[-2.0, 20.0], [-23538.687, 2219308.238]], - [[-2.0, 0.0], [-57087.12, 0.0]], - [[-2.0, -20.0], [-23538.687, -2219308.238]], - [[-2.0, -40.0], [73106.698, -4439746.917]], - [[-2.0, -60.0], [221288.77, -6661953.041]], - [[-2.0, -80.0], [403186.945, -8885748.708]], - [[-5.0, 60.0], [54506.435, 6678411.623]], - [[-4.0, 60.0], [110043.299, 6672079.494]], - [[-3.0, 60.0], [165640.332, 6666593.572]], - [[-2.0, 60.0], [221288.77, 6661953.041]], - [[-1.0, 60.0], [276979.926, 6658157.202]], - [[0.0, 60.0], [332705.179, 6655205.484]], - [[1.0, 60.0], [388455.958, 6653097.435]], - [[2.0, 60.0], [444223.733, 6651832.735]], - [[3.0, 60.0], [500000.0, 6651411.19]], - [[4.0, 60.0], [555776.267, 6651832.735]], - [[5.0, 60.0], [611544.042, 6653097.435]], - [[6.0, 60.0], [667294.821, 6655205.484]], - [[7.0, 60.0], [723020.074, 6658157.202]], - [[8.0, 60.0], [778711.23, 6661953.041]] - ], -"description": "Test 5101 (part 2), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula", -"projections": ["+init=epsg:4326", "+init=epsg:32631"], -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5101.3-jhs.json b/test/gigs/5101.3-jhs.json deleted file mode 100644 index e7cc2dc3..00000000 --- a/test/gigs/5101.3-jhs.json +++ /dev/null @@ -1,33 +0,0 @@ -{ -"coordinates": [ - [[146, 80], [596813.055, 18885748.71]], - [[146, 60], [778711.23, 16661953.04]], - [[146, 40], [926893.302, 14439746.92]], - [[146, 20], [1023538.687, 12219308.24]], - [[146, 0], [1057087.12, 10000000.0]], - [[146, -20], [1023538.687, 7780691.762]], - [[146, -40], [926893.302, 5560253.083]], - [[146, -60], [778711.23, 3338046.96]], - [[146, -80], [596813.055, 1114251.292]], - [[136, -60], [221288.77, 3338046.96]], - [[137, -60], [276979.926, 3341842.798]], - [[138, -60], [332705.179, 3344794.516]], - [[139, -60], [388455.958, 3346902.565]], - [[140, -60], [444223.733, 3348167.265]], - [[141, -60], [500000.0, 3348588.81]], - [[142, -60], [555776.267, 3348167.265]], - [[143, -60], [611544.042, 3346902.565]], - [[144, -60], [667294.821, 3344794.516]], - [[145, -60], [723020.074, 3341842.798]], - [[146, -60], [778711.23, 3338046.96]], - [[147, -60], [834359.668, 3333406.428]], - [[148, -60], [889956.701, 3327920.506]], - [[149, -60], [945493.565, 3321588.377]] - ], -"description": "Test 5101 (part 3), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula", -"projections": ["+init=epsg:4283", "+init=epsg:28354"], -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5101.4-jhs-etmerc.json b/test/gigs/5101.4-jhs-etmerc.json deleted file mode 100644 index 1775f750..00000000 --- a/test/gigs/5101.4-jhs-etmerc.json +++ /dev/null @@ -1,31 +0,0 @@ -{ -"coordinates": [ - [[-63.9993433, 80.0002644], [5422500.0, 18889800.0]], - [[-63.9998472, 60.0001191], [5276900.0, 16662800.0]], - [[-63.9997361, 40.0003081], [5158399.999, 14439199.99]], - [[-64.0004605, 19.9996448], [5081100.0, 12219300.0]], - [[-63.9996186, 0.0003092], [5054400.005, 10002000.0]], - [[-64.0004675, -19.9999283], [5081100.017, 7784599.993]], - [[-63.9997001, -39.9996924], [5158400.0, 5564800.0]], - [[-63.9998814, -60.0004008], [5276899.994, 3341099.995]], - [[-63.9991006, -79.9996521], [5422500.0, 1114200.0]], - [[-70.0002089, -40.000215], [4645300.113, 5524200.123]], - [[-69.0001441, -40.0002935], [4730900.0, 5533400.0]], - [[-67.9995333, -39.9996136], [4816500.043, 5541700.028]], - [[-66.9998073, -39.9999313], [4902000.0, 5548900.0]], - [[-65.9996522, -39.9995894], [4987500.009, 5555200.001]], - [[-64.9992796, -40.000411], [5073000.0, 5560400.0]], - [[-63.9997, -39.9996925], [5158400.01, 5564799.987]], - [[-62.9999842, -40.0002087], [5243800.0, 5568100.0]], - [[-62.0000778, -40.0001803], [5329199.995, 5570500.009]], - [[-61.0000574, -39.9996182], [5414600.0, 5572000.0]], - [[-60.0, -40.0003306], [5500000.0, 5572399.996]], - [[-58.9999426, -39.9996182], [5585400.0, 5572000.0]], - [[-57.9999222, -40.0001803], [5670800.005, 5570500.009]], - [[-57.0000158, -40.0002087], [5756200.0, 5568100.0]] - ], -"description": "Test 5101 (part 4), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula", -"projections": ["+init=epsg:4190", - "+proj=etmerc +lat_0=-90 +lon_0=-60 +k=1 +x_0=5500000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"], -"tests": [{"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5101.4-jhs.json b/test/gigs/5101.4-jhs.json deleted file mode 100644 index 81648735..00000000 --- a/test/gigs/5101.4-jhs.json +++ /dev/null @@ -1,33 +0,0 @@ -{ -"coordinates": [ - [[-63.9993433, 80.0002644], [5422500.0, 18889800.0]], - [[-63.9998472, 60.0001191], [5276900.0, 16662800.0]], - [[-63.9997361, 40.0003081], [5158399.999, 14439199.99]], - [[-64.0004605, 19.9996448], [5081100.0, 12219300.0]], - [[-63.9996186, 0.0003092], [5054400.005, 10002000.0]], - [[-64.0004675, -19.9999283], [5081100.017, 7784599.993]], - [[-63.9997001, -39.9996924], [5158400.0, 5564800.0]], - [[-63.9998814, -60.0004008], [5276899.994, 3341099.995]], - [[-63.9991006, -79.9996521], [5422500.0, 1114200.0]], - [[-70.0002089, -40.000215], [4645300.113, 5524200.123]], - [[-69.0001441, -40.0002935], [4730900.0, 5533400.0]], - [[-67.9995333, -39.9996136], [4816500.043, 5541700.028]], - [[-66.9998073, -39.9999313], [4902000.0, 5548900.0]], - [[-65.9996522, -39.9995894], [4987500.009, 5555200.001]], - [[-64.9992796, -40.000411], [5073000.0, 5560400.0]], - [[-63.9997, -39.9996925], [5158400.01, 5564799.987]], - [[-62.9999842, -40.0002087], [5243800.0, 5568100.0]], - [[-62.0000778, -40.0001803], [5329199.995, 5570500.009]], - [[-61.0000574, -39.9996182], [5414600.0, 5572000.0]], - [[-60, -40.0003306], [5500000.0, 5572399.996]], - [[-58.9999426, -39.9996182], [5585400.0, 5572000.0]], - [[-57.9999222, -40.0001803], [5670800.005, 5570500.009]], - [[-57.0000158, -40.0002087], [5756200.0, 5568100.0]] - ], -"description": "Test 5101 (part 4), Transverse Mercator, v2-0_2011-06-28, recommended JHS formula", -"projections": ["+init=epsg:4190", "+init=epsg:22175"], -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5102.1.json b/test/gigs/5102.1.json deleted file mode 100644 index 28f74538..00000000 --- a/test/gigs/5102.1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ -"coordinates": [ - [[5, 58], [760722.92, 3457368.68]], - [[5, 57], [764566.844, 3343948.93]], - [[5, 56], [768396.683, 3230944.812]], - [[5, 55], [772213.973, 3118310.947]], - [[5, 54], [776020.189, 3006003.839]], - [[5, 53], [779816.748, 2893981.68]], - [[4, 51], [717027.292, 2668695.784]], - [[4, 50], [719385.249, 2557252.841]], - [[4, 49], [721740.43, 2445941.161]], - [[4, 46.8], [726915.752, 2201342.519]], - [[3, 53], [644764.905, 2891124.195]], - [[4, 53], [712299.916, 2892123.369]], - [[5, 53], [779816.748, 2893981.68]], - [[6, 53], [847304.473, 2896698.827]], - [[7, 53], [914752.168, 2900274.371]], - [[8, 53], [982148.913, 2904707.734]], - [[9, 53], [1049483.8, 2909998.196]], - [[10, 53], [1116745.929, 2916144.902]], - [[11, 53], [1183924.412, 2923146.858]] - ], -"description": "Test 5102, Lambert Conic Conformal (1SP), v2-0_2011-06-28.", -"projections": ["+init=epsg:4230", "+init=epsg:2192"], -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5102.2.json b/test/gigs/5102.2.json deleted file mode 100644 index 3916733a..00000000 --- a/test/gigs/5102.2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ -"coordinates": [ - [[2.9586342556, 64.4444444444], [760724.023, 3457334.864]], - [[2.9586342556, 63.3333333333], [764567.882, 3343917.044]], - [[2.9586342556, 62.2222222222], [768397.648, 3230915.06]], - [[2.9586342556, 61.1111111111], [772214.859, 3118283.535]], - [[2.9586342556, 60], [776020.989, 3005978.979]], - [[2.9586342556, 58.8888888889], [779817.454, 2893959.584]], - [[1.8475231444, 56.6666666667], [717027.602, 2668679.866]], - [[1.8475231444, 55.5555555556], [719385.487, 2557240.347]], - [[1.8475231444, 54.4444444444], [721740.59, 2445932.319]], - [[1.8475231444, 52], [726915.726, 2201342.51838845]], - [[0.7364120333, 58.8888888889], [644765.081, 2891102.088]], - [[1.8475231444, 58.8888888889], [712300.356, 2892101.266]], - [[2.9586342556, 58.8888888889], [779817.454, 2893959.584]], - [[4.0697453667, 58.8888888889], [847305.444, 2896676.742]], - [[5.1808564778, 58.8888888889], [914753.403, 2900252.301]], - [[6.2919675889, 58.8888888889], [982150.413, 2904685.68]], - [[7.4030787, 58.8888888889], [1049485.565, 2909976.163]], - [[8.5141898111, 58.8888888889], [1116747.958, 2916122.894]], - [[9.6253009222, 58.8888888889], [1183926.705, 2923124.876]] - ], -"description": "Test 5102 (part 2), Lambert Conic Conformal (1SP), v2-0_2011-06-28.", -"projections": ["+init=epsg:4807", "+init=epsg:27572"], -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5103.1.json b/test/gigs/5103.1.json deleted file mode 100644 index e2fdf9a1..00000000 --- a/test/gigs/5103.1.json +++ /dev/null @@ -1,29 +0,0 @@ -{ -"coordinates": [ - [[5, 58], [187742.7, 969521.653]], - [[5, 57], [188698.877, 857277.135]], - [[5, 56], [189652.853, 745291.184]], - [[5, 55], [190604.967, 633523.672]], - [[5, 54], [191555.55, 521935.9]], - [[5, 53], [192504.921, 410490.433]], - [[5.3876389, 52.1561606], [219843.841, 316827.604]], - [[4, 51], [124202.936, 187756.876]], - [[4, 50], [123652.406, 76521.628]], - [[4, 49], [123101.889, -34711.068]], - [[3.3137281, 47.9752611], [71254.553, -148236.592]], - [[3, 53], [58108.966, 411155.591]], - [[4, 53], [125304.704, 410370.504]], - [[5, 53], [192504.921, 410490.433]], - [[6, 53], [259697.429, 411515.356]], - [[7, 53], [326870.04, 413445.087]], - [[8, 53], [394010.571, 416279.276]], - [[9, 53], [461106.844, 420017.408]], - [[10, 53], [528146.69, 424658.807]], - [[11, 53], [595117.95, 430202.63]] -], - -"description": "Test 5103 (part 1), Lambert Conic Conformal (2SP), v2-0_2011-06-28.", -"projections": ["+init=epsg:4313", "+init=epsg:31370"], -"tests": [ {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5103.2.json b/test/gigs/5103.2.json deleted file mode 100644 index c882393c..00000000 --- a/test/gigs/5103.2.json +++ /dev/null @@ -1,21 +0,0 @@ -{ -"coordinates": [ - [[-110, 49], [2003937.27, 6452491.7]], - [[-110, 47], [2016621.93, 5717728.61]], - [[-110, 45], [2029255.57, 4985920.56]], - [[-110, 43], [2041855.08, 4256089.74]], - [[-110, 41], [2054436.57, 3527302.73]], - [[-110, 41], [2054436.57, 3527302.73]], - [[-108, 41], [2606245.52, 3543182.55]], - [[-106, 41], [3157542.86, 3571757.39]], - [[-104, 41], [3708036.57, 3613012.12]], - [[-102, 41], [4257435.06, 3666924.89]] - ], -"description": "Test 5103 (part 2), Lambert Conic Conformal (2SP), v2-0_2011-06-28.", -"projections": ["+init=epsg:4152", "+init=epsg:2921"], - -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5103.3.json b/test/gigs/5103.3.json deleted file mode 100644 index 9a388af2..00000000 --- a/test/gigs/5103.3.json +++ /dev/null @@ -1,20 +0,0 @@ -{ -"coordinates": [ - [[-110, 49], [2003933.27, 6452478.8]], - [[-110, 47], [2016617.9, 5717717.18]], - [[-110, 45], [2029251.51, 4985910.59]], - [[-110, 43], [2041851.0, 4256081.23]], - [[-110, 41], [2054432.46, 3527295.67]], - [[-110, 41], [2054432.46, 3527295.67]], - [[-108, 41], [2606240.3, 3543175.46]], - [[-106, 41], [3157536.54, 3571750.25]], - [[-104, 41], [3708029.16, 3613004.9]], - [[-102, 41], [4257426.54, 3666917.56]] - ], -"description": "Test 5103 (part 3), Lambert Conic Conformal (2SP), v2-0_2011-06-28.", -"projections": ["+init=epsg:4152", "+init=epsg:3568"], -"tests": [ - {"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5104.json b/test/gigs/5104.json deleted file mode 100644 index 973f832f..00000000 --- a/test/gigs/5104.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"coordinates": [ - [[5, 58], [132023.27, 1114054.87]], - [[5, 57], [131405.466, 1002468.081]], - [[5, 56], [130792.264, 890981.281]], - [[5, 55], [130183.56, 779577.7]], - [[5, 54], [129579.26, 668240.58]], - [[5, 53], [128979.26, 556953.19]], - [[5.38763888888889, 52.1561605555556], [155000, 463000]], - [[4, 51], [57605.946, 335312.662]], - [[4, 50], [55502.306, 224086.514]], - [[4.0, 49.0], [53412.76, 112842.73]], - [[3.31372805555556, 47.9752611111111], [0, 0]], - [[3, 53], [-5253.06, 559535.55]], - [[4, 53], [61856.78, 557779.12]], - [[5, 53], [128979.26, 556953.19]], - [[6, 53], [196105.28, 557057.74]], - [[7, 53], [263225.72, 558092.77]], - [[8, 53], [330331.46, 560058.31]], - [[9, 53], [397413.385, 562954.436]], - [[10, 53], [464462.35, 566781.24]], - [[11, 53], [531469.2, 571538.84]] -], -"description": "Test 5104, Oblique stereographic, v2-0_2011-06-28.", -"projections": ["+init=epsg:4289", "+init=epsg:28992"], -"tests": [ - {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5105.1.json b/test/gigs/5105.1.json deleted file mode 100644 index 48b5a2fe..00000000 --- a/test/gigs/5105.1.json +++ /dev/null @@ -1,26 +0,0 @@ -{ -"coordinates": [ - [[117, 12], [807919.14, 1329535.33]], - [[117, 10], [808784.98, 1107678.47]], - [[117, 9], [809334.18, 996918.21]], - [[117, 8], [809939.3, 886240.18]], - [[116.8465522, 6.8784583], [793704.63, 762081.05]], - [[117, 6], [811253.3, 665041.27]], - [[117, 5], [811930.35, 554475.63]], - [[117, 4], [812599.58, 443902.71]], - [[115, 4], [590521.15, 442890.86]], - [[117, 3], [813245.13, 333300.13]], - [[117, 2], [813851.07, 222645.51]], - [[117.0, 1.0], [814401.38, 111916.45]], - [[109.6858208, -0.0001733], [0, 0]], - [[123, 6], [1475669.28, 673118.57]], - [[122, 6], [1364854.86, 671146.25]], - [[121, 6], [1254086.17, 669446.25]], [[120.0, 6.0], [1143352.6, 668002.07]], [[119.0, 6.0], [1032643.31, 666797.35]], [[118.0, 6.0], [921947.29, 665815.82]], [[117.0, 6.0], [811253.3, 665041.27]], [[116.0, 6.0], [700549.97, 664457.59]], [[115.0, 6.0], [589825.71, 664048.72]], - [[114, 6], [479068.802, 663798.63]] -], -"description": "Test 5105 (part 1), Oblique Mercator (variant B), v2-0_2011-06-28.", -"projections": ["+init=epsg:4742", - "+proj=somerc +lat_0=4 +lonc=115 +alpha=53.31580995 +k=0.99984 +x_0=0 +y_0=0 +no_uoff +gamma=53.13010236111111 +ellps=GRS80 +units=m +no_defs"], -"tests": [{"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5105.2.json b/test/gigs/5105.2.json deleted file mode 100644 index d811108d..00000000 --- a/test/gigs/5105.2.json +++ /dev/null @@ -1,23 +0,0 @@ -{ -"coordinates": [ - [[16, 48.5], [424714.235, 355124.6]], - [[17.2, 48.0], [512056.188, 296756.716]], - [[17.582650555556, 47.636134722222], [539847.765, 255701.086]], - [[19.048571666667, 47.144393611111], [650000, 200000]], - [[19.223429444445, 46.875668333333], [663329.053, 170142.318]], - [[20.135740555556, 46.370301111111], [733651.455, 114532.099]], - [[21.4, 45.7], [833148.855, 42191.482]], - [[22.3, 49.3], [886565.935, 444656.613]], - [[21.294198611111, 48.489974722222], [815999.993, 351999.998]], - [[19.223429444445, 46.875668333333], [663329.053, 170142.318]], - [[17.619153611111, 46.068746388889], [539403.958, 81440.103]], - [[16.36, 45.5], [439836.709, 20816.456]] -], - -"description": "Test 5105 (part 2), Oblique Mercator (variant B), v2-0_2011-06-28.", -"projections": ["+init=epsg:4237", "+init=epsg:23700"], -"tests": [ - {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5106.json b/test/gigs/5106.json deleted file mode 100644 index cc741478..00000000 --- a/test/gigs/5106.json +++ /dev/null @@ -1,35 +0,0 @@ -{ -"coordinates": [ - [[117, 12], [807919.144, 1329535.334]], - [[117, 10], [808784.981, 1107678.473]], - [[117, 9], [809334.177, 996918.212]], - [[117, 8], [809939.302, 886240.183]], - [[116.8465522222222222224906494, 6.878458333333333334122825262], [793704.631, 762081.047]], - [[117, 6], [811253.303, 665041.265]], - [[117, 5], [811930.345, 554475.627]], - [[117, 4], [812599.582, 443902.706]], - [[115, 4], [590521.147, 442890.861]], - [[117, 3], [813245.133, 333300.13]], - [[117, 2], [813851.067, 222645.511]], - [[117, 1], [814401.375, 111916.452]], - [[109.6858208333333333333530706, -0.0001733333333333333330866171056], [0, 0]], - [[123, 6], [1475669.281, 673118.573]], - [[122, 6], [1364854.862, 671146.254]], - [[121, 6], [1254086.173, 669446.249]], - [[120, 6], [1143352.598, 668002.074]], - [[119, 6], [1032643.312, 666797.354]], - [[118, 6], [921947.286, 665815.815]], - [[117, 6], [811253.303, 665041.265]], - [[116, 6], [700549.965, 664457.586]], - [[115, 6], [589825.706, 664048.715]], - [[114, 6], [479068.802, 663798.63]] -], - -"description": "Test 5106, Hotine Oblique Mercator (variant A), v2-0_2011-06-28.", - -"projections": ["+init=epsg:4742", "+init=epsg:3376"], -"tests": [ - {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5107.json b/test/gigs/5107.json deleted file mode 100644 index 58440028..00000000 --- a/test/gigs/5107.json +++ /dev/null @@ -1,26 +0,0 @@ -{ -"projections": [ - "+init=epsg:4674", - "+proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs " -], -"tests": [ - {"type": "conversion", "tolerances": [5.555555555555555e-07, 0.05]}, - {"type": "roundtrip", "times": 1000, "tolerances": [5.555555555555556e-08, 0.006]} - ], -"coordinates": [ - [[-54, 0], [5000000.0, 10000000.0]], - [[-45, 6], [5996378.70981775, 10671650.0559245]], - [[-45, 0], [6001875.41713946, 10000000.0]], - [[-45, -6], [5996378.70981775, 9328349.94407546]], - [[-41, -13], [6409689.58687533, 8526306.26193173]], - [[-38, -20], [6671808.91962898, 7707735.72987798]], - [[-37, -24], [6725584.49172815, 7240461.99578364]], - [[-36, -30], [6729619.73995286, 6543762.57643596]], - [[-57, -30], [4710574.22343996, 6676097.81116979]], - [[-54, -29.3674766667], [5000000.0, 6750000.0]], - [[-47, -27.5], [5691318.14688622, 6937461.05067494]], - [[-37, -24], [6725584.49172815, 7240461.99578364]], - [[-30, 22.5], [7458947.7013321, 7313327.31691123]] -], -"description": "Test 5107, American Polyconic, v2-0_2011-06-28." -} diff --git a/test/gigs/5108.json b/test/gigs/5108.json deleted file mode 100644 index 2ff48e23..00000000 --- a/test/gigs/5108.json +++ /dev/null @@ -1,26 +0,0 @@ -{ -"coordinates": [ - [[106, 10], [267186.017, 881108.902]], - [[106, 9], [268006.024, 770398.186]], - [[106, 8], [268740.351, 659692.254]], - [[106, 7], [269388.786, 548990.588]], - [[106, 6], [269951.141, 438292.666]], - [[106, 5], [270427.255, 327597.962]], - [[106, 4], [270816.99, 216905.945]], - [[106, 3], [271120.234, 106216.081]], - [[103.561065778024, 2.04246768119792], [0, 0]], - [[103.640259839629, 1.8277648438075], [8813.252, -23740.095]], - [[106, 1], [271466.923, -115159.332]], - [[109, 5], [603116.703, 329668.599]], - [[108, 5], [492221.308, 328807.336]], - [[107, 5], [381324.74, 328117.472]], - [[106, 5], [270427.255, 327597.962]], - [[105, 5], [159529.111, 327248.012]], - [[104, 5], [48630.563, 327067.097]] -], - -"description": "Test 5108, Cassini-Soldner, v2-0_2011-06-28.", -"projections": ["+init=epsg:4742", "+init=epsg:3377"], -"tests": [{"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5109.json b/test/gigs/5109.json deleted file mode 100644 index 62614164..00000000 --- a/test/gigs/5109.json +++ /dev/null @@ -1,23 +0,0 @@ -{ -"coordinates": [ - [[132, 0], [0, 0]], - [[132, -27], [0, -2926820.89]], - [[140, 0], [966973.98, -30285.6]], - [[140, -20], [832799.36, -2170181.93]], - [[140, -40], [693250.21, -4395794.49]], - [[140, -60], [567313.29, -6404311.16]], - [[140, -80], [486878.674, -7687130.029]], - [[120, -60], [-850274.75, -6426505.13]], - [[130, -60], [-141915.26, -6387653.78]], - [[140, -60], [567313.29, -6404311.16]], - [[150, -60], [1273067.747, -6476375.276]], - [[160, -60], [1971026.26, -6603404.82]], - [[170, -60], [2656914.716, -6784621.89]] -], -"description": "Test 5109, Albers Equal Area, v2-0_2011-06-28.", -"projections": ["+init=epsg:4283", "+init=epsg:3577"], -"tests": [ - {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5110.json b/test/gigs/5110.json deleted file mode 100644 index e9812ecf..00000000 --- a/test/gigs/5110.json +++ /dev/null @@ -1,12 +0,0 @@ -{ -"coordinates": [ - [[5, 70], [4127824.65822105, 5214090.649]], - [[5, 60], [4041548.13, 4109791.66]], - [[5, 50], [3962799.45, 2999718.853]], - [[5, 40], [3892127.02, 1892578.962]], - [[5, 30], [3830117.9, 796781.677]], - [[10, 52], [4321000.0, 3210000.0]], [[0.0, 50.0], [3606514.43, 3036305.967]], [[3.0, 50.0], [3819948.288, 3011432.894]], [[5.0, 50.0], [3962799.451, 2999718.853]], [[8.0, 50.0], [4177612.521, 2989464.315]], [[10.0, 50.0], [4321000.0, 2987510.567]]], "description": "Test 5110, Lambert Azimuthal Equal Area, v2-0_2011-06-28.", -"projections": ["+init=epsg:4258", "+init=epsg:3035"], -"tests": [{"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5111.1.json b/test/gigs/5111.1.json deleted file mode 100644 index 25ca8572..00000000 --- a/test/gigs/5111.1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ -"coordinates": [ - [[100.0876483, 77.6534822], [2800000.0, 15000000.0]], - [[100.0876483, 73.1442856], [2800000.0, 13000000.0]], - [[100.0876483, 67.0518325], [2800000.0, 11000000.0]], - [[100.0876483, 58.9140458], [2800000.0, 9000000.0]], - [[100.0876483, 48.2638981], [2800000.0, 7000000.0]], - [[100.0876483, 34.8029044], [2800000.0, 5000000.0]], - [[100.0876483, 18.7048581], [2800000.0, 3000000.0]], - [[100.0876483, 0.9071392], [2800000.0, 1000000.0]], - [[110.0, 0.0], [3900000.0, 900000.0]], - [[100.0876483, -0.9071392], [2800000.0, 800000.0]], - [[100.0876483, -1.8140483], [2800000.0, 700000.0]], - [[100.0876483, -2.0], [2800000.0, 679490.65]], - [[100.0876483, -3.6262553], [2800000.0, 500000.0]], - [[100.0876483, -4.531095], [2800000.0, 400000.0]], - [[100.0876483, -5.4347892], [2800000.0, 300000.0]], - [[100.0876483, -6.3371111], [2800000.0, 200000.0]], - [[100.0876483, -7.2378372], [2800000.0, 100000.0]], - [[74.8562083, -8.136745], [0.0, 0.0]], - [[-71.0, -2.0], [23764105.84, 679490.65]], - [[-90.0, -2.0], [21655625.33, 679490.65]], - [[-120.0, -2.0], [18326445.58, 679490.65]], - [[-150.0, -2.0], [14997265.83, 679490.65]], - [[180.0, -2.0], [11668086.08, 679490.65]], - [[150.0, -2.0], [8338906.33, 679490.65]], - [[120.0, -2.0], [5009726.58, 679490.65]], - [[110.0, -2.0], [3900000.0, 679490.65]], - [[106.8077194, -2.0], [3545744.14, 679490.65]], - [[100.0876483, -2.0], [2800000.0, 679490.65]], - [[90.0, -2.0], [1680546.83, 679490.65]], - [[60.0, -2.0], [-1648632.92, 679490.65]], - [[30.0, -2.0], [-4977812.67, 679490.65]], - [[0.0, -2.0], [-8306992.42, 679490.65]], - [[-30.0, -2.0], [-11636172.17, 679490.65]], - [[-60.0, -2.0], [-14965351.92, 679490.65]], - [[-69.0, -2.0], [-15964105.84, 679490.65]] -], -"description": "Test 5111 (part 1), Mercator (variant A), v2-0_2011-06-28.", -"projections": ["+init=epsg:4211", "+init=epsg:3001"], -"tests": [ - {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5111.2.json b/test/gigs/5111.2.json deleted file mode 100644 index 03d43f41..00000000 --- a/test/gigs/5111.2.json +++ /dev/null @@ -1,44 +0,0 @@ -{ -"coordinates": [ - [[-6.7200711, 77.6534822], [2800000.0, 15000000.0]], - [[-6.7200711, 73.1442856], [2800000.0, 13000000.0]], - [[-6.7200711, 67.0518325], [2800000.0, 11000000.0]], - [[-6.7200711, 58.9140458], [2800000.0, 9000000.0]], - [[-6.7200711, 48.2638981], [2800000.0, 7000000.0]], - [[-6.7200711, 34.8029044], [2800000.0, 5000000.0]], - [[-6.7200711, 18.7048581], [2800000.0, 3000000.0]], - [[-6.7200711, 0.9071392], [2800000.0, 1000000.0]], - [[3.1922806, 0.0], [3900000.0, 900000.0]], - [[-6.7200711, 0.9071392], [2800000.0, 800000.0]], - [[-6.7200711, 1.8140483], [2800000.0, 700000.0]], - [[-6.7200711, 2.0], [2800000.0, 679490.65]], - [[-6.7200711, 3.6262553], [2800000.0, 500000.0]], - [[-6.7200711, 4.531095], [2800000.0, 400000.0]], - [[-6.7200711, 5.4347892], [2800000.0, 300000.0]], - [[-6.7200711, 6.3371111], [2800000.0, 200000.0]], - [[-6.7200711, 7.2378372], [2800000.0, 100000.0]], - [[-31.9515111, 8.136745], [0.0, 0.0]], - [[-177.8077194, 2.0], [23764105.84, 679490.65]], - [[163.1922806, 2.0], [21655625.33, 679490.65]], - [[133.1922806, 2.0], [18326445.58, 679490.65]], - [[103.1922806, 2.0], [14997265.83, 679490.65]], - [[73.1922806, 2.0], [11668086.08, 679490.65]], - [[43.1922806, 2.0], [8338906.33, 679490.65]], - [[13.1922806, 2.0], [5009726.58, 679490.65]], - [[3.1922806, 2.0], [3900000.0, 679490.65]], - [[0.0, 2.0], [3545744.14, 679490.65]], - [[-6.7200711, 2.0], [2800000.0, 679490.65]], - [[-16.8077194, 2.0], [1680546.83, 679490.65]], - [[-46.8077194, 2.0], [-1648632.92, 679490.65]], - [[-76.8077194, 2.0], [-4977812.67, 679490.65]], - [[-106.8077194, 2.0], [-8306992.42, 679490.65]], - [[-136.8077194, 2.0], [-11636172.17, 679490.65]], - [[-166.8077194, 2.0], [-14965351.92, 679490.65]], - [[-175.8077194, 2.0], [-15964105.84, 679490.65]] -], -"description": "Test 5111 (part 2), Mercator (variant A), v2-0_2011-06-28.", -"projections": ["+init=epsg:4813", - "+proj=merc +lon_0=110 +k=0.997 +x_0=3900000 +y_0=900000 +ellps=bessel +units=m +no_defs"], -"tests": [ {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} ] -} diff --git a/test/gigs/5112.json b/test/gigs/5112.json deleted file mode 100644 index 2b652933..00000000 --- a/test/gigs/5112.json +++ /dev/null @@ -1,15 +0,0 @@ -{ -"coordinates": [ - [[51.0, 42.0], [0.0, 3819897.85]], - [[51.0, 0.0], [0.0, 0.0]], - [[57.0, 0.0], [497112.88, 0.0]], - [[54.0, 20.5], [248556.44, 1724781.5]], - [[67.0, -41.0], [1325634.35, -3709687.25]] - ], -"description": "Test 5112, Mercator (variant B), v2-0_2011-06-28.", -"projections": ["+init=epsg:4284", "+init=epsg:3388"], -"tests": [ - {"tolerances": [5.555555555555555e-07, 0.05], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"} - ] -} diff --git a/test/gigs/5113.json b/test/gigs/5113.json deleted file mode 100644 index 945e4c44..00000000 --- a/test/gigs/5113.json +++ /dev/null @@ -1,12 +0,0 @@ -{ -"description": "Test 5113, Transverse Mercator (South Oriented), v2-0_2011-06-28.", -"coordinates": [ [[22.5, 0.0], [-166998.44, 0.0]], - [[21.5, -25.0], [-50475.46, 2766147.25]], - [[20.5, -30.0], [48243.45, 3320218.65]], - [[19.5, -35.0], [136937.65, 3875621.18]], - [[19.5, -35.0], [136937.65, 3875621.18]] - ], -"projections": ["+init=epsg:4148", "+init=epsg:2049"], -"tests": [{"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, - {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}] -} diff --git a/test/gigs/5201.json b/test/gigs/5201.json deleted file mode 100644 index e1ffdd77..00000000 --- a/test/gigs/5201.json +++ /dev/null @@ -1,39 +0,0 @@ -{ -"description" : "Test 5201, Geographic Geocentric conversions, v2.0_2011-09-28. (EPSG 4979 - WGS84 3d has been replaced with EPSG code 4326 WGS84 2d).", -"projections" : [ "+init=epsg:4978", "+init=epsg:4326" ], - -"coordinates": [ - [ [-962479.5924, 555687.8517, 6260738.6526], [150, 80, 1214.137] ], - [ [-962297.0059, 555582.4354, 6259542.961], [150, 80, 0] ], - [ [-1598248.169, 2768777.623, 5501278.468], [119.99524538, 60.00475191, 619.6317] ], - [ [-1598023.169, 2768387.912, 5500499.045], [119.99524470, 60.00475258, -280.3683] ], - [ [2764210.4054, 4787752.865, 3170468.5199], [60, 30, 189.569] ], - [ [2764128.3196, 4787610.6883, 3170373.7354], [60, 30, 0] ], - [ [6377934.396, -112, 434], [-0.00100615, 0.00392509, -202.5882] ], - [ [6374934.396, -112, 434], [-0.00100662, 0.00392695, -3202.5881] ], - [ [6367934.396, -112, 434], [-0.00100773, 0.00393129, -10202.5881] ], - [ [2764128.3196, -4787610.6883, -3170373.7354], [-60, -30, 0] ], - [ [2763900.3489, -4787215.8313, -3170110.4974], [-60, -30, -526.476] ], - [ [2763880.8633, -4787182.0813, -3170087.9974], [-60, -30, -571.476] ], - [ [-1598023.169, -2768611.912, -5499631.045], [-119.99323757, -59.99934884, -935.0995] ], - [ [-1597798.169, -2768222.201, -5498851.622], [-119.99323663, -59.99934874, -1835.0995] ], - [ [-962297.0059, -555582.4354, -6259542.961], [-150, -80, 0] ], - [ [-962150.945, -555498.1071, -6258586.4616], [-150, -80, -971.255] ], - [ [-961798.2951, -555294.5046, -6256277.0874], [-150, -80, -3316.255] ], - [ [-2187336.719, -112, 5971017.093], [-179.99706624, 70.00490733, -223.6178] ], - [ [-2904698.5551, -2904698.5551, 4862789.0377], [-135, 50, 0] ], - [ [371, -5783593.614, 2679326.11], [-89.99632465, 25.00366329, -274.7286] ], - [ [6378137, 0, 0], [0, 0, 0] ], - [ [-4087095.478, 2977467.559, -3875457.429], [143.92649252, -37.65282217, 737.7182] ], - [ [-4085919.959, 2976611.233, -3874335.274], [143.92649211, -37.65282206, -1099.2288] ], - [ [-4084000.165, 2975212.729, -3872502.631], [143.92649143, -37.65282187, -4099.2288] ], - [ [-4079520.647, 2971949.553, -3868226.465], [143.92648984, -37.65282143, -11099.2288] ], - [ [-2904698.5551, 2904698.5551, -4862789.0377], [135, -50, 0] ], - [ [-2187336.719, -112, -5970149.093], [-179.99706624, -70.00224647, -1039.2896] ] -], - -"tests" : [ - {"type": "conversion", "tolerances": [0.01, [8.333333333333333e-08, 8.333333333333333e-08, 0.01]]}, - {"type": "roundtrip", "times":1000, "tolerances": [0.006, [5.555555555555556e-08, 5.555555555555556e-08, 0.006]] } -] -} diff --git a/test/gigs/5203.1.json b/test/gigs/5203.1.json deleted file mode 100644 index 658e7857..00000000 --- a/test/gigs/5203.1.json +++ /dev/null @@ -1,25 +0,0 @@ -{ -"description": "GIGS Test 5203 (part 1), Position Vector 7-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9606).", -"projections" : [ "+init=epsg:4277", "+init=epsg:4326" ], - -"coordinates" : [ - [ [150.00567472, 79.99487333], [150.0, 80.0] ], - [ [120.0, 60.0], [119.99435889, 60.00569306] ], - [ [60.00446778, 29.99566778], [60.0, 30.0] ], - [ [0.0, 0.0], [-0.00089056, 0.00483333] ], - [ [-60.00357056, -30.00504639], [-60.0, -30.0] ], - [ [-120.0, -60.0], [-119.9918525, -59.99907361] ], - [ [-150.01693111, -79.99778139], [-150.0, -80.0] ], - [ [-180.0, 70.0], [-179.99637361, 70.005945] ], - [ [-135.00596333, 49.99458694], [-135.0, 50.0] ], - [ [-90.0, 25.0], [-89.99531139, 25.00445833] ], - [ [0.00089056, -0.00483333], [0.0, 0.0] ], - [ [143.9279419, -37.6532236], [143.92634806, -37.65235306] ], - [ [135.00291194, -49.99973028], [135.0, -50.0] ], - [ [180.0, -70.0], [-179.99660139, -70.002485] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08] } - ] -} diff --git a/test/gigs/5204.1.json b/test/gigs/5204.1.json deleted file mode 100644 index 06347e64..00000000 --- a/test/gigs/5204.1.json +++ /dev/null @@ -1,25 +0,0 @@ -{ -"description" : "GIGS Test 5204, Coordinate Frame 7-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9607)", -"projections" : [ "+init=epsg:4313", "+init=epsg:4326" ], - -"coordinates" : [ - [ [149.99825389, 80.00155167], [150, 80] ], - [ [120, 60], [120.00197111, 59.99807333] ], - [ [59.99822194, 30.00134083], [60, 30] ], - [ [0, 0], [0.00098139, -0.00081028] ], - [ [-59.99991333, -29.99943917], [-60, -30] ], - [ [-120, -60], [-120.00150694, -59.999835] ], - [ [-149.99532167, -80.00054917], [-150, -80] ], - [ [-180, 70], [179.99939778, 69.99812806] ], - [ [-134.99891389, 50.00183], [-135, 50] ], - [ [-90, 25], [-90.00060583, 24.99862667] ], - [ [-0.00098139, 0.00081028], [0, 0] ], - [ [143.9279419, -37.6532236], [143.92857222, -37.65257083] ], - [ [134.99913472, -50.00096139], [135, -50] ], - [ [180, -70], [179.99888667, -69.99901667] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08] } - ] -} diff --git a/test/gigs/5205.1.json b/test/gigs/5205.1.json deleted file mode 100644 index e0c41ff3..00000000 --- a/test/gigs/5205.1.json +++ /dev/null @@ -1,25 +0,0 @@ -{ -"description" : "GIGS Test 5205 (Part 1), Molodensky-Badekas 10-parameter transformation, v2.0_2011-06-28. Geographic 2D domain (EPSG method code 9636)", -"projections" : [ "+init=epsg:4289", "+init=epsg:4326" ], - -"coordinates": [ - [ [150.01814371, 79.99494639], [150, 80] ], - [ [120, 60], [119.99001559, 60.00441792] ], - [ [60.00535007, 29.99746103], [60, 30] ], - [ [0, 0], [-0.00007025, 0.0041133] ], - [ [-60.00473241, -30.0042486], [-60, -30] ], - [ [-120, -60], [-119.9922412, -60.00081456] ], - [ [-150.01209192, -79.99612229], [-150, -80] ], - [ [-180, 70], [179.99786174, 70.00666951] ], - [ [-135.00454845, 49.99357566], [-135, 50] ], - [ [-90, 25], [-89.99487454, 25.00457271] ], - [ [0.00007032, -0.00411349], [0, 0] ], - [ [143.9279419, -37.6532236], [143.92330599, -37.65282034] ], - [ [135.00641074, -49.99958243], [135, -50] ], - [ [180, -70], [179.99847886, -70.00362084] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08] } - ] -} diff --git a/test/gigs/5206.json b/test/gigs/5206.json deleted file mode 100644 index d5a26252..00000000 --- a/test/gigs/5206.json +++ /dev/null @@ -1,54 +0,0 @@ -{ -"description" : "Test 5206, NADCON transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed.", -"projections" : [ "+init=epsg:4267", "+init=epsg:4269" ], - -"coordinates": [ - [ [-89.5177272, 29.9997978], [-89.5177778, 30.0000000] ], - [ [-90.5177778, 29.2833333], [-90.5178639, 29.2835592] ], - [ [-91.5176758, 28.2830864], [-91.5177778, 28.2833333] ], - [ [-92.5177778, 27.2833333], [-92.5178811, 27.2836106] ], - [ [-93.5176731, 26.2830225], [-93.5177778, 26.2833333] ], - [ [-94.5177778, 25], [-94.5178744, 25.0003486] ], - [ [-142.9972522, 70.0001631], [-143, 70] ], - [ [-142, 70.0000000], [-142.0026922, 69.9998422] ], - [ [-141.9973078, 70.0001578], [-142, 70] ], - [ [-140.9971981, 70.0001481], [-141, 70] ], - [ [-140, 70], [-140.0027922, 69.9998617] ], - [ [-138.9973075, 70.0001297], [-139, 70] ], - [ [-138, 70], [-138.0026767, 69.9998867] ], - [ [-134.9973733, 70.000055], [-135, 70] ], - [ [-130, 70], [-130.0025347, 70.0000511] ], - [ [-128.0009742, 69.9999053], [-128.0034722, 70] ], - [ [-179, 70], [-179.0035064, 69.9990142] ], - [ [-179.9964664, 70.0010089], [180, 70] ], - [ [180, 70], [179.9964664, 69.9989911] ], - [ [179, 70], [178.9964394, 69.9989678] ], - [ [-111.9991714, 49.9999556], [-112, 49.9999997] ], - [ [-112, 49.9999997], [-112.0008286, 50.0000439] ], - [ [-111.9991214, 49.0000033], [-112, 49] ], - [ [-112, 48], [-112.0008492, 47.9999606] ], - [ [-111.9991678, 47.0000569], [-112, 47] ], - [ [-112, 47], [-112.0008325, 46.9999431] ], - [ [-111.9991756, 46.0000733], [-112, 46] ], - [ [-112, 45], [-112.0008022, 44.9999197] ], - [ [-130.5177467, 51], [-130.5193953, 50.9997114] ], - [ [-130.5160981, 51.0002886], [-130.5177467, 51] ], - [ [-130.5161206, 50.0002897], [-130.5177467, 49.9999997] ], - [ [-130.5177467, 49.9999997], [-130.5193731, 49.9997097] ], - [ [-130.5161458, 49.0002717], [-130.5177467, 49] ], - [ [-130.5177467, 48.1166667], [-130.5193258, 48.1164106] ], - [ [-130.5161942, 47.0002378], [-130.5177467, 47] ], - [ [-130.5177467, 47], [-130.5192992, 46.9997622] ], - [ [-130.5162172, 46.0002222], [-130.5177467, 46] ], - [ [-130.5177467, 45], [-130.5192539, 44.9997925] ], - [ [-132.9984775, 48.1169867], [-133, 48.1166667] ], - [ [-131.4555556, 48.1166667], [-131.4571578, 48.1163964] ], - [ [-130.5161675, 48.1169228], [-130.5177467, 48.1166667] ], - [ [-128.4555556, 48.1166667], [-128.4570433, 48.1164319] ], - [ [-128.5444444, 48.1166667], [-128.5459361, 48.1164311] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08] } - ] -} diff --git a/test/gigs/5207.1.json b/test/gigs/5207.1.json deleted file mode 100644 index aa4e0f07..00000000 --- a/test/gigs/5207.1.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"description" : "Test 5207, NTv2 transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed.", -"projections" : [ "+init=epsg:4202", "+init=epsg:4283" ], - -"coordinates": [ - [ [-115, -10.05], [-115.001251111111, -10.048637222222] ], - [ [-114.998744166667, -11.001359444445], [-115, -11] ], - [ [-115, -12], [-115.001261388889, -11.998644166667] ], - [ [-138.04, -9], [-138.041132777778, -8.998543333333] ], - [ [-138.043867222222, -9.001456666667], [-138.045, -9] ], - [ [-138.05, -9], [-138.051132777778, -8.998543333333] ], - [ [-138.048867222222, -9.001456666667], [-138.05, -9] ], - [ [-138.053867222222, -9.001456666667], [-138.055, -9] ], - [ [-138.06, -9], [-138.061132777778, -8.998543333333] ], - [ [-138.038730833333, -27.126476388889], [-138.04, -27.125] ], - [ [-138.045, -27.125], [-138.046268888889, -27.123523611111] ], - [ [-138.05, -27.125], [-138.051268888889, -27.123523611111] ], - [ [-138.048731111111, -27.126476388889], [-138.05, -27.125] ], - [ [-138.055, -27.125], [-138.056268888889, -27.123523333333] ], - [ [-138.058731111111, -27.126476666667], [-138.06, -27.125] ], - [ [-136.847222222222, -28.05], [-136.848525277778, -28.048526944445] ], - [ [-137.847222222222, -28.05], [-137.848505555556, -28.048531111111] ], - [ [-138.847222222222, -28.05], [-138.8484925, -28.048518888889] ], - [ [-139.847222222222, -28.05], [-139.848475277778, -28.048507222222] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08]} - ] -} diff --git a/test/gigs/5207.2.json b/test/gigs/5207.2.json deleted file mode 100644 index cf5c4cd6..00000000 --- a/test/gigs/5207.2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ -"description" : "Test 5206, NADCON transformation, v2.0_2011-06-28. Out of transform grid area error tests have been removed.", -"projections" : [ "+init=epsg:4267", "+init=epsg:4269" ], - -"coordinates": [ - [ [-142, 70], [-142.002804722222, 69.999806944445] ], - [ [-141.997195277778, 70.000193055556], [-142, 70] ], - [ [-140.997219722222, 70.000179166667], [-141, 70] ], - [ [-140, 70], [-140.002795277778, 69.999828055556] ], - [ [-138.997199444444, 70.000160833333], [-139, 70] ], - [ [-138, 70], [-138.002957222222, 69.999875555556] ], - [ [-134.997081944444, 70.000046388889], [-135, 70] ], - [ [-130, 70], [-130.002737222222, 70.000053333333] ], - [ [-128.000734722222, 69.999866388889], [-128.003472222222, 70] ], - [ [-128, 70], [-128.002737777778, 70.000133611111] ], - [ [-125.997388333333, 69.999778055556], [-126, 70] ], - [ [-88.005575, 70], [-88.0056825, 70.000609444445] ], - [ [-88, 70], [-88.000107222222, 70.000609166667] ], - [ [-87.999893333333, 69.999390833333], [-88, 70] ], - [ [-87.6610917, 70], [-87.661171666667, 70.000603333333] ], - [ [-112.165693333333, 51.016955555556], [-112.166607777778, 51.017009444445] ], - [ [-111.999093888889, 50.999949166667], [-112, 51] ], - [ [-111.999095277778, 49.999959722222], [-112, 49.999999722222] ], - [ [-112, 49.999999722222], [-112.000904638889, 50.000039666667] ], - [ [-111.9991175, 49.000006388889], [-112, 49] ], - [ [-112, 48], [-112.0008525, 47.999988888889] ], - [ [-111.999174722222, 47.000009722222], [-112, 47] ], - [ [-112, 47], [-112.000825277778, 46.999990277778] ], - [ [-130.517746666667, 51], [-130.519401944444, 50.999771388889] ], - [ [-130.516091666667, 51.000228611111], [-130.517746666667, 51] ], - [ [-130.516041666667, 50.000246111111], [-130.517746666667, 49.999999722222] ], - [ [-130.517746666667, 49.999999722222], [-130.519451666667, 49.999753333333] ], - [ [-130.516067222222, 49.0002825], [-130.517746666667, 49] ], - [ [-130.517746666667, 48], [-130.519391111111, 47.999679444445] ], - [ [-130.516146944444, 47.000361111111], [-130.517746666667, 47] ], - [ [-130.517746666667, 47], [-130.519346388889, 46.999638611111] ], - [ [-132.998205277778, 48.117026388889], [-133, 48.116666666667] ], - [ [-131.455555555556, 48.116666666667], [-131.457260277778, 48.116333055556] ], - [ [-130.516098055556, 48.116982777778], [-130.517746666667, 48.116666666667] ], - [ [-128.455555555556, 48.116666666667], [-128.457086944444, 48.116392777778] ], - [ [-128.5444, 48.1167066], [-128.545936111111, 48.116431111111] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08] } - ] -} diff --git a/test/gigs/5208.json b/test/gigs/5208.json deleted file mode 100644 index 4242c175..00000000 --- a/test/gigs/5208.json +++ /dev/null @@ -1,25 +0,0 @@ -{ -"description": "Test 5208, Longitude Rotation, v2.0_2011-06-28.", -"projections" : [ "+init=epsg:4275", "+init=epsg:4807" ], - -"coordinates": [ - [ [5, 58], [2.66277083, 58] ], - [ [5, 56], [2.66277083, 56] ], - [ [5, 55], [2.66277083, 55] ], - [ [5, 53], [2.66277083, 53] ], - [ [4, 51], [1.66277083, 51] ], - [ [4, 49], [1.66277083, 49] ], - [ [2.33722917, 46.8], [0, 46.8] ], - [ [3, 53], [0.66277083, 53] ], - [ [4, 53], [1.66277083, 53] ], - [ [6, 53], [3.66277083, 53] ], - [ [7, 53], [4.66277083, 53] ], - [ [9, 53], [6.66277083, 53] ], - [ [10, 53], [7.66277083, 53] ], - [ [11, 53], [8.66277083, 53] ] -], - -"tests" : [ {"type": "conversion", "tolerances": [2.7777777777777776e-07, 2.7777777777777776e-07]}, - {"type": "roundtrip", "times":1000, "tolerances": [5.555555555555556e-08, 5.555555555555556e-08] } - ] -} diff --git a/test/gigs/TESTNOTES.md b/test/gigs/TESTNOTES.md deleted file mode 100644 index ff9c03a1..00000000 --- a/test/gigs/TESTNOTES.md +++ /dev/null @@ -1,225 +0,0 @@ -## TEST JSON ########################################################### - -This is the testing framework that uses JSON formatted files that tests -PROJ.4 using Geospatial Integrity of Geoscience Software (GIGS) calculations. -This could be used as a framework for testing projections from other -sources. - - -For more information about the Geospatial Integrity of Geoscience Software -(GIGS) at -http://www.iogp.org/Geomatics#2521115-gigs - -## Geospatial Integrity of Geoscience Software License ################# - -The disclaimer and copyright **only** applies to JSON files that originate -from GIGS tests, which is a reformatting material provided by the -International Association of Oil & Gas Producers. - -**Disclaimer** - -Whilst every effort has been made to ensure the accuracy of the information contained in this publication, -neither the OGP nor any of its members past present or future warrants its accuracy or will, regardless -of its or their negligence, assume liability for any foreseeable or unforeseeable use made thereof, which -liability is hereby excluded. Consequently, such use is at the recipient’s own risk on the basis that any use -by the recipient constitutes agreement to the terms of this disclaimer. The recipient is obliged to inform -any subsequent recipient of such terms. - -This document may provide guidance supplemental to the requirements of local legislation. Nothing -herein, however, is intended to replace, amend, supersede or otherwise depart from such requirements. In -the event of any conflict or contradiction between the provisions of this document and local legislation, -applicable laws shall prevail. - -**Copyright notice** - -The contents of these pages are © The International Association of Oil & Gas Producers. Permission -is given to reproduce this report in whole or in part provided (i) that the copyright of OGP and (ii) -the source are acknowledged. All other rights are reserved.” Any other use requires the prior written -permission of the OGP. - -These Terms and Conditions shall be governed by and construed in accordance with the laws of -England and Wales. Disputes arising here from shall be exclusively subject to the jurisdiction of the -courts of England and Wales. - - -## INSTALLING ########################################################## - - * Requires: Python 2.7 or 3.3+ - * pyproj (optional but highly recommended), this speeds up tests, makes - results more precise but has the trade-off of making installation a - little more complicated. - - - -### Installing pyproj ################################################## - - 1) Install `pip` (usually `pip3`) if not installed, should already be installed on new Python - versions (Python 3 >=3.4) or if using a virtual environment for python. - see https://pip.pypa.io/en/stable/installing/ - * **Note**: if you have Python 2.x and 3.x installed, `pip3` is for Python 3.x. - `pip` could be an alias for either one. - 2) Upgrade `pip` (possibly not needed) - https://pip.pypa.io/en/stable/installing/#upgrading-pip - 3) Install pyproj - * requires a C/C++ compiler be usable by python - * repository version requires Cython to be installed, releases do not require this - -``` - $ pip install cython -``` - - * install latest release - * set PROJ_DIR environment variable to an installed version of PROJ4 - library. This should have the directories include/ lib/ & - share/proj/ underneath it. - - * installing on Linux (default ./configure settings for PROJ.4) - -``` - $ PROJ_DIR=/usr/local pip install pyproj -``` - -## Running Tests ####################################################### - -When calling test_json.py it defaults to using pyproj driver. - -``` - $ python test_json.py 5*.json -``` - -There is a driver to directly use cs2cs instead of installing pyproj, but -it is much slower and not recommended. - -Here is how you run the cs2cs driver: - -``` - $ python test_json.py -d cs2cs -e path/to/repo/bin/cs2cs 5201.json -``` - - -## GIGS Test ########################################################### - -Tests that were meant to test for out of grid errors were removed from -testing. PROJ.4 cs2cs provides coordinates seemingly without warnings -or errors. - -### Drastic Tolerance Errors ########################################### - -These are errors that might indicate the wrong projection is being used, -wrong parameters are being used in the projection, or problems with the -projection itself. It could point to problems with the provided model. - - * 5101 part 4 - Transverse Mercator - - EPSG code will need to be redefined to make sure that etmerc version - is used, should be done before next release (4.9.3 / 4.10.0 ?) - - Temporarily use test "5101.4-jhs-etmerc.json", perhaps remove file - when etmerc/tmerc aliasing issue has been fixed. - * 5102 part 2 - Lambert Conic Conformal (1SP) - - This one seems to have some problems. - * 5105 part 1 - Oblique Mercator (variant B) - - There are some drastically different answers. - -### Slight Tolerance Errors ############################################ - -These tests have results with rounding errors that are slightly out of -tolerance. This could be due to a lack of precision in the JSON file -or due to the formula's precision. Most of these tests fail with some -point in testing 1,000 round trip coordinate conversions. A few of these -might require a little bit of tuning with cs2cs. There are some rather -concerning differences between Python 2.7 and Python 3.4 in testing, which -needs to be pinpointed. - - * 5101 part 1 - Transverse Mercator - - roundtrip tests fail with very slight tolerance issues - * 5104 - Oblique stereographic - - roundtrip tests fail with very slight tolerance issues - * 5105 part 2 - Oblique Mercator (variant B) - - roundtrip tests fail with tolerance issues - * 5106 - Hotline Oblique Mercator (variant A) - - roundtrip tests fail with very slight tolerance issues - * 5108 - Cassini-Soldner - - roundtrip tests seem to accumulate errors - * 5110 - Lambert Azimuthal Equal Area - - roundtrip tests have some slight errors - * 5111 part 1 - Mercator (variant A) - - roundtrip tests fail with very slight tolerance issues - * 5111 part 2 - Mercator (variant A) - * 5203 part 1 - Position Vector 7-parameter transformation - - most seem to be rounding errors. Some results cross longitude - line 180/-180 - * 5204 part 1 - Coordinate Frame 7-parameter transformation - - most seem to be rounding errors. Some results cross longitude - line 180/-180 - * 5205 part 1 - Molodensky-Badekas 10-parameter transformation - - most seem to be rounding errors. Some results cross longitude - line 180/-180 - * 5206 - NADCON transformation - * 5207 parts 1 & 2 - NTv2 transformation - - -### Other Issues with Tests ############################################ - * 5201 - Geographic Geocentric conversions - - EPSG code 4979, does not exist in PROJ.4 substituted EPGS code 4326. - - The test passes. - * 5206 and 5207 parts 1 & 2 - NADCON Transformation and NTv2 Transformation - - These tests have cases that are out of grid, which have been omitted. - The GIGS tests expectations, "[n]ote 1: This location is out of - transformation grid area - the attempted transformation should fail - and application notify user." - - -## Passing Tests ####################################################### - * 5101 part 2 - Transverse Mercator - * 5101 part 3 - Transverse Mercator - * 5102 part 1 - Lambert Conic Conformal (1SP) - * 5103 part 1 - Lambert Conic Conformal (2SP) - * 5103 part 2 - Lambert Conic Conformal (2SP) - * 5103 part 3 - Lambert Conic Conformal (2SP) - * 5107 - American Polyconic - * 5109 - Albers Equal Area - * 5112 - Mercator (variant B) - * 5113 - Transverse Mercator (South Oriented) - * 5208 - Longitude Rotation - - - -## Benchmarks ########################################################## - -Benchmarks were made using Micah Cochran's circa 2008 Desktop computer -using LXLE Ubuntu Linux 14.04. The pattern "5*.json" was used for testing. - -This is the computer time used for the process, not the actual run time. - * pyproj driver testing 5 seconds - * cs2cs driver testing - using Python 2.7.6 - 4 min 36 seconds - * cs2cs driver testing - using Python 3.4.3 - 6 min 23 seconds - - - -## Random Notes ####################################################### -Roundtrip testing has been fixed, it now checks both resulting coordinates. - -Some tests in the 5100/5200 series have not been converted. The most of -the 3d coordinate test in the 5200 series have not been converted. - -This is designed to use decimal degrees over Sexagesimal degree or degree -minutes seconds, which is a decision that might need to be revisited. -Decimal degrees were chosen because it was easier interface with the -Python pyproj library. This might be the cause of some testing tolerance -issues. - -pyproj and cs2cs drivers do not quite work the same. Different tests -fail depending on the driver. - -Other drivers could be written to interface with other code. - -There could be some precision issues with cs2cs, perhaps some adjustment -of the "-f format" parameter could help. This could be done based either -on expected output or extra info from the JSON file. - -A TODO list is located source code. - -Conversion tests the output coordinate, causing 2 test results per -coordinate pair. - -Roundtrip tests the input coordinate and the output coordinate of each - pair, causing 4 test results per coordinate pair. diff --git a/test/gigs/convert_to_gie.py b/test/gigs/convert_to_gie.py deleted file mode 100644 index ba04b03d..00000000 --- a/test/gigs/convert_to_gie.py +++ /dev/null @@ -1,69 +0,0 @@ -import sys -import json - -def write_coords(f, coords, testtype, test): - '''testtype can be either ('fwd', 'inv', 'roundtrip')''' - - for coord in coords: - if len(coord[0]) == 3: - cstring = '{} {} {}' - else: - cstring = '{} {}' - - f.write('tolerance {tol} m\n'.format(tol=test['tolerances'][tolerance_index])) - accept = 'accept {s}\n'.format(s=cstring) - expect = 'expect {s}\n'.format(s=cstring) - - if testtype == 'fwd': - f.write(accept.format(*coord[0])) - f.write(expect.format(*coord[1])) - - if testtype == 'inv': - f.write(accept.format(*coord[1])) - f.write(expect.format(*coord[0])) - - if testtype == 'roundtrip': - f.write(accept.format(*coord[0])) - f.write('roundtrip {n}\n'.format(n=test['times'])) - - f.write('\n') - - - -with open(sys.argv[1]) as f: - data = json.load(f) - -coords = data['coordinates'] -tests = data['tests'] -crss = data['projections'] - -if len(coords[0]) == 3: - tolerance_index = 0 -else: - tolerance_index = 1 - -filename = sys.argv[1].replace('json', 'gie') -with open(filename, 'w') as f: - f.write('-'*80 + '\n\n') - f.write('{descr}\n\n'.format(descr=data['description'])) - f.write('-'*80 + '\n\n') - f.write('\n\n'); - for test in tests: - f.write('-'*80 + '\n') - f.write('operation +proj=pipeline\n') - f.write(' +step {src} +inv\n'.format(src=crss[0])) - f.write(' +step {dst}\n'.format(dst=crss[1])) - f.write('-'*80 + '\n') - if test['type'] == 'conversion': - write_coords(f, coords, 'fwd', test) - f.write('-'*80 + '\n') - f.write('operation +proj=pipeline\n') - f.write(' +step {src} +inv\n'.format(src=crss[1])) - f.write(' +step {dst}\n'.format(dst=crss[0])) - f.write('-'*80 + '\n') - write_coords(f, coords, 'inv', test) - - if test['type'] == 'roundtrip': - write_coords(f, coords, 'roundtrip', test) - - f.write('\n') diff --git a/test/gigs/test_json.py b/test/gigs/test_json.py deleted file mode 100644 index 11aec31e..00000000 --- a/test/gigs/test_json.py +++ /dev/null @@ -1,528 +0,0 @@ -# This is a framework to test GIGS, Geospatial Integrity of geoscience -# software. Which is published by International Association of Oil & Gas -# Producers as a resources for how geospatial software should give consistent -# and expected results. -# -# This could be expanded to be used with other testing frameworks. -# -# - See more at: http://www.iogp.org/Geomatics#2521115-gigs -# - -# -# == REQUIREMENTS == -# - Python 2.7 or 3.3+ -# - pyproj (optional but highly recommended) - read TESTNOTES.md - -# == TODO list == -# * Python 3 was not running all the test cases seemingly due to how it uses -# an iterable version of zip. -- FIXED -# * driver for proj4js (javascript) -# - could be written using nodejs using subprocess -# - could use PyExecJS (currently not advanced enough) or PyV8 -# * call cs2cs directly -# - WORKING but 2 orders of magnitude slower than pyproj, and -# potentially insecure shelling? - - -import argparse -import glob -import json -import logging -import os -import platform -import sys -import subprocess -from tempfile import NamedTemporaryFile - -# only for debug -# import pdb - -try: - import pyproj -except ImportError as e_pyproj: - pass - - -PY_MAJOR = sys.version_info[0] -PY2 = (PY_MAJOR == 2) - -# Python 2/3 Compatibility code ######################################## -if PY_MAJOR >= 3: - # list-producing versions of the major Python iterating functions - # lzip acts like Python 2.x zip function. - # taken from Python-Future http://python-future.org/ - # future.utils.lzip() - - def lzip(*args, **kwargs): - return list(zip(*args, **kwargs)) - -else: - from __builtin__ import zip as lzip -######################################################################## - - -def list_count_matches(coords, ex_coords, tolerance): - """ - counts coordinates in lists that match and don't match. - assumes that lists are the same length (they should be) - - coords - coordinates - ex_cords - expected cooridnate - tolerance - difference allowed between the coordinates - - returns tuple (matches, non_matches) - """ - matches, non_matches = 0, 0 - iter_ex_coords = iter(ex_coords) - for c in coords: - ex_coord = next(iter_ex_coords) - if match_func(c, ex_coord, tolerance): - matches = matches + 1 - else: - non_matches = non_matches + 1 - - return (matches, non_matches) - - -def match_func(cor, exc, tolerance): - """ - Check if coordinate matches expected coordinate within a given tolerance. - - cor - coordinate - exc - expected coordinate - tolerance - error rate - float coordinate elements will be checked based on this value - list/tuple coordinate elements will be checked based on the - corresponding values - return bool - """ - if len(exc) == 3: - # coordinate triples - coord_diff = abs(cor[0] - exc[0]), abs(cor[1] - exc[1]), abs(cor[2] - exc[2]) - if isinstance(tolerance, float): - matching = coord_diff < (tolerance, tolerance, tolerance) - elif isinstance(tolerance, (list, tuple)): # FIXME is list's length atleast 3? - matching = coord_diff < tuple(tolerance) - else: - # assume coordinate pairs - coord_diff = abs(cor[0] - exc[0]), abs(cor[1] - exc[1]) - if isinstance(tolerance, float): - matching = coord_diff < (tolerance, tolerance) - elif isinstance(tolerance, (list, tuple)): # FIXME is list's length atleast 2? - matching = coord_diff < tuple(tolerance) - - if matching is False: - logging.info('non-match, calculated coordinate: {c1}\n' - 'expected coordinate: {c2}\n difference:{res}\n' - 'tolerance: {tol}\n' - ''.format(c1=cor, c2=exc, res=coord_diff, tol=tolerance)) - - return matching - - -# parse multiple tests and call TransformTest -# TODO: needs some awareness of the driver, so driver_info function in -# TransformTest classes can be called, could allow a dummy instance of -# Driver and move all the initization code to another function? Or allow -# dipatch function to check if everything is in order do a transform. -# Not an elegant solution. -class TransformRunner(object): - def __init__(self, fn_pattern, driver, **kwargs): - """ - fn_pattern - file name or file name pattern (example "*.json") - driver - this is the type of driver to run - kwargs - parameters passed to the respective driver TransformTest class - """ - self.driver = driver - json_input = [] - if os.path.isfile(fn_pattern): - with open(fn_pattern, 'rt') as fp: - logging.info("Reading json from file '{0}'".format(fn_pattern)) - json_dict = json.load(fp, parse_int=float) - json_dict['filename'] = fn_pattern - json_input = [json_dict] - # is this a glob/fnmatch style pattern? - elif '*' in fn_pattern or '?' in fn_pattern: - filename_iter = glob.iglob(fn_pattern) - for filename in filename_iter: - with open(filename, 'rt') as fp: - logging.info("Reading json from file '{0}'".format(filename)) - j_input = json.load(fp, parse_int=float) - if isinstance(j_input, dict): - j_input['filename'] = filename - json_input.append(j_input) - elif isinstance(j_input, list): - # FIXME could build a new list with the filename dict - logging.warning("json file is a list, not quite supported - FIXME") - json_input.extend(j_input) - else: - raise ValueError('json input in an unknown type') - else: - raise TypeError('filename_pattern must be a valid filename or pattern') - - self.runs = json_input - self.kwargs = kwargs - - def dispatch(self): - """ - main loop to run all the tests - """ - total_matches, total_no_matches, success_code = 0, 0, 0 - for run in self.runs: - if self.driver == 'pyproj': - trantst = TransformTestPyProj(run, self.kwargs) - elif self.driver == 'cs2cs': - trantst = TransformTestCs2cs(run, self.kwargs) - else: - raise ValueError("driver {0} is not a valid test driver".format(self.driver)) - matches, no_matches = trantst.dispatch() - total_matches += matches - total_no_matches += no_matches - success_code += no_matches - - return total_matches, total_no_matches, success_code - - -# parses and runs a single GIGS test case -class TransformTestBase(object): - """ - TransformTest common code for testing framework. - """ - def __init__(self, json_dict, kwargs): - """ - json_dict must dictonary from json - """ - if not isinstance(json_dict, dict): # must be a json dictionary - raise TypeError("json_source must be a dictionary type not {0}" - "".format(type(json_dict))) - - # require keys 'coordinates' and 'projections' - if 'coordinates' not in json_dict: - raise KeyError("TransformTest.__init__ requires 'coordinates' key" - " in json source input") - - if 'projections' not in json_dict: - raise KeyError("TransformTest.__init__ requires 'projections' key" - " in json source input") - - logging.info('Number of coordinate pairs to test: {0}'.format( - len(json_dict['coordinates']))) - - self.run_test_args = kwargs.get('test') - - # unpack coordinates - self.coords_left, self.coords_right = lzip(*json_dict['coordinates']) - - self.testobj = json_dict - - def runner_conversion(self, **kwargs): - """ - tests a single conversion - - return tuple (num_matches, num_no_matches) - """ - - # get tolerance, if not set tolerance to a precise value - tolerances = kwargs.get('tolerances', [0.0000000000001, 0.0000000000001]) - - test_right = self.transform(self.proj_left, self.proj_right, self.coords_left) - test_left = self.transform(self.proj_right, self.proj_left, self.coords_right) - - results1 = list_count_matches(test_right, self.coords_right, tolerances[1]) - results2 = list_count_matches(test_left, self.coords_left, tolerances[0]) - - return (results1[0] + results2[0], results1[1] + results2[1]) - - def runner_roundtrip(self, **kwargs): - """ - rountrip test using pyproj. - - times - number roundtrips to perform - tolerance - TODO explain the structure of why this is a list - - return tuple (num_matches, num_no_matches) - """ - times = None - - # get variables - times = int(kwargs.get('times')) - tolerances = kwargs.get('tolerances', [0.0000000000001, 0.0000000000001]) - - # keep the transformations separate, so as to not cross contaminate the - # results. - - # process roundtrip for the left coordinates - Test 1 - test1_left = self.coords_left - for i in range(times): - test1_right = self.transform(self.proj_left, self.proj_right, test1_left) - test1_left = self.transform(self.proj_right, self.proj_left, test1_right) - - # process roundtrip for the right coordinates - Test 2 - test2_right = self.coords_right - for i in range(times): - test2_left = self.transform(self.proj_right, self.proj_left, test2_right) - test2_right = self.transform(self.proj_left, self.proj_right, test2_left) - - results = ( - list_count_matches(test1_right, self.coords_right, tolerances[1]), - list_count_matches(test1_left, self.coords_left, tolerances[0]), - list_count_matches(test2_right, self.coords_right, tolerances[1]), - list_count_matches(test2_left, self.coords_left, tolerances[0]) - ) - - return tuple(sum(x) for x in lzip(*results)) - - # TODO: Untested. Not useful for GIGS. - def runner_onedirection(self, **kwargs): - """ - Perform a conversion in only one direction, not both. Useful for - testing convergence of a coordinate system. - - return tuple (num_matches, num_no_matches) - """ - # get variables - direction = kwargs.get('direction') - # get tolerance, if not set tolerance to a precise value - tolerances = kwargs.get('tolerances', [0.0000000000001, 0.0000000000001]) - - if direction not in ('left-to-right', 'right-to-left'): - raise ValueError('direction must be left-to-right or right-to-left, not: {0}'.format(direction)) - - if direction == 'left-to-right': - test_dest_right = self.transform(self.proj_left, self.proj_right, self.coords_left) - results = list_count_matches(test_dest_right, self.coords_right, tolerances[1]) - elif direction == 'right-to-left': - test_dest_left = self.transform(self.proj_right, self.proj_left, self.coords_right) - results = list_count_matches(test_dest_left, self.coords_left, tolerances[0]) - else: - raise RuntimeError('Unexpected state of value direction "{0}" in runner_onedirection'.format(direction)) - - return results - - # placeholder function - def transform(self, src_crs, dst_crs, coords): - pass - - def dispatch(self): - """ - main - """ - matches, no_matches = 0, 0 - - # convert to tuple - run_tests = self.run_test_args, - if self.run_test_args is None: - run_tests = ('conversion', 'roundtrip') - - logging.info('Testing: {0}'.format(self.testobj['description'])) - - for test in self.testobj['tests']: - m_res, nm_res = None, None - if test['type'] not in run_tests: - # skip test - continue - - if test['type'] == 'conversion': - m_res, nm_res = self.runner_conversion(**test) - elif test['type'] == 'roundtrip': - m_res, nm_res = self.runner_roundtrip(**test) - - if nm_res == 0: - logging.info(" {0}... All {1} match.".format(test['type'], m_res)) - else: - logging.info(" {0}... matches: {1} doesn't match: {2}" - "".format(test['type'], m_res, nm_res)) - - matches += m_res - no_matches += nm_res - - return matches, no_matches - - # placeholder function -- TODO How should this be exposed? - def driver_info(self): - return "base class" - - -class TransformTestPyProj(TransformTestBase): - """ - TransformTest uses pyproj to run tests. - """ - def __init__(self, json_dict, kwargs): - # call super class - TransformTestBase.__init__(self, json_dict, kwargs) - - # setup projections - try: - self.proj_left = pyproj.Proj(json_dict['projections'][0], preserve_units=True) - except RuntimeError as e: - logging.error('pyproj raised a RuntimeError for projection string:' - ' "{0}"'.format(json_dict['projections'][0])) - raise RuntimeError(e) - try: - self.proj_right = pyproj.Proj(json_dict['projections'][1], preserve_units=True) - except RuntimeError as e: - logging.error('pyproj raised a RuntimeError for projection string:' - ' "{0}"'.format(json_dict['projections'][1])) - raise RuntimeError(e) - - def transform(self, src_crs, dst_crs, coords): - return self.pyproj_transform_ex(src_crs, dst_crs, coords) - - def driver_info(self): - return 'pyproj {0}\nproj4 {1}\n'.format( - pyproj.__version__, self.proj4_version()) - - # TODO: currently dead code, unneeded for the pyproj repo. version - # as of 2016-05-24. - def proj4_version(): - """ - Gives the proj.4 library's version number. (requires pyproj) - returns string, so proj.4 version 4.9.3 will return "4.9.3" - """ - try: - return pyproj.proj_version_str - except AttributeError: - # for pyproj versions 1.9.5.1 and before, this will run - # Get PROJ4 version in a floating point number - proj4_ver_num = pyproj.Proj(proj='latlong').proj_version - - # convert float into a version string (4.90 becomes '4.9.0') - return '.'.join(str(int(proj4_ver_num * 100))) - - def pyproj_transform_ex(self, proj_src, proj_dst, coords): - """ - wrapper for pyproj.transform to do all the zipping of the coordinates - - returns coordinate list - """ - # are these coordinate triples? - if len(coords[0]) == 3: - xi, yi, zi = lzip(*coords) - xo, yo, zo = pyproj.transform(proj_src, proj_dst, xi, yi, zi) - return lzip(xo, yo, zo) - - # assume list of coordinate pairs - xi, yi = lzip(*coords) - xo, yo = pyproj.transform(proj_src, proj_dst, xi, yi) - return lzip(xo, yo) - - -class TransformTestCs2cs(TransformTestBase): - def __init__(self, json_dict, kwargs): - # call super class - TransformTestBase.__init__(self, json_dict, kwargs) - - # copy proj4 projection strings - self.proj_left, self.proj_right = json_dict['projections'] - - self.exe = kwargs.get('exe', 'cs2cs') - - # when the exe is not the default, check if the file exists - if self.exe == 'cs2cs' or not os.path.isfile(self.exe): - raise RuntimeError('cannot find cs2cs executable file: {}' - ''.format(self.exe)) - - def transform(self, src_crs, dst_crs, coords): - # send points to a temporary file - # TODO Should this use with statement? - tmpfn = NamedTemporaryFile(mode='w+t', delete=False) - for point in coords: - # convert list of float values into a list of strings - point = [str(e) for e in point] - # print('POINT: {}'.format(point)) - tmpfn.write(' '.join(point) + '\n') - - tmpfn.flush() - command = "{exe} {proj_from} +to {proj_to} -f %.13f {filename}".format( - exe=self.exe, proj_from=src_crs, proj_to=dst_crs, filename=tmpfn.name) - tmpfn.close() - - logging.debug('Running Popen on command "{0}"'.format(command)) - - if platform.system() == 'Windows': - shell = False - else: - # shell=True according to the subprocess documentation has some - # security implications - # Linux seems to need this - shell = True - - # call cs2cs - outs = subprocess.check_output(command, shell=shell) - - # delete temporary filename - os.unlink(tmpfn.name) - - # print('RESULTS OUTS: {}\n'.format(outs)) - # print('RESULTS ERRS: {}\n'.format(errs)) - - # outs - # print('RESULTS LINE: {}\n'.format([line.split() for line in outs])) - coords = [] - - # process output - for line in outs.splitlines(): - # print("LINE: {}".format(line)) - coord = [] - for e in line.split(): - coord.append(float(e)) - - coords.append(coord) - - # print('COORDS: {}\n'.format(coords)) - return coords - - def driver_info(self): - shell = True # see transform() for info. - if platform.system() == 'Windows': - shell = False - - outs = subprocess.check_output(self.exe, shell=shell) - return 'PROJ.4 version: ' + outs.splitlines()[0] + '\n' - - -if __name__ == '__main__': - # logging.basicConfig(level=logging.DEBUG) - logging.basicConfig(level=logging.INFO) - - parser = argparse.ArgumentParser(description='Test PROJ.4 using a JSON file.') - parser.add_argument('-e', '--exe', - help="executable with path default: 'cs2cs' (needed for cs2cs driver)") - - parser.add_argument('-d', '--driver', default='pyproj', - help='driver to test') - - parser.add_argument('-t', '--test', - help='only run these test types (valid values: conversion or roundtrip)') - - # get json file names and/or glob patterns - parser.add_argument('testnames_pat_json', nargs=argparse.REMAINDER, - help='single filename or glob wildcard patern') - - args = parser.parse_args() - - # test that the arguments have sensible values - if args.driver not in ('cs2cs', 'pyproj'): - raise ValueError('driver "{}" is not a valid driver'.format(args.driver)) - - logging.info('Python {}'.format(sys.version)) - logging.info('using driver: {}'.format(args.driver)) - - # there could be a version command for the TransformRunner TODO - - match_results, nonmatch_results, success_code = 0, 0, 0 - for test_name in args.testnames_pat_json: - tratst = TransformRunner(test_name, driver=args.driver, exe=args.exe, - test=args.test) - m_res, nm_res, success_cd = tratst.dispatch() - match_results += m_res - nonmatch_results += nm_res - success_code += success_cd - - logging.info("----------------------------------------") - logging.info("TOTAL: matches: {0} non-matching: {1}" - "".format(match_results, nonmatch_results)) - - # exit status code is the number of non-matching results - # This should play nicely with Travis and similar testing. - sys.exit(success_code) -- cgit v1.2.3