[SCM] PostGIS branch master updated. 3.5.0-232-g9637dc369
git at osgeo.org
git at osgeo.org
Mon Mar 24 20:39:16 PDT 2025
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 9637dc369361ac118e1ad37da7a519dae9dfab5e (commit)
from d0e22f8867b685eee6e67cdeb1affe2666f61983 (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 9637dc369361ac118e1ad37da7a519dae9dfab5e
Author: Regina Obe <lr at pcorp.us>
Date: Mon Mar 24 11:48:32 2025 -0400
- Fix straight skeleton doco links
- Add image example for CG_StraightSkeletonPartition
diff --git a/doc/html/images/Makefile.in b/doc/html/images/Makefile.in
index 04c7e141e..1d638b7b0 100644
--- a/doc/html/images/Makefile.in
+++ b/doc/html/images/Makefile.in
@@ -46,6 +46,7 @@ GENERATED_IMAGES= \
cg_visibility03.png \
cg_ymonotonepartition01.png \
cg_ymonotonepartition02.png \
+ cg_straightskeletonpartition01.png \
de9im01.png \
de9im02.png \
st_alphashape01.png \
diff --git a/doc/html/images/wkt/cg_straightskeletonpartition01.wkt b/doc/html/images/wkt/cg_straightskeletonpartition01.wkt
new file mode 100644
index 000000000..7f305a64d
--- /dev/null
+++ b/doc/html/images/wkt/cg_straightskeletonpartition01.wkt
@@ -0,0 +1,9 @@
+ArgA;POLYGON((190 190,164.03987973986756 164.03987973986756,190 140))
+ArgB;POLYGON((10 190,40.697077206292434 159.30292279370755,164.03987973986756 164.03987973986756,190 190))
+ArgA;POLYGON((10 10,35 35,35 153.15077848154866,40.697077206292434 159.30292279370755,10 190))
+ArgB;POLYGON((190 10,184.18861169915812 15.811388300841896,158.3772233983162 20,50 20,35 35,10 10))
+ArgA;POLYGON((190 20,184.18861169915812 15.811388300841896,190 10))
+ArgB;POLYGON((160 30,158.3772233983162 20,184.18861169915812 15.811388300841896,190 20))
+ArgA;POLYGON((60 30,50 20,158.3772233983162 20,160 30))
+ArgB;POLYGON((60 130,35 153.15077848154866,35 35,50 20,60 30))
+ArgA;POLYGON((190 140,164.03987973986756 164.03987973986756,40.697077206292434 159.30292279370755,35 153.15077848154866,60 130))
\ No newline at end of file
diff --git a/doc/reference_sfcgal.xml b/doc/reference_sfcgal.xml
index 673d88528..45e88a42d 100644
--- a/doc/reference_sfcgal.xml
+++ b/doc/reference_sfcgal.xml
@@ -1809,7 +1809,7 @@ ST_GeomFromText('POLYHEDRALSURFACE Z( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),
<refsection>
<title>See Also</title>
- <para><xref linkend="CG_StraightSkeleton"/></para>
+ <para><xref linkend="CG_StraightSkeleton"/>, <xref linkend="CG_StraightSkeletonPartition"/></para>
</refsection>
</refentry>
@@ -2116,7 +2116,7 @@ ST_GeomFromText('POLYHEDRALSURFACE Z( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),
</refsection>
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_Extrude" />, <xref linkend="CG_StraightSkeleton" /></para>
+ <para><xref linkend="ST_Extrude" />, <xref linkend="CG_ExtrudeStraightSkeleton" />, <xref linkend="CG_StraightSkeleton" />, <xref linkend="CG_StraightSkeletonPartition" /> </para>
</refsection>
</refentry>
@@ -3032,10 +3032,39 @@ ST_GeomFromText('POLYHEDRALSURFACE Z( ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),
<title>Examples</title>
<programlisting>SELECT ST_AsText(CG_StraightSkeletonPartition('POLYGON((0 0, 4 0, 2 2, 0 0))', true));
-- Result: MULTIPOLYGON(((0 0,2 0.83,2 2)),((4 0,2 0.83,0 0)),((2 2,2 0.83,4 0)))</programlisting>
+
+ <programlisting>SELECT CG_StraightSkeletonPartition(ST_GeomFromText('POLYGON (( 190 190, 10 190, 10 10, 190 10, 190 20, 160 30, 60 30, 60 130, 190 140, 190 190 ))', true);</programlisting>
+ <informaltable>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry><para><informalfigure>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/st_straightskeleton01.png"/>
+ </imageobject>
+ <caption><para>Original polygon</para></caption>
+ </mediaobject>
+ </informalfigure></para>
+ </entry>
+ <entry><para><informalfigure>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/cg_straightskeletonpartition01.png"/>
+ </imageobject>
+ <caption><para>Straight Skeleton Partition of polygon</para></caption>
+ </mediaobject>
+ </informalfigure></para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
</refsection>
+
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_StraightSkeleton"/>, <xref linkend="ST_Polygonize"/></para>
+ <para><xref linkend="CG_StraightSkeleton"/>, <xref linkend="ST_Polygonize"/></para>
</refsection>
</refentry>
-----------------------------------------------------------------------
Summary of changes:
doc/html/images/Makefile.in | 1 +
.../images/wkt/cg_straightskeletonpartition01.wkt | 9 ++++++
doc/reference_sfcgal.xml | 35 ++++++++++++++++++++--
3 files changed, 42 insertions(+), 3 deletions(-)
create mode 100644 doc/html/images/wkt/cg_straightskeletonpartition01.wkt
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list