From f89a64b8037f05d0838b5d0ec518ffe57d782637 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Mon, 6 Nov 2023 13:57:13 +1300 Subject: [PATCH] Allow geosop to accept isWKTLiteral with (e.g.) "point empty" --- util/geosop/GeosOp.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/geosop/GeosOp.cpp b/util/geosop/GeosOp.cpp index dda2c2e9ef..4e50cdc7db 100644 --- a/util/geosop/GeosOp.cpp +++ b/util/geosop/GeosOp.cpp @@ -214,7 +214,12 @@ std::vector> collect( std::vector(toupper(static_cast(c))); + if ( lastWord.compare(" EMPTY") == 0 ) return true; // assume if string contains a ( it is WKT auto numLParen = std::count(s.begin(), s.end(), '(');