[postgis-commits] svn - r2872 - in branches/1.3: doc lwgeom

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Mon Jul 21 06:41:31 PDT 2008


Author: robe
Date: 2008-07-21 06:41:31 -0700 (Mon, 21 Jul 2008)
New Revision: 2872

Modified:
   branches/1.3/doc/postgis.xml
   branches/1.3/lwgeom/lwpostgis.sql.in
Log:
deprecate ST_Area2D and update docs accordingly

Modified: branches/1.3/doc/postgis.xml
===================================================================
--- branches/1.3/doc/postgis.xml	2008-07-21 12:09:30 UTC (rev 2871)
+++ branches/1.3/doc/postgis.xml	2008-07-21 13:41:31 UTC (rev 2872)
@@ -4232,7 +4232,7 @@
 
         <variablelist>
           <varlistentry>
-            <term>ST_area2d(geometry)</term>
+            <term>ST_Area(geometry)</term>
 
             <listitem>
               <para>Returns the area of the geometry if it is a polygon or

Modified: branches/1.3/lwgeom/lwpostgis.sql.in
===================================================================
--- branches/1.3/lwgeom/lwpostgis.sql.in	2008-07-21 12:09:30 UTC (rev 2871)
+++ branches/1.3/lwgeom/lwpostgis.sql.in	2008-07-21 13:41:31 UTC (rev 2872)
@@ -1668,6 +1668,7 @@
 	LANGUAGE 'C' _IMMUTABLE_STRICT; -- WITH (isstrict);
 
 -- Availability: 1.2.2
+-- Deprecation in 1.3.4
 CREATEFUNCTION ST_area2d(geometry)
 	RETURNS FLOAT8
 	AS '@MODULE_FILENAME@', 'LWGEOM_area_polygon'



More information about the postgis-commits mailing list