[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-789-g2b97eba35

git at osgeo.org git at osgeo.org
Tue May 3 22:05:01 PDT 2022


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  2b97eba3571d7a8dd2fd54450aa10abba91c2118 (commit)
      from  82538c6ea15feaa618c4595cada99912c95cd53c (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 2b97eba3571d7a8dd2fd54450aa10abba91c2118
Author: Regina Obe <lr at pcorp.us>
Date:   Wed May 4 01:04:55 2022 -0400

    Scale optimal alpha shape input  so the image is visible

diff --git a/doc/html/image_src/st_optimalalphashape01.wkt b/doc/html/image_src/st_optimalalphashape01.wkt
index 4388c4fa4..e3c970706 100644
--- a/doc/html/image_src/st_optimalalphashape01.wkt
+++ b/doc/html/image_src/st_optimalalphashape01.wkt
@@ -1 +1 @@
-POLYGON((8.9 5.3,9.1 5.0,8.7 4.2,9.0 3.0,8.8 2.9,8.4 1.9,7.8 1.6,7.3 1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3.0 2.2,2.8 3.3,2.3 3.6,2.6 4.4,2.7 5.4,2.3 6.0,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5 9.0,4.9 9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,7.5 7.7,8.3 7.2,8.5 7.1,8.3 6.4,8.8 5.8,8.9 5.3))
+POLYGON((134 80,136 75,130 63,135 45,132 44,126 28,117 24,110 24,98 24,80 27,64 28,56 34,45 33,42 50,34 54,39 66,40 81,34 90,36 100,40 116,36 123,39 128,51 129,58 132,68 135,74 142,78 147,86 146,96 146,108 142,114 132,112 126,112 116,125 108,128 106,125 96,132 87,134 80))
diff --git a/doc/html/image_src/st_optimalalphashape02.wkt b/doc/html/image_src/st_optimalalphashape02.wkt
index 6964ff736..e3c970706 100644
--- a/doc/html/image_src/st_optimalalphashape02.wkt
+++ b/doc/html/image_src/st_optimalalphashape02.wkt
@@ -1 +1 @@
-POLYGON((8.9 5.3,9.1 5.0,8.7 4.2,9.0 3.0,8.8 2.9,8.4 1.9,7.8 1.6,7.3 1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3.0 2.2,2.8 3.3,2.3 3.6,2.6 4.4,2.7 5.4,2.3 6.0,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5 9.0,4.9 9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,7.5 7.7,8.3 7.2,8.5 7.1,8.3 6.4,8.8 5.8,8.9 5.3),(3.6 6.1,3.6 6.8,4.0 7.5,4.3 8.0,5.0 8.6,6.0 8.1,6.8 7.3,7.7 6.7,8.1 6.0,8.2 5.4,8.1 4.7,7.8 4.3,8.1 2.9,7.6 2.7,7.0 2.0,6.2 2.2,5.5 2.6,5.4 3.2,4.8 3.4,4.4 4.2,3.8 4.6,3.6 6.1))
+POLYGON((134 80,136 75,130 63,135 45,132 44,126 28,117 24,110 24,98 24,80 27,64 28,56 34,45 33,42 50,34 54,39 66,40 81,34 90,36 100,40 116,36 123,39 128,51 129,58 132,68 135,74 142,78 147,86 146,96 146,108 142,114 132,112 126,112 116,125 108,128 106,125 96,132 87,134 80))
diff --git a/doc/reference_sfcgal.xml b/doc/reference_sfcgal.xml
index bce684e04..f9c2c1058 100644
--- a/doc/reference_sfcgal.xml
+++ b/doc/reference_sfcgal.xml
@@ -1261,8 +1261,12 @@ FROM ST_Subdivide(ST_Letters('CH'),5) WITH ORDINALITY AS sd(geom,i)
         <caption><para>Concave Hull of a MultiPoint</para></caption>
       </mediaobject>
     </informalfigure>
-         <programlisting>SELECT ST_AsText(ST_AlphaShape('MultiPoint ((6.3 8.4),(7.6 8.8),(6.8 7.3),(5.3 1.8),(9.1 5),(8.1 7),(8.8 2.9),(2.4 8.2),(3.2 5.1),(3.7 2.3),(2.7 5.4),(8.4 1.9),(7.5 8.7),(4.4 4.2),(7.7 6.7),(9 3),(3.6 6.1),(3.2 6.5),(8.1 4.7),(8.8 5.8),(6.8 7.3),(4.9 9.5),(8.1 6),(8.7 5),(7.8 1.6),(7.9 2.1),(3 2.2),(7.8 4.3),(2.6 8.5),(4.8 3.4),(3.5 3.5),(3.6 4),(3.1 7.9),(8.3 2.9),(2.7 8.4),(5.2 9.8),(7.2 9.5),(8.5 7.1),(7.5 8.4),(7.5 7.7),(8.1 2.9),(7.7 7.3),(4.1 4.2),(8.3 7.2),(2.3 3.6),(8.9 5.3),(2.7 5.7),(5.7 9.7),(2.7 7.7),(3.9 8.8),(6 8.1),(8 7.2),(5.4 3.2),(5.5 2.6),(6.2 2.2),(7 2),(7.6 2.7),(8.4 3.5),(8.7 4.2),(8.2 5.4),(8.3 6.4),(6.9 8.6),(6 9),(5 8.6),(4.3 8),(3.6 7.3),(3.6 6.8),(4 7.5),(2.4 6.7),(2.3 6),(2.6 4.4),(2.8 3.3),(4 3.2),(4.3 1.9),(6.5 1.6),(7.3 1.6),(3.8 4.6),(3.1 5.9),(3.4 8.6),(4.5 9),(6.4 9.7))
-'::geometry));</programlisting>
+         <programlisting>SELECT ST_AsText(ST_AlphaShape('MultiPoint ((6.3 8.4),(7.6 8.8),(6.8 7.3),(5.3 1.8),(9.1 5),(8.1 7),
+         (8.8 2.9),(2.4 8.2),(3.2 5.1),(3.7 2.3),(2.7 5.4),(8.4 1.9),(7.5 8.7),(4.4 4.2),(7.7 6.7),(9 3),(3.6 6.1),(3.2 6.5),(8.1 4.7),(8.8 5.8),(6.8 7.3),(4.9 9.5),
+         (8.1 6),(8.7 5),(7.8 1.6),(7.9 2.1),(3 2.2),(7.8 4.3),(2.6 8.5),(4.8 3.4),(3.5 3.5),(3.6 4),(3.1 7.9),(8.3 2.9),(2.7 8.4),(5.2 9.8),(7.2 9.5),(8.5 7.1),
+         (7.5 8.4),(7.5 7.7),(8.1 2.9),(7.7 7.3),(4.1 4.2),(8.3 7.2),(2.3 3.6),(8.9 5.3),(2.7 5.7),(5.7 9.7),(2.7 7.7),(3.9 8.8),(6 8.1),
+         (8 7.2),(5.4 3.2),(5.5 2.6),(6.2 2.2),(7 2),(7.6 2.7),(8.4 3.5),(8.7 4.2),(8.2 5.4),(8.3 6.4),(6.9 8.6),(6 9),(5 8.6),(4.3 8),(3.6 7.3),
+         (3.6 6.8),(4 7.5),(2.4 6.7),(2.3 6),(2.6 4.4),(2.8 3.3),(4 3.2),(4.3 1.9),(6.5 1.6),(7.3 1.6),(3.8 4.6),(3.1 5.9),(3.4 8.6),(4.5 9),(6.4 9.7))'::geometry));</programlisting>
           <screen>POLYGON((8.9 5.3,9.1 5,8.7 4.2,9 3,8.4 1.9,7.8 1.6,7.3 1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3 2.2,2.8 3.3,2.3 3.6,2.6 4.4,2.7 5.4,2.3 6,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5 9,4.9 9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,8.3 7.2,8.5 7.1,8.8 5.8,8.9 5.3))</screen>
         </para>
 
@@ -1310,10 +1314,10 @@ FROM ST_Subdivide(ST_Letters('CH'),5) WITH ORDINALITY AS sd(geom,i)
 
          <para>Computes the "optimal" alpha-shapes of the set of geometry.
 
-            CGAL can automatically found the optimal value of alpha. This version use it to find an "optimal" alpha-shapes.
+            CGAL can automatically find the optimal value of alpha. This version uses it to find an "optimal" alpha-shape.
             The result is a single polygon. It will not contain holes unless the optional <varname>param_allow_holes</varname> argument is specified as true.
 
-            The result will be generated such as the number of solid component of the alpha shape is equal to or smaller than <varname>param_nb_components</varname>.</para>
+            The result will be generated such that the number of solid component of the alpha shape is equal to or smaller than <varname>param_nb_components</varname>.</para>
 
 		<para>Availability: 3.3.0 - requires SFCGAL >= 1.4.1.</para>
 		<para>&sfcgal_required;</para>
@@ -1333,9 +1337,17 @@ FROM ST_Subdivide(ST_Letters('CH'),5) WITH ORDINALITY AS sd(geom,i)
         <caption><para>Concave Hull of a MultiPoint</para></caption>
       </mediaobject>
     </informalfigure>
-         <programlisting>SELECT ST_AsText(ST_OptimalAlphaShape('MultiPoint ((6.3 8.4),(7.6 8.8),(6.8 7.3),(5.3 1.8),(9.1 5),(8.1 7),(8.8 2.9),(2.4 8.2),(3.2 5.1),(3.7 2.3),(2.7 5.4),(8.4 1.9),(7.5 8.7),(4.4 4.2),(7.7 6.7),(9 3),(3.6 6.1),(3.2 6.5),(8.1 4.7),(8.8 5.8),(6.8 7.3),(4.9 9.5),(8.1 6),(8.7 5),(7.8 1.6),(7.9 2.1),(3 2.2),(7.8 4.3),(2.6 8.5),(4.8 3.4),(3.5 3.5),(3.6 4),(3.1 7.9),(8.3 2.9),(2.7 8.4),(5.2 9.8),(7.2 9.5),(8.5 7.1),(7.5 8.4),(7.5 7.7),(8.1 2.9),(7.7 7.3),(4.1 4.2),(8.3 7.2),(2.3 3.6),(8.9 5.3),(2.7 5.7),(5.7 9.7),(2.7 7.7),(3.9 8.8),(6 8.1),(8 7.2),(5.4 3.2),(5.5 2.6),(6.2 2.2),(7 2),(7.6 2.7),(8.4 3.5),(8.7 4.2),(8.2 5.4),(8.3 6.4),(6.9 8.6),(6 9),(5 8.6),(4.3 8),(3.6 7.3),(3.6 6.8),(4 7.5),(2.4 6.7),(2.3 6),(2.6 4.4),(2.8 3.3),(4 3.2),(4.3 1.9),(6.5 1.6),(7.3 1.6),(3.8 4.6),(3.1 5.9),(3.4 8.6),(4.5 9),(6.4 9.7))
-'::geometry));</programlisting>
-          <screen>POLYGON((8.9 5.3,9.1 5,8.7 4.2,9 3,8.8 2.9,8.4 1.9,7.8 1.6,7.3 1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3 2.2,2.8 3.3,2.3 3.6,2.6 4.4,2.7 5.4,2.3 6,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5 9,4.9 9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,7.5 7.7,8.3 7.2,8.5 7.1,8.3 6.4,8.8 5.8,8.9 5.3))</screen>
+         <programlisting>SELECT ST_AsText(ST_OptimalAlphaShape('MULTIPOINT((94 126),(114 132),(102 110),(80 27),
+         (136 75),(122 105),(132 44),(36 123),(48 76),(56 34),(40 81),(126 28),(112 130),(66 63),(116 100),(135 45),
+         (54 92),(48 98),(122 70),(132 87),(102 110),(74 142),(122 90),(130 75),(117 24),(118 32),(45 33),(117 64),
+         (39 128),(72 51),(52 52),(54 60),(46 118),(125 44),(40 126),(78 147),(108 142),(128 106),(112 126),(112 116),
+         (122 44),(116 110),(61 63),(125 108),(34 54),(134 80),(40 86),(86 146),(40 116),(58 132),(90 122),(120 108),
+         (81 48),(82 39),(93 33),(105 30),(114 40),(126 52),(130 63),(123 81),(125 96),(104 129),(90 135),(75 129),
+         (64 120),(54 110),(54 102),(60 112),(36 100),(34 90),(39 66),(42 50),(60 48),(64 28),(98 24),(110 24),(57 69),
+         (46 88),(51 129),(68 135),(96 146))'::geometry));</programlisting>
+          <screen>POLYGON((134 80,136 75,130 63,135 45,132 44,126 28,117 24,110 24,98 24,80 27,64 28,56 34,45 33,42 50,34 54,
+          39 66,40 81,34 90,36 100,40 116,36 123,39 128,51 129,58 132,68 135,74 142,78 147,86 146,96 146,108 142,
+          114 132,112 126,112 116,125 108,128 106,125 96,132 87,134 80))</screen>
         </para>
 
 <para>
@@ -1347,9 +1359,17 @@ FROM ST_Subdivide(ST_Letters('CH'),5) WITH ORDINALITY AS sd(geom,i)
         <caption><para>Concave Hull of a MultiPoint, allowing holes</para></caption>
       </mediaobject>
     </informalfigure>
-         <programlisting>SELECT ST_AsText(ST_OptimalAlphaShape('MultiPoint ((6.3 8.4),(7.6 8.8),(6.8 7.3),(5.3 1.8),(9.1 5),(8.1 7),(8.8 2.9),(2.4 8.2),(3.2 5.1),(3.7 2.3),(2.7 5.4),(8.4 1.9),(7.5 8.7),(4.4 4.2),(7.7 6.7),(9 3),(3.6 6.1),(3.2 6.5),(8.1 4.7),(8.8 5.8),(6.8 7.3),(4.9 9.5),(8.1 6),(8.7 5),(7.8 1.6),(7.9 2.1),(3 2.2),(7.8 4.3),(2.6 8.5),(4.8 3.4),(3.5 3.5),(3.6 4),(3.1 7.9),(8.3 2.9),(2.7 8.4),(5.2 9.8),(7.2 9.5),(8.5 7.1),(7.5 8.4),(7.5 7.7),(8.1 2.9),(7.7 7.3),(4.1 4.2),(8.3 7.2),(2.3 3.6),(8.9 5.3),(2.7 5.7),(5.7 9.7),(2.7 7.7),(3.9 8.8),(6 8.1),(8 7.2),(5.4 3.2),(5.5 2.6),(6.2 2.2),(7 2),(7.6 2.7),(8.4 3.5),(8.7 4.2),(8.2 5.4),(8.3 6.4),(6.9 8.6),(6 9),(5 8.6),(4.3 8),(3.6 7.3),(3.6 6.8),(4 7.5),(2.4 6.7),(2.3 6),(2.6 4.4),(2.8 3.3),(4 3.2),(4.3 1.9),(6.5 1.6),(7.3 1.6),(3.8 4.6),(3.1 5.9),(3.4 8.6),(4.5 9),(6.4 9.7))
-           '::geometry), allow_holes => true);</programlisting>
-          <screen>POLYGON((8.9 5.3,9.1 5,8.7 4.2,9 3,8.8 2.9,8.4 1.9,7.8 1.6,7.3 1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3 2.2,2.8 3.3,2.3 3.6,2.6 4.4,2.7 5.4,2.3 6,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5 9,4.9 9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,7.5 7.7,8.3 7.2,8.5 7.1,8.3 6.4,8.8 5.8,8.9 5.3),(3.6 6.1,3.6 6.8,4 7.5,4.3 8,5 8.6,6 8.1,6.8 7.3,7.7 6.7,8.1 6,8.2 5.4,8.1 4.7,7.8 4.3,8.1 2.9,7.6 2.7,7 2,6.2 2.2,5.5 2.6,5.4 3.2,4.8 3.4,4.4 4.2,3.8 4.6,3.6 6.1))</screen>
+         <programlisting>SELECT ST_AsText(ST_OptimalAlphaShape('MULTIPOINT((94 126),(114 132),(102 110),(80 27),(136 75),(122 105),(132 44),(36 123),
+         (48 76),(56 34),(40 81),(126 28),(112 130),(66 63),(116 100),(135 45),(54 92),(48 98),(122 70),(132 87),(102 110),(74 142),(122 90),(130 75),(117 24),
+         (118 32),(45 33),(117 64),(39 128),
+         (72 51),(52 52),(54 60),(46 118),(125 44),(40 126),(78 147),(108 142),(128 106),(112 126),(112 116),(122 44),(116 110),(61 63),(125 108),(34 54),(134 80),
+         (40 86),(86 146),(40 116),
+         (58 132),(90 122),(120 108),(81 48),(82 39),(93 33),(105 30),(114 40),(126 52),(130 63),(123 81),(125 96),(104 129),(90 135),(75 129),(64 120),(54 110),
+         (54 102),(60 112),(36 100),(34 90),(39 66),(42 50),(60 48),(64 28),(98 24),(110 24),(57 69),(46 88),(51 129),
+         (68 135),(96 146))'::geometry, allow_holes => true));</programlisting>
+          <screen>POLYGON((134 80,136 75,130 63,135 45,132 44,126 28,117 24,110 24,98 24,80 27,64 28,56 34,45 33,42 50,
+          34 54,39 66,40 81,34 90,36 100,40 116,36 123,39 128,51 129,58 132,68 135,74 142,78 147,86 146,96 146,108 142,
+          114 132,112 126,112 116,125 108,128 106,125 96,132 87,134 80))</screen>
         </para>
 	  </refsection>
       <refsection>

-----------------------------------------------------------------------

Summary of changes:
 doc/html/image_src/st_optimalalphashape01.wkt |  2 +-
 doc/html/image_src/st_optimalalphashape02.wkt |  2 +-
 doc/reference_sfcgal.xml                      | 40 ++++++++++++++++++++-------
 3 files changed, 32 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list