From 2aaf2a6fb0e7957e8369bb08a515d30cafde1ff4 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Tue, 17 Nov 2009 20:05:07 +0000 Subject: [PATCH] Add more explanation of type numbers. git-svn-id: http://svn.osgeo.org/postgis/trunk@4848 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_editor.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/reference_editor.xml b/doc/reference_editor.xml index 59e38e283..922b06bbc 100644 --- a/doc/reference_editor.xml +++ b/doc/reference_editor.xml @@ -610,7 +610,8 @@ MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33)) ST_CollectionExtract Given a GEOMETRYCOLLECTION, returns the a MULTI* geometry consisting only the specified type. Sub-geometries that are not - the specified type are ignored. + 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. @@ -628,7 +629,7 @@ MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33)) 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. + points, lines and polygons are supported. Type numbers are 1 == POINT, 2 == LINESTRING, 3 == POLYGON. -- 2.40.0