[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-8-g16da653
git at osgeo.org
git at osgeo.org
Wed Dec 16 16:00:39 PST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 16da653cbf29c4a1d6915462723948b6804b5f14 (commit)
from 5916f6eb00544138601c804cb7c72061dd8110bc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 16da653cbf29c4a1d6915462723948b6804b5f14
Author: Martin Davis <mtnclimb at gmail.com>
Date: Wed Dec 16 16:00:35 2020 -0800
Fix doc ST_Square typo
diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml
index 176a3ac..d231952 100644
--- a/doc/reference_constructor.xml
+++ b/doc/reference_constructor.xml
@@ -896,6 +896,52 @@ WHERE
</refsection>
</refentry>
+ <refentry id="ST_Hexagon">
+ <refnamediv>
+ <refname>ST_Hexagon</refname>
+ <refpurpose>Returns a single hexagon, using the provided edge size and
+ cell coordinate within the hexagon grid space.</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>geometry <function>ST_Hexagon</function></funcdef>
+ <paramdef><type>float8</type> <parameter>size</parameter></paramdef>
+ <paramdef><type>integer</type> <parameter>cell_i</parameter></paramdef>
+ <paramdef><type>integer</type> <parameter>cell_j</parameter></paramdef>
+ <paramdef choice="opt"><type>geometry</type> <parameter>origin</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>Uses the same hexagon tiling concept as <xref linkend="ST_HexagonGrid" />, but generates just one hexagon at the desired cell coordinate. Optionally,
+ can adjust origin coordinate of the tiling, the default origin is at 0,0.
+ </para>
+ <para>Hexagons are generated with no SRID set, so use <xref linkend="ST_SetSRID" /> to set the SRID to the one you expect.</para>
+
+ <para>Availability: 3.1.0</para>
+ </refsection>
+
+ <refsection>
+ <title>Example: Creating a hexagon at the origin</title>
+ <programlisting>SELECT ST_AsText(ST_SetSRID(ST_Hexagon(1.0, 0, 0), 3857));
+
+POLYGON((-1 0,-0.5
+ -0.866025403784439,0.5
+ -0.866025403784439,1
+ 0,0.5
+ 0.866025403784439,-0.5
+ 0.866025403784439,-1 0)) </programlisting>
+ </refsection>
+ <refsection>
+ <title>See Also</title>
+ <para><xref linkend="ST_TileEnvelope" />, <xref linkend="ST_HexagonGrid" />, <xref linkend="ST_Square" /></para>
+ </refsection>
+ </refentry>
<refentry id="ST_SquareGrid">
<refnamediv>
@@ -970,58 +1016,11 @@ WHERE
</refsection>
</refentry>
- <refentry id="ST_Hexagon">
- <refnamediv>
- <refname>ST_Hexagon</refname>
- <refpurpose>Returns a single hexagon, using the provided edge size and
- cell coordinate within the hexagon grid space.</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv>
- <funcsynopsis>
- <funcprototype>
- <funcdef>geometry <function>ST_Hexagon</function></funcdef>
- <paramdef><type>float8</type> <parameter>size</parameter></paramdef>
- <paramdef><type>integer</type> <parameter>cell_i</parameter></paramdef>
- <paramdef><type>integer</type> <parameter>cell_j</parameter></paramdef>
- <paramdef choice="opt"><type>geometry</type> <parameter>origin</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- </refsynopsisdiv>
-
- <refsection>
- <title>Description</title>
-
- <para>Uses the same hexagon tiling concept as <xref linkend="ST_HexagonGrid" />, but generates just one hexagon at the desired cell coordinate. Optionally,
- can adjust origin coordinate of the tiling, the default origin is at 0,0.
- </para>
- <para>Hexagons are generated with no SRID set, so use <xref linkend="ST_SetSRID" /> to set the SRID to the one you expect.</para>
-
- <para>Availability: 3.1.0</para>
- </refsection>
-
- <refsection>
- <title>Example: Creating a hexagon at the origin</title>
- <programlisting>SELECT ST_AsText(ST_SetSRID(ST_Hexagon(1.0, 0, 0), 3857));
-
-POLYGON((-1 0,-0.5
- -0.866025403784439,0.5
- -0.866025403784439,1
- 0,0.5
- 0.866025403784439,-0.5
- 0.866025403784439,-1 0)) </programlisting>
- </refsection>
- <refsection>
- <title>See Also</title>
- <para><xref linkend="ST_TileEnvelope" />, <xref linkend="ST_HexagonGrid" />, <xref linkend="ST_Square" /></para>
- </refsection>
- </refentry>
-
<refentry id="ST_Square">
<refnamediv>
<refname>ST_Square</refname>
<refpurpose>Returns a single square, using the provided edge size and
- cell coordinate within the hexagon grid space.</refpurpose>
+ cell coordinate within the square grid space.</refpurpose>
</refnamediv>
<refsynopsisdiv>
-----------------------------------------------------------------------
Summary of changes:
doc/reference_constructor.xml | 95 +++++++++++++++++++++----------------------
1 file changed, 47 insertions(+), 48 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list