]> granicus.if.org Git - postgis/commitdiff
Document ST_Dimension handling of empty geometries
authorSandro Santilli <strk@keybit.net>
Tue, 16 Feb 2010 08:03:03 +0000 (08:03 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 16 Feb 2010 08:03:03 +0000 (08:03 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5248 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_accessor.xml

index ba3be94a5f4edebcdee9e8ef2f7701ebd8aeba77..73b1193835fcfe8e7c4bd27e1984adbb90b4e417 100644 (file)
@@ -209,10 +209,14 @@ MULTIPOINT(-1 1 1,1 1 0.75)
                        be less than or equal to the coordinate dimension. OGC SPEC
                        s2.1.1.1 - returns 0 for <varname>POINT</varname>, 1 for <varname>LINESTRING</varname>, 2 for <varname>POLYGON</varname>, and
                        the largest dimension of the components of a
-                       <varname>GEOMETRYCOLLECTION</varname>.</para>
+                       <varname>GEOMETRYCOLLECTION</varname>.
+                       If unknown (empty geometry) null is returned.
+               </para>
 
                <para>&sqlmm_compliant; SQL-MM 3: 5.1.2</para>
 
+               <note> <para>Prior to 2.0.0, this function throws an exception if used with empty geometry. </para></note>
+
          </refsection>
 
          <refsection>