From: Paul Ramsey Date: Wed, 18 Nov 2009 19:53:17 +0000 (+0000) Subject: Put constants reference in the example, so people see it (nobody reads documentation... X-Git-Tag: 1.5.0b1~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f061dbb054e1bce3442adbdd681df2069e6f405;p=postgis Put constants reference in the example, so people see it (nobody reads documentation) (#218) git-svn-id: http://svn.osgeo.org/postgis/trunk@4854 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_editor.xml b/doc/reference_editor.xml index 7b91cbea8..72baba965 100644 --- a/doc/reference_editor.xml +++ b/doc/reference_editor.xml @@ -638,11 +638,12 @@ MULTILINESTRING((-45.2 -33.2,-46 -32),(-29 -27,-30 -29.7,-36 -31,-45 -33)) Examples - SELECT ST_AsText(ST_CollectionExtract(ST_GeomFromText('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(POINT(0 0)))'),1)); - st_astext - --------------- - MULTIPOINT(0 0) - (1 row) + -- Constants: 1 == POINT, 2 == LINESTRING, 3 == POLYGON +SELECT ST_AsText(ST_CollectionExtract(ST_GeomFromText('GEOMETRYCOLLECTION(GEOMETRYCOLLECTION(POINT(0 0)))'),1)); +st_astext +--------------- +MULTIPOINT(0 0) +(1 row)