From 4f061dbb054e1bce3442adbdd681df2069e6f405 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 18 Nov 2009 19:53:17 +0000 Subject: [PATCH] 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 --- doc/reference_editor.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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) -- 2.50.1