diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-12-17 18:04:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-17 18:04:13 +0100 |
| commit | 74ae4b09bbc80edb44a123a8272014d15b7d4b8d (patch) | |
| tree | 066537112cdc8624136049fade9d61d0ca9ad8b8 /test/gie/axisswap.gie | |
| parent | 533207012bfd2c5de652b9df8b2104cad82b6988 (diff) | |
| download | PROJ-74ae4b09bbc80edb44a123a8272014d15b7d4b8d.tar.gz PROJ-74ae4b09bbc80edb44a123a8272014d15b7d4b8d.zip | |
Free format everywhere (#693)
* Free format now in cmd lines, in gie, and in init files
* Corrected handling of defaults
* Add demo of integrated definition and validation
* Repair stack-smashing memmove in get_init
* repair paralist corruption, clean up debug output
* Install test files for nmake builds
* Add many improvements following suggestions by @schwehr
* Be consistent in requiring lower case everywhere in gie.c
Also, this Fixes #703 and Fixes #697
Diffstat (limited to 'test/gie/axisswap.gie')
| -rw-r--r-- | test/gie/axisswap.gie | 118 |
1 files changed, 60 insertions, 58 deletions
diff --git a/test/gie/axisswap.gie b/test/gie/axisswap.gie index b9281ef7..7f0c366c 100644 --- a/test/gie/axisswap.gie +++ b/test/gie/axisswap.gie @@ -2,73 +2,75 @@ Tests for the axisswap operation ------------------------------------------------------------------------------- -BEGIN +<gie> -OPERATION +proj=axisswap +order=1,2,3,4 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT 1 2 3 4 -ROUNDTRIP 100 +operation proj=axisswap order=1,2,3,4 +tolerance 0.000001 m +accept 1 2 3 4 +expect 1 2 3 4 +roundtrip 100 -OPERATION +proj=axisswap +order=4,3,2,1 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT 4 3 2 1 -ROUNDTRIP 100 +operation proj=axisswap order=4,3,2,1 +tolerance 0.000001 m +accept 1 2 3 4 +expect 4 3 2 1 +roundtrip 100 -OPERATION +proj=axisswap +order=-1,-2,-3,-4 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT -1 -2 -3 -4 -ROUNDTRIP 100 +operation proj=axisswap order=-1,-2,-3,-4 +tolerance 0.000001 m +accept 1 2 3 4 +expect -1 -2 -3 -4 +roundtrip 100 -OPERATION +proj=axisswap +order=1,2,-3,4 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT 1 2 -3 4 -ROUNDTRIP 100 +operation proj=axisswap order=1,2,-3,4 +tolerance 0.000001 m +accept 1 2 3 4 +expect 1 2 -3 4 +roundtrip 100 -OPERATION +proj=axisswap +order=-1,2,3,4 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT -1 2 3 4 -ROUNDTRIP 100 +operation proj=axisswap order=-1,2,3,4 +tolerance 0.000001 m +accept 1 2 3 4 +expect -1 2 3 4 +roundtrip 100 -OPERATION +proj=axisswap +order=1,2,3,-4 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT 1 2 3 -4 -ROUNDTRIP 100 +operation proj=axisswap order=1,2,3,-4 +tolerance 0.000001 m +accept 1 2 3 4 +expect 1 2 3 -4 +roundtrip 100 -OPERATION +proj=axisswap +order=-2,1 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT -2 1 3 4 -ROUNDTRIP 100 -$ -OPERATION +proj=axisswap +order=3,-2,1 -TOLERANCE 0.000001 m -ACCEPT 1 2 3 4 -EXPECT 3 -2 1 4 -ROUNDTRIP 100 +operation proj=axisswap order=-2,1 +tolerance 0.000001 m +accept 1 2 3 4 +expect -2 1 3 4 +roundtrip 100 +operation proj=axisswap order=3,-2,1 +tolerance 0.000001 m +accept 1 2 3 4 +expect 3 -2 1 4 +roundtrip 100 -OPERATION proj=pipeline step proj=latlong step proj=axisswap order=1,2,3,4 angularunits -TOLERANCE 0.00001 m -ACCEPT 12 55 0 0 -EXPECT 12 55 0 0 -OPERATION +proj=pipeline +step +proj=latlong +step +proj=axisswap +order=-2,-1,3,4 +angularunits -TOLERANCE 0.00001 m -ACCEPT 12 55 0 0 -EXPECT -55 -12 0 0 +operation proj=pipeline + step proj=latlong + step proj=axisswap + order=1,2,3,4 + angularunits -------------------------------------------------------------------------------- -operation +proj=aea +ellps=GRS80 +lat_1=0 +lat_2=2 -------------------------------------------------------------------------------- -tolerance 0.00010 mm -accept 2 1 -expect 222571.608757106 110653.326743030 -ROUNDTRIP 100 +tolerance 0.00001 m +accept 12 55 0 0 +expect 12 55 0 0 + +operation proj=pipeline + step proj=latlong + step proj=axisswap + order=-2,-1,3,4 + angularunits + +tolerance 0.00001 m +accept 12 55 0 0 +expect -55 -12 0 0 -END +</gie> |
