diff options
| author | Micah Cochran <micahcochran@users.noreply.github.com> | 2016-05-25 07:54:48 -0500 |
|---|---|---|
| committer | Micah Cochran <micahcochran@users.noreply.github.com> | 2016-05-25 07:54:48 -0500 |
| commit | 0b2d94b76f151504701672cda1a40df55273be69 (patch) | |
| tree | 98a249653e8341b7a0da2e502773b2dd779f3fa3 /test/gigs | |
| parent | 7b87c5209cc2dc0bd01c946e6bd9cbde9578a051 (diff) | |
| download | PROJ-0b2d94b76f151504701672cda1a40df55273be69.tar.gz PROJ-0b2d94b76f151504701672cda1a40df55273be69.zip | |
Reformat JSON files to be more human readable. Various TESTNOTES revisions.
Diffstat (limited to 'test/gigs')
| -rw-r--r-- | test/gigs/5101.2-jhs.json | 30 | ||||
| -rw-r--r-- | test/gigs/5101.3-jhs.json | 31 | ||||
| -rw-r--r-- | test/gigs/5101.4-jhs-etmerc.json | 32 | ||||
| -rw-r--r-- | test/gigs/5101.4-jhs.json | 34 | ||||
| -rw-r--r-- | test/gigs/5102.1.json | 30 | ||||
| -rw-r--r-- | test/gigs/5102.2.json | 27 | ||||
| -rw-r--r-- | test/gigs/5103.2.json | 22 | ||||
| -rw-r--r-- | test/gigs/5103.3.json | 21 | ||||
| -rw-r--r-- | test/gigs/5105.2.json | 10 | ||||
| -rw-r--r-- | test/gigs/5106.json | 6 | ||||
| -rw-r--r-- | test/gigs/5107.json | 27 | ||||
| -rw-r--r-- | test/gigs/5110.json | 8 | ||||
| -rw-r--r-- | test/gigs/5111.1.json | 41 | ||||
| -rw-r--r-- | test/gigs/5111.2.json | 41 | ||||
| -rw-r--r-- | test/gigs/5112.json | 16 | ||||
| -rw-r--r-- | test/gigs/TESTNOTES.md | 53 |
16 files changed, 379 insertions, 50 deletions
diff --git a/test/gigs/5101.2-jhs.json b/test/gigs/5101.2-jhs.json index c982c097..c03929ab 100644 --- a/test/gigs/5101.2-jhs.json +++ b/test/gigs/5101.2-jhs.json @@ -1,6 +1,32 @@ { -"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]]], +"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"}] +"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 index 29c97456..e7cc2dc3 100644 --- a/test/gigs/5101.3-jhs.json +++ b/test/gigs/5101.3-jhs.json @@ -1,6 +1,33 @@ { -"coordinates": [[[146.0, 80.0], [596813.055, 18885748.71]], [[146.0, 60.0], [778711.23, 16661953.04]], [[146.0, 40.0], [926893.302, 14439746.92]], [[146.0, 20.0], [1023538.687, 12219308.24]], [[146.0, 0.0], [1057087.12, 10000000.0]], [[146.0, -20.0], [1023538.687, 7780691.762]], [[146.0, -40.0], [926893.302, 5560253.083]], [[146.0, -60.0], [778711.23, 3338046.96]], [[146.0, -80.0], [596813.055, 1114251.292]], [[136.0, -60.0], [221288.77, 3338046.96]], [[137.0, -60.0], [276979.926, 3341842.798]], [[138.0, -60.0], [332705.179, 3344794.516]], [[139.0, -60.0], [388455.958, 3346902.565]], [[140.0, -60.0], [444223.733, 3348167.265]], [[141.0, -60.0], [500000.0, 3348588.81]], [[142.0, -60.0], [555776.267, 3348167.265]], [[143.0, -60.0], [611544.042, 3346902.565]], [[144.0, -60.0], [667294.821, 3344794.516]], [[145.0, -60.0], [723020.074, 3341842.798]], [[146.0, -60.0], [778711.23, 3338046.96]], [[147.0, -60.0], [834359.668, 3333406.428]], [[148.0, -60.0], [889956.701, 3327920.506]], [[149.0, -60.0], [945493.565, 3321588.377]]], +"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"}] +"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 index ab6b007e..1775f750 100644 --- a/test/gigs/5101.4-jhs-etmerc.json +++ b/test/gigs/5101.4-jhs-etmerc.json @@ -1 +1,31 @@ -{"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"}]} +{ +"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 index 7b54a958..81648735 100644 --- a/test/gigs/5101.4-jhs.json +++ b/test/gigs/5101.4-jhs.json @@ -1 +1,33 @@ -{"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", "+init=epsg:22175"], "tests": [{"tolerances": [2.7777777777777776e-07, 0.03], "type": "conversion"}, {"times": 1000, "tolerances": [5.555555555555556e-08, 0.006], "type": "roundtrip"}]}
\ No newline at end of file +{ +"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 index 548c81e6..28f74538 100644 --- a/test/gigs/5102.1.json +++ b/test/gigs/5102.1.json @@ -1 +1,29 @@ -{"coordinates": [[[5.0, 58.0], [760722.92, 3457368.68]], [[5.0, 57.0], [764566.844, 3343948.93]], [[5.0, 56.0], [768396.683, 3230944.812]], [[5.0, 55.0], [772213.973, 3118310.947]], [[5.0, 54.0], [776020.189, 3006003.839]], [[5.0, 53.0], [779816.748, 2893981.68]], [[4.0, 51.0], [717027.292, 2668695.784]], [[4.0, 50.0], [719385.249, 2557252.841]], [[4.0, 49.0], [721740.43, 2445941.161]], [[4.0, 46.8], [726915.752, 2201342.519]], [[3.0, 53.0], [644764.905, 2891124.195]], [[4.0, 53.0], [712299.916, 2892123.369]], [[5.0, 53.0], [779816.748, 2893981.68]], [[6.0, 53.0], [847304.473, 2896698.827]], [[7.0, 53.0], [914752.168, 2900274.371]], [[8.0, 53.0], [982148.913, 2904707.734]], [[9.0, 53.0], [1049483.8, 2909998.196]], [[10.0, 53.0], [1116745.929, 2916144.902]], [[11.0, 53.0], [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"}]}
\ No newline at end of file +{ +"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 index 10a1ca61..3916733a 100644 --- a/test/gigs/5102.2.json +++ b/test/gigs/5102.2.json @@ -1,6 +1,29 @@ { -"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.0], [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.0], [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]]], +"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"}] +"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 index 0fd0d291..c882393c 100644 --- a/test/gigs/5103.2.json +++ b/test/gigs/5103.2.json @@ -1 +1,21 @@ -{"coordinates": [[[-110.0, 49.0], [2003937.27, 6452491.7]], [[-110.0, 47.0], [2016621.93, 5717728.61]], [[-110.0, 45.0], [2029255.57, 4985920.56]], [[-110.0, 43.0], [2041855.08, 4256089.74]], [[-110.0, 41.0], [2054436.57, 3527302.73]], [[-110.0, 41.0], [2054436.57, 3527302.73]], [[-108.0, 41.0], [2606245.52, 3543182.55]], [[-106.0, 41.0], [3157542.86, 3571757.39]], [[-104.0, 41.0], [3708036.57, 3613012.12]], [[-102.0, 41.0], [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"}]}
\ No newline at end of file +{ +"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 index a56ec6e0..9a388af2 100644 --- a/test/gigs/5103.3.json +++ b/test/gigs/5103.3.json @@ -1 +1,20 @@ -{"coordinates": [[[-110.0, 49.0], [2003933.27, 6452478.8]], [[-110.0, 47.0], [2016617.9, 5717717.18]], [[-110.0, 45.0], [2029251.51, 4985910.59]], [[-110.0, 43.0], [2041851.0, 4256081.23]], [[-110.0, 41.0], [2054432.46, 3527295.67]], [[-110.0, 41.0], [2054432.46, 3527295.67]], [[-108.0, 41.0], [2606240.3, 3543175.46]], [[-106.0, 41.0], [3157536.54, 3571750.25]], [[-104.0, 41.0], [3708029.16, 3613004.9]], [[-102.0, 41.0], [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"}]}
\ No newline at end of file +{ +"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/5105.2.json b/test/gigs/5105.2.json index 30c0bd35..d811108d 100644 --- a/test/gigs/5105.2.json +++ b/test/gigs/5105.2.json @@ -14,8 +14,10 @@ [[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"}] +"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 index 44a65b54..cc741478 100644 --- a/test/gigs/5106.json +++ b/test/gigs/5106.json @@ -29,7 +29,7 @@ "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"} -] + {"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 index 68f9a694..58440028 100644 --- a/test/gigs/5107.json +++ b/test/gigs/5107.json @@ -1 +1,26 @@ -{"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, 0.0], [5000000.0, 10000000.0]], [[-45.0, 6.0], [5996378.70981775, 10671650.0559245]], [[-45.0, 0.0], [6001875.41713946, 10000000.0]], [[-45.0, -6.0], [5996378.70981775, 9328349.94407546]], [[-41.0, -13.0], [6409689.58687533, 8526306.26193173]], [[-38.0, -20.0], [6671808.91962898, 7707735.72987798]], [[-37.0, -24.0], [6725584.49172815, 7240461.99578364]], [[-36.0, -30.0], [6729619.73995286, 6543762.57643596]], [[-57.0, -30.0], [4710574.22343996, 6676097.81116979]], [[-54.0, -29.3674766667], [5000000.0, 6750000.0]], [[-47.0, -27.5], [5691318.14688622, 6937461.05067494]], [[-37.0, -24.0], [6725584.49172815, 7240461.99578364]], [[-30.0, 22.5], [7458947.7013321, 7313327.31691123]]], "description": "Test 5107, American Polyconic, v2-0_2011-06-28."} +{ +"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/5110.json b/test/gigs/5110.json index 68f17582..e9812ecf 100644 --- a/test/gigs/5110.json +++ b/test/gigs/5110.json @@ -1,5 +1,11 @@ { -"coordinates": [[[5.0, 70.0], [4127824.65822105, 5214090.649]], [[5.0, 60.0], [4041548.13, 4109791.66]], [[5.0, 50.0], [3962799.45, 2999718.853]], [[5.0, 40.0], [3892127.02, 1892578.962]], [[5.0, 30.0], [3830117.9, 796781.677]], [[10.0, 52.0], [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.", +"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 index 590c0cf6..25ca8572 100644 --- a/test/gigs/5111.1.json +++ b/test/gigs/5111.1.json @@ -1,8 +1,45 @@ { "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]] + [[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"}] +"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 index 58d4bdc1..03d43f41 100644 --- a/test/gigs/5111.2.json +++ b/test/gigs/5111.2.json @@ -1,7 +1,44 @@ { -"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]]], +"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"], +"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 index 7c9ec629..2b652933 100644 --- a/test/gigs/5112.json +++ b/test/gigs/5112.json @@ -1 +1,15 @@ -{"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"}]}
\ No newline at end of file +{ +"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/TESTNOTES.md b/test/gigs/TESTNOTES.md index dfb0bcac..771ba14b 100644 --- a/test/gigs/TESTNOTES.md +++ b/test/gigs/TESTNOTES.md @@ -17,6 +17,7 @@ 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 @@ -30,6 +31,7 @@ the event of any conflict or contradiction between the provisions of this docume 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 @@ -42,7 +44,7 @@ courts of England and Wales. ## INSTALLING ########################################################## - * Requires: Python 2.7 (currently not recommended) or 3.3+ + * Requires: Python 3.3+ (2.7 will work but is not recommended) * pyproj (optional but highly recommended), this speeds up tests, makes results more precise but has the trade-off of making installation a little more compilated @@ -51,48 +53,49 @@ courts of England and Wales. ### Installing pyproj ################################################## - * Install `pip` if not installed, should already be installed on new versions - (Python 2 >=2.7.9 or 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, python pip2 will be for - Python 2.x and pip3 for Python 3.x. pip could be an alias for either one. - * Upgrade `pip` (possibly not needed) + 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 - * Install pyproj - - requires a C/C++ compiler be usuable by python - - repository version requires Cython to be installed, releases do not require this + 3) Install pyproj + * requires a C/C++ compiler be usuable 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/ & + + * 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. - - Linux (default ./configure) + + * installing on Linux (default ./configure settings for PROJ.4) + ``` - $ sudo PROJ_DIR=/usr/local pip install pyproj + $ PROJ_DIR=/usr/local pip3 install pyproj ``` ## Running Tests ####################################################### -This defaults to using pyproj package. +When calling test_json.py it defaults to using pyproj driver. ``` $ python test_json.py 5*.json ``` -If you don't want to use pyproj, switch to the cs2cs driver. +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 ``` -Windows: -``` - C:\...> python test_json.py -e C:/osgeo4w/bin/cs2cs.exe -d cs2cs 5201.json -``` -The cs2cs driver is slower, but provides the flexibility to test -different cs2cs binaries. ## GIGS Test ########################################################### @@ -108,7 +111,7 @@ 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?) + 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) @@ -197,7 +200,7 @@ This is the computer time used for the process, not the actual run time. -### Random Notes ####################################################### +## 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 |
