[postgis-commits] svn - r3512 - trunk/doc
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Fri Jan 9 14:52:16 PST 2009
Author: robe
Date: 2009-01-09 14:52:16 -0800 (Fri, 09 Jan 2009)
New Revision: 3512
Modified:
trunk/doc/reference.xml
trunk/doc/reference_new.xml
Log:
Move over rest of miscellaneous -- NOTE st_find_srid does not exist - was never renamed from find_srid. Not sure its worth fixing since its rarely used anyway.
Modified: trunk/doc/reference.xml
===================================================================
--- trunk/doc/reference.xml 2009-01-09 19:17:03 UTC (rev 3511)
+++ trunk/doc/reference.xml 2009-01-09 22:52:16 UTC (rev 3512)
@@ -407,36 +407,6 @@
</varlistentry>
</variablelist>
</sect2>
-
- <sect2>
- <title>Misc</title>
-
- <variablelist>
- <varlistentry>
- <term>ST_find_srid(varchar,varchar,varchar)</term>
-
- <listitem>
- <para>The syntax is find_srid(<db/schema>, <table>,
- <column>) and the function returns the integer SRID of the
- specified column by searching through the GEOMETRY_COLUMNS table.
- If the geometry column has not been properly added with the
- AddGeometryColumns() function, this function will not work
- either.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry id="ST_Point_Inside_Circle">
- <term>ST_point_inside_circle(geometry, float, float, float)</term>
-
- <listitem>
- <para>The syntax for this functions is
- point_inside_circle(<geometry>,<circle_center_x>,<circle_center_y>,<radius>).
- Returns the true if the geometry is a point and is inside the
- circle. Returns false otherwise.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </sect2>
</sect1>
<sect1>
Modified: trunk/doc/reference_new.xml
===================================================================
--- trunk/doc/reference_new.xml 2009-01-09 19:17:03 UTC (rev 3511)
+++ trunk/doc/reference_new.xml 2009-01-09 22:52:16 UTC (rev 3512)
@@ -12111,6 +12111,55 @@
</refsection>
</refentry>
+ <refentry id="Find_SRID">
+ <refnamediv>
+ <refname>Find_SRID</refname>
+
+ <refpurpose>The syntax is find_srid(<db/schema>, <table>,
+ <column>) and the function returns the integer SRID of the
+ specified column by searching through the GEOMETRY_COLUMNS table.</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>integer <function>Find_SRID</function></funcdef>
+ <paramdef><type>varchar </type> <parameter>a_schema_name</parameter></paramdef>
+ <paramdef><type>varchar </type> <parameter>a_table_name</parameter></paramdef>
+ <paramdef><type>varchar </type> <parameter>a_geomfield_name</parameter></paramdef>
+ </funcprototype>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>The syntax is find_srid(<db/schema>, <table>,
+ <column>) and the function returns the integer SRID of the
+ specified column by searching through the GEOMETRY_COLUMNS table.
+ If the geometry column has not been properly added with the
+ AddGeometryColumns() function, this function will not work
+ either.</para>
+ </refsection>
+
+
+ <refsection>
+ <title>Examples</title>
+
+ <programlisting> SELECT Find_SRID('public', 'tiger_us_state_2007', 'the_geom_4269');
+find_srid
+----------
+4269
+</programlisting>
+ </refsection>
+
+ <!-- Optionally add a "See Also" section -->
+ <refsection>
+ <title>See Also</title>
+
+ <para><xref linkend="ST_SRID" /></para>
+ </refsection>
+ </refentry>
+
<refentry id="ST_Mem_Size">
<refnamediv>
<refname>ST_Mem_Size</refname>
@@ -12191,6 +12240,54 @@
<para></para>
</refsection>
</refentry>
+
+ <refentry id="ST_Point_Inside_Circle">
+ <refnamediv>
+ <refname>ST_Point_Inside_Circle</refname>
+
+ <refpurpose>Is the point geometry insert circle defined by center_x, center_y , radius</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>boolean <function>ST_Point_Inside_Circle</function></funcdef>
+ <paramdef><type>geometry </type> <parameter>a_point</parameter></paramdef>
+ <paramdef><type>float </type> <parameter>center_x</parameter></paramdef>
+ <paramdef><type>float </type> <parameter>center_y</parameter></paramdef>
+ <paramdef><type>float </type> <parameter>radius</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>The syntax for this functions is
+ point_inside_circle(<geometry>,<circle_center_x>,<circle_center_y>,<radius>).
+ Returns the true if the geometry is a point and is inside the
+ circle. Returns false otherwise.</para>
+ <para><note>This only works for points as the name suggests</note></para>
+ </refsection>
+
+
+ <refsection>
+ <title>Examples</title>
+
+ <programlisting>SELECT ST_Point_Inside_Circle(ST_Point(1,2), 0.5, 2, 3);
+ st_point_inside_circle
+------------------------
+ t
+</programlisting>
+ </refsection>
+
+ <!-- Optionally add a "See Also" section -->
+ <refsection>
+ <title>See Also</title>
+
+ <para><xref linkend="ST_DWithin" /></para>
+ </refsection>
+ </refentry>
<refentry id="ST_XMax">
<refnamediv>
More information about the postgis-commits
mailing list