From: Regina Obe Date: Mon, 25 Apr 2011 21:18:15 +0000 (+0000) Subject: #923: document fix X-Git-Tag: 2.0.0alpha1~1740 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=479db05fc1ca03200764149e36d780c7516beb4a;p=postgis #923: document fix git-svn-id: http://svn.osgeo.org/postgis/trunk@7063 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_accessor.xml b/doc/reference_accessor.xml index 195a64372..a4469ba50 100644 --- a/doc/reference_accessor.xml +++ b/doc/reference_accessor.xml @@ -929,9 +929,7 @@ postgis=# SELECT ST_IsCollection('GEOMETRYCOLLECTION(POINT(0 0))'::geometry); ST_IsEmpty - Returns true if this Geometry is an empty geometry. If - true, then this Geometry represents the empty point set - i.e. - GEOMETRYCOLLECTION(EMPTY). + Returns true if this Geometry is an empty geometrycollection, polygon, point etc. @@ -965,7 +963,7 @@ postgis=# SELECT ST_IsCollection('GEOMETRYCOLLECTION(POINT(0 0))'::geometry); Examples -SELECT ST_IsEmpty('GEOMETRYCOLLECTION(EMPTY)'); +SELECT ST_IsEmpty(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY')); st_isempty ------------ t diff --git a/liblwgeom/lwgeom_api.c b/liblwgeom/lwgeom_api.c index 04887e078..e833c6cbf 100644 --- a/liblwgeom/lwgeom_api.c +++ b/liblwgeom/lwgeom_api.c @@ -1389,7 +1389,7 @@ lwgeom_serialized_construct(int srid, int finalType, char hasz, char hasm, /* - * Construct the empty geometry (GEOMETRYCOLLECTION(EMPTY)). + * Construct the empty geometry (GEOMETRYCOLLECTION EMPTY). * * Returns serialized form */ @@ -1430,7 +1430,7 @@ lwgeom_empty_length(int srid) } /** - * Construct the empty geometry (GEOMETRYCOLLECTION(EMPTY)) + * Construct the empty geometry (GEOMETRYCOLLECTION EMPTY) * writing it into the provided buffer. */ void