aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-04-15 23:47:40 +0200
committerGitHub <noreply@github.com>2021-04-15 23:47:40 +0200
commit3d1c573dc9d9f56ced597554ad9fa1643f0a0ae9 (patch)
tree7ddd1b4827fa739a90d1ab3f9e004030479bc1cf /test
parenta850aac5e0de3f86f2e4cf29f211e88744db5133 (diff)
parent773583b448710ffec5ffd7ae653374e32299c144 (diff)
downloadPROJ-3d1c573dc9d9f56ced597554ad9fa1643f0a0ae9.tar.gz
PROJ-3d1c573dc9d9f56ced597554ad9fa1643f0a0ae9.zip
Merge pull request #2672 from rouault/utm_invalid_zone
utm: error out when value of +zone= is not an integer (fixes #2671)
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 8c0cf6d2..1f3824c8 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -6402,6 +6402,12 @@ operation +proj=utm +a=6400000 +zone=30
# utm not possible on sphere
expect failure errno invalid_op_illegal_arg_value
+-------------------------------------------------------------------------------
+# Test that we error out when the UTM zone is not an integer (#2671)
+-------------------------------------------------------------------------------
+operation +proj=utm +zone=11ooops +ellps=WGS84
+expect failure errno invalid_op_illegal_arg_value
+
===============================================================================
# van der Grinten (I)
# Misc Sph