]> granicus.if.org Git - postgis/commitdiff
#923: document fix
authorRegina Obe <lr@pcorp.us>
Mon, 25 Apr 2011 21:18:15 +0000 (21:18 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 25 Apr 2011 21:18:15 +0000 (21:18 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7063 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_accessor.xml
liblwgeom/lwgeom_api.c

index 195a64372d2645b6eea51d70599a7cb7b56a885f..a4469ba5058ce5e61505bbeb3c29f8959c6366ec 100644 (file)
@@ -929,9 +929,7 @@ postgis=# SELECT ST_IsCollection('GEOMETRYCOLLECTION(POINT(0 0))'::geometry);
          <refnamediv>
                <refname>ST_IsEmpty</refname>
 
-               <refpurpose>Returns true if this Geometry is an empty geometry. If
-                               true, then this Geometry represents the empty point set - i.e.
-                               GEOMETRYCOLLECTION(EMPTY).</refpurpose>
+               <refpurpose>Returns true if this Geometry is an empty geometrycollection, polygon, point etc.</refpurpose>
 
          </refnamediv>
 
@@ -965,7 +963,7 @@ postgis=# SELECT ST_IsCollection('GEOMETRYCOLLECTION(POINT(0 0))'::geometry);
                <title>Examples</title>
 
                <programlisting>
-SELECT ST_IsEmpty('GEOMETRYCOLLECTION(EMPTY)');
+SELECT ST_IsEmpty(ST_GeomFromText('GEOMETRYCOLLECTION EMPTY'));
  st_isempty
 ------------
  t
index 04887e078b9f20b071c83b4e405ca5e436b99f0d..e833c6cbfe62362e1c4d0a84f46bc04de08d6bea 100644 (file)
@@ -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