aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-04-15 23:47:40 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-04-15 21:48:11 +0000
commite4d0c40f8247214bc0069fc6eafc13122464e413 (patch)
treef3c2672f50650c2769bdf09a3b1f970756125ce2 /test
parente03a9aacec01aa8082304c192f34fd26b95a5e11 (diff)
downloadPROJ-e4d0c40f8247214bc0069fc6eafc13122464e413.tar.gz
PROJ-e4d0c40f8247214bc0069fc6eafc13122464e413.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 b3c84f74..49627874 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -6389,6 +6389,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