[SCM] PostGIS branch master updated. 3.5.0-68-g41eae976e
git at osgeo.org
git at osgeo.org
Fri Nov 15 14:48:27 PST 2024
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 41eae976e5d955e41db2934124315d6cf63fb712 (commit)
from ddb7dfa0519108baf41faead8b6c682703a371b1 (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 41eae976e5d955e41db2934124315d6cf63fb712
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Nov 15 23:48:01 2024 +0100
Include default origin value for ST_Square documentation
Also fix a misleading information about SRID of returned square
diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml
index 63c250664..819527f6b 100644
--- a/doc/reference_constructor.xml
+++ b/doc/reference_constructor.xml
@@ -1217,7 +1217,7 @@ FROM admin0 WHERE name = 'Canada'
<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>
+ <paramdef choice="opt"><type>geometry</type> <parameter>origin='POINT(0 0)'</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -1228,7 +1228,11 @@ FROM admin0 WHERE name = 'Canada'
<para>Uses the same square tiling concept as <xref linkend="ST_SquareGrid"/>, but generates just one square at the desired cell coordinate. Optionally,
can adjust origin coordinate of the tiling, the default origin is at 0,0.
</para>
- <para>Squares are generated with no SRID set, so use <xref linkend="ST_SetSRID"/> to set the SRID to the one you expect.</para>
+
+ <para>
+Squares are generated with the SRID of the given origin.
+Use <xref linkend="ST_SetSRID"/> to set the SRID if the given origin
+has an unknown SRID (as is the case by default).</para>
<para role="availability" conformance="3.1.0">Availability: 3.1.0</para>
</refsection>
-----------------------------------------------------------------------
Summary of changes:
doc/reference_constructor.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list