[postgis-commits] svn - r2896 - trunk/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Wed Jul 30 07:05:00 PDT 2008


Author: robe
Date: 2008-07-30 07:05:00 -0700 (Wed, 30 Jul 2008)
New Revision: 2896

Modified:
   trunk/doc/reference.xml
   trunk/doc/reference_new.xml
Log:
Move over ST_WKTToSQL and also defined ST_GeometryFromText (didn't see it in the old docs, but its not deprecated and is a popular variant)

Modified: trunk/doc/reference.xml
===================================================================
--- trunk/doc/reference.xml	2008-07-30 11:41:23 UTC (rev 2895)
+++ trunk/doc/reference.xml	2008-07-30 14:05:00 UTC (rev 2896)
@@ -2543,17 +2543,6 @@
       </varlistentry>
 
       <varlistentry>
-        <term>ST_WKTToSQL</term>
-
-        <listitem>
-          <para>Return an ST_Geometry value for a given well-known text
-          representation.</para>
-
-          <para>SQL-MM 3: 5.1.34</para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
         <term>ST_X</term>
 
         <listitem>

Modified: trunk/doc/reference_new.xml
===================================================================
--- trunk/doc/reference_new.xml	2008-07-30 11:41:23 UTC (rev 2895)
+++ trunk/doc/reference_new.xml	2008-07-30 14:05:00 UTC (rev 2896)
@@ -1114,12 +1114,51 @@
 		<para><xref linkend="ST_AsEWKT" />, <xref linkend="ST_GeomFromText" />, <xref linkend="ST_GeomFromEWKT" /></para>
 	  </refsection>
 	</refentry>
-	  <refentry id="ST_GeomFromText">
+	<refentry id="ST_GeometryFromText">
 		  <refnamediv>
+			<refname>ST_GeometryFromText</refname>
+			<refpurpose>Return a specified ST_Geometry value from Well-Known Text representation (WKT).  This is an alias name for ST_GeomFromText</refpurpose>
+		  </refnamediv>		
+		  <refsynopsisdiv>
+			<funcsynopsis>
+			  <funcprototype>
+				<funcdef>geometry <function>ST_GeometryFromText</function></funcdef>
+				<paramdef><type>text </type> <parameter>WKT</parameter></paramdef>
+			  </funcprototype>
+			  <funcprototype>
+				<funcdef>geometry <function>ST_GeometryFromText</function></funcdef>
+				<paramdef><type>text </type> <parameter>WKT</parameter></paramdef>
+				<paramdef><type>integer </type> <parameter>srid</parameter></paramdef>
+			  </funcprototype>
+			</funcsynopsis>
+		  </refsynopsisdiv>
+		  <refsection>
+			<title>Description</title>
+			<!-- Optionally mention OpenGIS compliancy if appropriate -->
+			<para><inlinemediaobject>
+				<imageobject>
+				  <imagedata fileref="images/check.png" />
+				</imageobject>
+			  </inlinemediaobject> This method implements the <ulink
+			url="http://www.opengeospatial.org/standards/sfs">OpenGIS Simple Features
+			Implementation Specification for SQL.</ulink></para>
+			<para><inlinemediaobject>
+				<imageobject>
+				  <imagedata fileref="images/check.png" />
+				</imageobject>
+			  </inlinemediaobject> This method implements the SQL/MM specification:
+			SQL-MM 3: 5.1.40</para>
+		  </refsection>
+		  <refsection>
+			<title>See Also</title>
+			<para><xref linkend="ST_GeomFromText" /></para>
+		  </refsection>
+	</refentry>
+	<refentry id="ST_GeomFromText">
+		  <refnamediv>
 			<refname>ST_GeomFromText</refname>
 			<refpurpose>Return a specified ST_Geometry value from Well-Known Text representation (WKT).</refpurpose>
-		  </refnamediv>
-		
+		  </refnamediv>		
 		  <refsynopsisdiv>
 			<funcsynopsis>
 			  <funcprototype>
@@ -1465,6 +1504,39 @@
 		<para><xref linkend="ST_Collect" /></para>
 	  </refsection>
 	</refentry>
+	<refentry id="ST_WKTToSQL">
+		  <refnamediv>
+			<refname>ST_WKTToSQL</refname>
+			<refpurpose>Return a specified ST_Geometry value from Well-Known Text representation (WKT).  This is an alias name for ST_GeomFromText</refpurpose>
+		  </refnamediv>		
+		  <refsynopsisdiv>
+			<funcsynopsis>
+			  <funcprototype>
+				<funcdef>geometry <function>ST_WKTToSQL</function></funcdef>
+				<paramdef><type>text </type> <parameter>WKT</parameter></paramdef>
+			  </funcprototype>
+			  <funcprototype>
+				<funcdef>geometry <function>ST_WKTToSQL</function></funcdef>
+				<paramdef><type>text </type> <parameter>WKT</parameter></paramdef>
+				<paramdef><type>integer </type> <parameter>srid</parameter></paramdef>
+			  </funcprototype>
+			</funcsynopsis>
+		  </refsynopsisdiv>
+		  <refsection>
+			<title>Description</title>
+			<!-- Optionally mention OpenGIS compliancy if appropriate -->
+			<para><inlinemediaobject>
+				<imageobject>
+				  <imagedata fileref="images/check.png" />
+				</imageobject>
+			  </inlinemediaobject> This method implements the SQL/MM specification:
+			SQL-MM 3: 5.1.34</para>
+		  </refsection>
+		  <refsection>
+			<title>See Also</title>
+			<para><xref linkend="ST_GeomFromText" /></para>
+		  </refsection>
+	</refentry>
   </sect1>
    
   <sect1>



More information about the postgis-commits mailing list