diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-11-22 10:31:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-22 10:31:56 +0100 |
| commit | a34a5cd1e8ae1db245601cb45d162ffc216e95bb (patch) | |
| tree | 5fb8e58ba236c3637dc47f07474b6da73e452513 /test | |
| parent | e1630d007ee7614a220221df5a7a417a775d48ad (diff) | |
| parent | 55335038504a298a51a0da8cca380cb247695378 (diff) | |
| download | PROJ-a34a5cd1e8ae1db245601cb45d162ffc216e95bb.tar.gz PROJ-a34a5cd1e8ae1db245601cb45d162ffc216e95bb.zip | |
Merge pull request #680 from busstoptaktik/oss_fuzz-4355_rf-zero
Avoid div-by-zero in rf setup
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/ellipsoid.gie | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/gie/ellipsoid.gie b/test/gie/ellipsoid.gie index 120e407d..63901bc9 100644 --- a/test/gie/ellipsoid.gie +++ b/test/gie/ellipsoid.gie @@ -118,4 +118,37 @@ accept -90 0 expect -1.56904 0 ------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +Shape parameters +------------------------------------------------------------------------------- +operation proj=utm zone=32 ellps=GRS80 rf=0 +expect failure + +operation proj=utm zone=32 ellps=GRS80 es=1 +expect failure + +operation proj=utm zone=32 ellps=GRS80 b=0 +expect failure + +operation proj=utm zone=32 ellps=GRS80 b=6000000 +accept 12 55 +expect 699293.0880 5674591.5295 + +operation proj=utm zone=32 ellps=GRS80 rf=300 +accept 12 55 +expect 691873.1212 6099054.9661 + +operation proj=utm zone=32 ellps=GRS80 f=0.00333333333333 +accept 12 55 +expect 691873.1212 6099054.9661 + +operation proj=utm zone=32 ellps=GRS80 b=6000000 +accept 12 55 +expect 699293.0880 5674591.5295 + +operation proj=utm zone=32 a=6400000 b=6000000 +accept 12 55 +expect 700416.5900 5669475.8884 +------------------------------------------------------------------------------- + END |
