[SCM] PostGIS branch master updated. 3.4.0rc1-833-gca6adcb6d
git at osgeo.org
git at osgeo.org
Fri Dec 8 14:15:44 PST 2023
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 ca6adcb6dfee76fa0bb5035f484f3862b0d205c7 (commit)
from 6a3ec1d928a19f655c49487021d3e6f1775b765c (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 ca6adcb6dfee76fa0bb5035f484f3862b0d205c7
Author: Martin Davis <mtnclimb at gmail.com>
Date: Fri Dec 8 14:15:42 2023 -0800
Update doc to use modern named param syntax
diff --git a/doc/reference_cluster.xml b/doc/reference_cluster.xml
index 0432df691..cb4b4b8e8 100644
--- a/doc/reference_cluster.xml
+++ b/doc/reference_cluster.xml
@@ -93,7 +93,7 @@
</mediaobject>
</informalfigure>
<programlisting><![CDATA[
-SELECT name, ST_ClusterDBSCAN(geom, eps := 50, minpoints := 2) over () AS cid
+SELECT name, ST_ClusterDBSCAN(geom, eps => 50, minpoints => 2) over () AS cid
FROM boston_polys
WHERE name > '' AND building > ''
AND ST_DWithin(geom,
@@ -140,7 +140,7 @@ WHERE name > '' AND building > ''
</para>
<programlisting>
SELECT cid, ST_Collect(geom) AS cluster_geom, array_agg(parcel_id) AS ids_in_cluster FROM (
- SELECT parcel_id, ST_ClusterDBSCAN(geom, eps := 0.5, minpoints := 5) over () AS cid, geom
+ SELECT parcel_id, ST_ClusterDBSCAN(geom, eps => 0.5, minpoints => 5) over () AS cid, geom
FROM parcels) sq
GROUP BY cid;
</programlisting>
@@ -381,10 +381,10 @@ select
ST_ClusterKMeans(
ST_Force4D(
ST_Transform(ST_Force3D(geom), 4978), -- cluster in 3D XYZ CRS
- mvalue := population -- set clustering to be weighed by population
+ mvalue => population -- set clustering to be weighed by population
),
20, -- aim to generate at least 20 clusters
- max_radius := 3000000 -- but generate more to make each under 3000 km radius
+ max_radius => 3000000 -- but generate more to make each under 3000 km radius
) over () as cid
from
kontur_population;
@@ -447,7 +447,7 @@ from
of at least one other geometry in the same cluster.
Distances are Cartesian distances in the units of the SRID.
</para>
- <para>ST_ClusterWithin is equivalent to running <xref linkend="ST_ClusterDBSCAN"/> with <code>minpoints := 0</code>.</para>
+ <para>ST_ClusterWithin is equivalent to running <xref linkend="ST_ClusterDBSCAN"/> with <code>minpoints => 0</code>.</para>
<para role="availability" conformance="2.2.0">Availability: 2.2.0</para>
<para>&curve_support;</para>
@@ -511,7 +511,7 @@ GEOMETRYCOLLECTION(LINESTRING(6 6,7 7))
of at least one other geometry in the same cluster.
Distances are Cartesian distances in the units of the SRID.
</para>
- <para>ST_ClusterWithinWin is equivalent to running <xref linkend="ST_ClusterDBSCAN"/> with <code>minpoints := 0</code>.</para>
+ <para>ST_ClusterWithinWin is equivalent to running <xref linkend="ST_ClusterDBSCAN"/> with <code>minpoints => 0</code>.</para>
<para role="availability" conformance="3.4.0">Availability: 3.4.0</para>
<para>&curve_support;</para>
-----------------------------------------------------------------------
Summary of changes:
doc/reference_cluster.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list