From 773583b448710ffec5ffd7ae653374e32299c144 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 15 Apr 2021 21:07:49 +0200 Subject: utm: error out when value of +zone= is not an integer (fixes #2671) --- test/gie/builtins.gie | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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 -- cgit v1.2.3