[SCM] PostGIS branch master updated. 3.5.0-172-g52b3d645d
git at osgeo.org
git at osgeo.org
Wed Dec 18 09:43:10 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 52b3d645d9069f2a2d3263c6d3001e7a213477c8 (commit)
from 7efdd0242c761618c85522af72b8c701c9c7c5fe (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 52b3d645d9069f2a2d3263c6d3001e7a213477c8
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Dec 18 18:42:40 2024 +0100
Fix examples of updating a topogeometry via ST_Buffer (shrink)
diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml
index 8fa4afc25..4aaa1f112 100644
--- a/doc/extras_topology.xml
+++ b/doc/extras_topology.xml
@@ -3607,7 +3607,7 @@ Layer 1, type Polygonal (3), 15 topogeoms
<programlisting><![CDATA[
-- Shrink all TopoGeometry polygons by 10 meters
-UPDATE nei_topo SET topo = ST_Buffer(clearTopoGeom(topo), -10);
+UPDATE nei_topo SET topo = toTopoGeom(ST_Buffer(topo, -10), clearTopoGeom(topo), 0);
-- Get the no-one-lands left by the above operation
-- I think GRASS calls this "polygon0 layer"
@@ -3757,7 +3757,7 @@ objects and any dependent object in higher hierarchical levels.
<title>Examples</title>
<programlisting>
-- Shrink all TopoGeometry polygons by 10 meters
-UPDATE nei_topo SET topo = ST_Buffer(clearTopoGeom(topo), -10);
+UPDATE nei_topo SET topo = toTopoGeom(ST_Buffer(topo, -10), clearTopoGeom(topo), 0);
</programlisting>
</refsection>
-----------------------------------------------------------------------
Summary of changes:
doc/extras_topology.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list