]> granicus.if.org Git - postgis/commitdiff
Add more explanation of type numbers.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 17 Nov 2009 20:05:07 +0000 (20:05 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 17 Nov 2009 20:05:07 +0000 (20:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4848 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_editor.xml

index 59e38e283ba802e981841d0c05f232ca098d3ef6..922b06bbc1a041d1059d6e3b5b6c9f5c6117e5b7 100644 (file)
@@ -610,7 +610,8 @@ MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33))
                        <refname>ST_CollectionExtract</refname>
 
                        <refpurpose>Given a GEOMETRYCOLLECTION, returns the a MULTI* geometry consisting only the specified type. Sub-geometries that are not
-                           the specified type are ignored.</refpurpose>
+                           the specified type are ignored. If there are no sub-geometries of the right type, an EMPTY collection will be returned. Only
+                           points, lines and polygons are supported. Type numbers are 1 == POINT, 2 == LINESTRING, 3 == POLYGON.</refpurpose>
                </refnamediv>
 
                <refsynopsisdiv>
@@ -628,7 +629,7 @@ MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33))
 
                        <para>Given a GEOMETRYCOLLECTION, returns the a MULTI* geometry consisting only the specified type. Sub-geometries that are not
                            the specified type are ignored. If there are no sub-geometries of the right type, an EMPTY collection will be returned. Only
-                           points, lines and polygons are supported.</para>
+                           points, lines and polygons are supported. Type numbers are 1 == POINT, 2 == LINESTRING, 3 == POLYGON.</para>
 
                </refsection>