From b3b94d4a5365cddc08372cc45e62a9fb500bfce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bartoletti?= Date: Tue, 24 Sep 2024 17:59:12 +0200 Subject: [PATCH] Add doc example for negative arguments (#1165) --- util/geosop/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/geosop/README.md b/util/geosop/README.md index 34741d3bc..3ba3b8e3a 100644 --- a/util/geosop/README.md +++ b/util/geosop/README.md @@ -78,7 +78,11 @@ It can be used to: * Compute the buffer with distance 10 of WKB geometries and output as WKT `geosop -a geoms.wkb -f wkt buffer 10` + +* To get around cmdline parset limitation for parsing negative numbers, you must replace '-' by 'N'. Same as previous, but compute the buffer with distance -10 + `geosop -a geoms.wkb -f wkt buffer N10` + * Compute the unary union of a set of WKT geometries and output as WKB * `unaryUnion` is an aggregate operation, so automatically collects all input geometries