[postgis-tickets] [SCM] PostGIS branch master updated. b3fa5083d3d4d0457379775f6d40461926e012ad
git at osgeo.org
git at osgeo.org
Fri Jan 17 15:39:40 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 b3fa5083d3d4d0457379775f6d40461926e012ad (commit)
from 2073ffe7a98a502e564a0fdd0704cefe6a159989 (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 b3fa5083d3d4d0457379775f6d40461926e012ad
Author: Regina Obe <lr at pcorp.us>
Date: Fri Jan 17 18:39:30 2020 -0500
add a what is new for 3.1 and minor fixes to spacing and example for grids
diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml
index bce1aae..578edef 100644
--- a/doc/reference_constructor.xml
+++ b/doc/reference_constructor.xml
@@ -893,7 +893,7 @@ WHERE ST_Intersects(admin1.geom, hexes.geom)
</refsection>
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_TileEnvelope" /><xref linkend="ST_SquareGrid" /></para>
+ <para><xref linkend="ST_TileEnvelope" />, <xref linkend="ST_SquareGrid" /></para>
</refsection>
</refentry>
@@ -941,14 +941,14 @@ WHERE ST_Intersects(admin1.geom, hexes.geom)
)
SELECT Count(*), squares.geom
FROM pointtable pts
- JOIN ST_HexagonGrid(1000, bounds.geom) squares
+ JOIN ST_SquareGrid(1000, bounds.geom) squares
GROUP BY squares.geom
</programlisting>
</refsection>
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_TileEnvelope" /><xref linkend="ST_HexagonGrid" /></para>
+ <para><xref linkend="ST_TileEnvelope" />, <xref linkend="ST_HexagonGrid" /></para>
</refsection>
</refentry>
diff --git a/doc/xsl/postgis_aggs_mm.xml.xsl b/doc/xsl/postgis_aggs_mm.xml.xsl
index 5faff83..150dbc9 100644
--- a/doc/xsl/postgis_aggs_mm.xml.xsl
+++ b/doc/xsl/postgis_aggs_mm.xml.xsl
@@ -483,6 +483,107 @@
<sect1 id="NewFunctions">
<title>New, Enhanced or changed PostGIS Functions</title>
+ <sect2 id="NewFunctions_3_1">
+ <title>PostGIS Functions new or enhanced in 3.1</title>
+ <para>The functions given below are PostGIS functions that were added or enhanced.</para>
+ <xsl:if test="//para[contains(text(),'Availability: 3.1')]">
+ <para>Functions new in PostGIS 3.1</para>
+ <itemizedlist>
+ <!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment -->
+ <xsl:for-each select='//refentry'>
+ <xsl:sort select="refnamediv/refname"/>
+ <xsl:variable name='comment'>
+ <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), ' ', ' '))"/>
+ </xsl:variable>
+ <xsl:variable name="refid">
+ <xsl:value-of select="@id" />
+ </xsl:variable>
+
+ <xsl:variable name="refname">
+ <xsl:value-of select="refnamediv/refname" />
+ </xsl:variable>
+
+
+ <!-- For each section if there is note about availability in this version -->
+ <xsl:for-each select="refsection">
+ <xsl:for-each select="para | */para">
+ <xsl:choose>
+ <xsl:when test="contains(.,'Availability: 3.1')">
+ <listitem><simpara><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /><xsl:text> </xsl:text> <xsl:value-of select="$comment" /></simpara></listitem>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:for-each>
+ </itemizedlist>
+ </xsl:if>
+
+ <xsl:if test="//para[contains(text(),'Enhanced: 3.1')]">
+ <para>Functions enhanced in PostGIS 3.1</para>
+ <itemizedlist>
+ <!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment -->
+ <xsl:for-each select='//refentry'>
+ <xsl:sort select="refnamediv/refname"/>
+ <xsl:variable name='comment'>
+ <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), ' ', ' '))"/>
+ </xsl:variable>
+ <xsl:variable name="refid">
+ <xsl:value-of select="@id" />
+ </xsl:variable>
+
+ <xsl:variable name="refname">
+ <xsl:value-of select="refnamediv/refname" />
+ </xsl:variable>
+
+
+ <!-- For each section if there is note about availability in this version -->
+ <xsl:for-each select="refsection">
+ <xsl:for-each select="para | */para">
+ <xsl:choose>
+ <xsl:when test="contains(.,'Enhanced: 3.1')">
+ <listitem><simpara><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /><xsl:text> </xsl:text> <xsl:value-of select="$comment" /></simpara></listitem>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:for-each>
+ </itemizedlist>
+ </xsl:if>
+
+
+ <para>Functions changed in PostGIS 3.1</para>
+ <xsl:if test="//para[contains(text(),'Changed: 3.1')]">
+ <itemizedlist>
+ <!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment -->
+ <xsl:for-each select='//refentry'>
+ <xsl:sort select="refnamediv/refname"/>
+ <xsl:variable name='comment'>
+ <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), ' ', ' '))"/>
+ </xsl:variable>
+ <xsl:variable name="refid">
+ <xsl:value-of select="@id" />
+ </xsl:variable>
+
+ <xsl:variable name="refname">
+ <xsl:value-of select="refnamediv/refname" />
+ </xsl:variable>
+
+
+ <!-- For each section if there is note about availability in this version -->
+ <xsl:for-each select="refsection">
+ <xsl:for-each select="para | */para">
+ <xsl:choose>
+ <xsl:when test="contains(.,'Changed: 3.1')">
+ <listitem><simpara><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /><xsl:text> </xsl:text> <xsl:value-of select="$comment" /></simpara></listitem>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:for-each>
+ </itemizedlist>
+ </xsl:if>
+ </sect2>
+
<sect2 id="NewFunctions_3_0">
<title>PostGIS Functions new or enhanced in 3.0</title>
<para>The functions given below are PostGIS functions that were added or enhanced.</para>
-----------------------------------------------------------------------
Summary of changes:
doc/reference_constructor.xml | 6 +--
doc/xsl/postgis_aggs_mm.xml.xsl | 101 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+), 3 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list