]> granicus.if.org Git - postgis/commitdiff
added simplify() documentation
authorSandro Santilli <strk@keybit.net>
Tue, 16 Dec 2003 11:04:55 +0000 (11:04 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 16 Dec 2003 11:04:55 +0000 (11:04 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@411 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index ad16f5a75446e73afec3c9759b489eca27bfb742..2ea8adde36f26454ab3df23efe654ae4a8fe7659 100644 (file)
@@ -2702,6 +2702,12 @@ FROM geometry_table;</literallayout>
                                        <listitem> 
                                                <para>Returns the requested maxima of a bounding box.</para> 
                                        </listitem> 
+                               </varlistentry><varlistentry> 
+                                       <term>simplify(geometry, tolerance)</term> 
+                                       <listitem> 
+                                               <para>Returns a "simplified" version of the given geometry using the Douglas-Peuker algorithm. Will actually do something only with (multi)lines and (multi)polygons but you can safely call it
+with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function. Note that returned geometry might loose its simplicity (see isSimple)</para>
+                                       </listitem> 
                                </varlistentry> 
                        </variablelist>
                </sect1>