postgis.git / summary / log / commit / refs

commit    edf4cd2b4522eff2ebe98f080574baf0337972a2
Author:   Sandro Santilli <strk@kbt.io>
Date:     Thu Feb 10 14:02:59 2022 +0000

    Document ST_Simplify signature taking 2 arguments


doc/reference_processing.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/reference_processing.xml b/doc/reference_processing.xml index 3b8295cd5..b3c3b8b45 100644 --- a/doc/reference_processing.xml +++ b/doc/reference_processing.xml @@ -2154,6 +2154,11 @@ MULTILINESTRING((76 175,90 161),(90 161,101 150),(126 125,126 156.25))) <refsynopsisdiv> <funcsynopsis> + <funcprototype> + <funcdef>geometry <function>ST_Simplify</function></funcdef> + <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef> + <paramdef><type>float</type> <parameter>tolerance</parameter></paramdef> + </funcprototype> <funcprototype> <funcdef>geometry <function>ST_Simplify</function></funcdef> <paramdef><type>geometry</type> <parameter>geomA</parameter></paramdef> @@ -2174,8 +2179,9 @@ MULTILINESTRING((76 175,90 161),(90 161,101 150),(126 125,126 156.25))) <para>The "preserve collapsed" flag will retain objects that would otherwise be too small given the tolerance. For example, a 1m long line simplified with a 10m - tolerance. If the preserve flag is given, the line will not disappear. This flag - is useful for rendering engines, to avoid having large numbers of very + tolerance. If <varname>preserveCollapsed</varname> argument is + specified as true, the line will not disappear. + This flag is useful for rendering engines, to avoid having large numbers of very small objects disappear from a map leaving surprising gaps.</para> <note><para>Note that returned geometry might lose its [parent: 2aab306b57fc]