[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1207-ga53150336

git at osgeo.org git at osgeo.org
Tue Jul 11 13:28:52 PDT 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  a53150336c03aa34887a0f451240e9aaf6ee3d56 (commit)
      from  b21da4cec0b1578488baf85834eacaa66e6bd81d (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 a53150336c03aa34887a0f451240e9aaf6ee3d56
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Jul 11 13:28:31 2023 -0700

    Rename ST_CoverageInvalidEdges to ST_CoverageInvalidLocations

diff --git a/doc/html/images/Makefile.in b/doc/html/images/Makefile.in
index bbcad7cf5..4b00af880 100644
--- a/doc/html/images/Makefile.in
+++ b/doc/html/images/Makefile.in
@@ -87,7 +87,7 @@ GENERATED_IMAGES= \
 	st_concavehull03.png \
 	st_concavehull04.png \
 	st_convexhull01.png \
-	st_coverageinvalidlocations01.png \
+	ST_coverageinvalidedges01.png \
 	st_coveragesimplify01.png \
 	st_coveragesimplify02.png \
 	st_coverageunion01.png \
diff --git a/doc/html/images/wkt/st_coverageinvalidlocations01.wkt b/doc/html/images/wkt/st_coverageinvalidedges01.wkt
similarity index 100%
rename from doc/html/images/wkt/st_coverageinvalidlocations01.wkt
rename to doc/html/images/wkt/st_coverageinvalidedges01.wkt
diff --git a/doc/po/templates/reference_coverage.xml.pot b/doc/po/templates/reference_coverage.xml.pot
index e31aa0a63..63caae4fe 100644
--- a/doc/po/templates/reference_coverage.xml.pot
+++ b/doc/po/templates/reference_coverage.xml.pot
@@ -34,7 +34,7 @@ msgstr ""
 #. Tag: refname
 #: reference_coverage.xml:15
 #, no-c-format
-msgid "ST_CoverageInvalidLocations"
+msgid "ST_CoverageInvalidEdges"
 msgstr ""
 
 #. Tag: refpurpose
@@ -49,7 +49,7 @@ msgstr ""
 #: reference_coverage.xml:22
 #, no-c-format
 msgid ""
-"<funcdef>geometry <function>ST_CoverageInvalidLocations</function></funcdef> "
+"<funcdef>geometry <function>ST_CoverageInvalidEdges</function></funcdef> "
 "<paramdef><type>geometry winset </type> <parameter>geom</parameter></"
 "paramdef> <paramdef><type>float8 </type> <parameter>tolerance = 0</"
 "parameter></paramdef>"
@@ -156,7 +156,7 @@ msgid ""
 "  (4, 'POLYGON ((180 40, 120 10, 100 70, 140 80, 190 80, 180 40))'::"
 "geometry)\n"
 ")\n"
-"SELECT id, ST_AsText(ST_CoverageInvalidLocations(geom) OVER ())\n"
+"SELECT id, ST_AsText(ST_CoverageInvalidEdges(geom) OVER ())\n"
 "  FROM coverage;\n"
 "\n"
 " id |               st_astext\n"
@@ -174,7 +174,7 @@ msgstr ""
 msgid ""
 "-- Test entire table for coverage validity\n"
 "SELECT true = ALL (\n"
-"    SELECT ST_CoverageInvalidLocations(geom) OVER () IS NULL\n"
+"    SELECT ST_CoverageInvalidEdges(geom) OVER () IS NULL\n"
 "    FROM coverage\n"
 "    );"
 msgstr ""
@@ -253,7 +253,7 @@ msgstr ""
 msgid ""
 "If the input is not a valid coverage there may be unexpected artifacts in "
 "the output (such as boundary intersections, or separated boundaries which "
-"appeared to be shared). Use <xref linkend=\"ST_CoverageInvalidLocations\"/> "
+"appeared to be shared). Use <xref linkend=\"ST_CoverageInvalidEdges\"/> "
 "to determine if a coverage is valid."
 msgstr ""
 
@@ -336,7 +336,7 @@ msgstr ""
 msgid ""
 "If the input is not a valid coverage there may be unexpected artifacts in "
 "the output (such as unmerged or overlapping polygons). Use <xref "
-"linkend=\"ST_CoverageInvalidLocations\"/> to determine if a coverage is "
+"linkend=\"ST_CoverageInvalidEdges\"/> to determine if a coverage is "
 "valid."
 msgstr ""
 
diff --git a/doc/reference_coverage.xml b/doc/reference_coverage.xml
index 2bddc3b64..b6fc6250e 100644
--- a/doc/reference_coverage.xml
+++ b/doc/reference_coverage.xml
@@ -10,9 +10,9 @@
 
   <title>Coverages</title>
 
-  <refentry id="ST_CoverageInvalidLocations">
+  <refentry id="ST_CoverageInvalidEdges">
     <refnamediv>
-      <refname>ST_CoverageInvalidLocations</refname>
+      <refname>ST_CoverageInvalidEdges</refname>
 
       <refpurpose>Window function that finds locations where polygons fail to form a valid coverage.</refpurpose>
     </refnamediv>
@@ -20,7 +20,7 @@
     <refsynopsisdiv>
       <funcsynopsis>
         <funcprototype>
-          <funcdef>geometry <function>ST_CoverageInvalidLocations</function></funcdef>
+          <funcdef>geometry <function>ST_CoverageInvalidEdges</function></funcdef>
           <paramdef><type>geometry winset </type>
             <parameter>geom</parameter></paramdef>
           <paramdef><type>float8 </type>
@@ -72,7 +72,7 @@
         <informalfigure>
           <mediaobject>
               <imageobject>
-              <imagedata fileref="images/st_coverageinvalidlocations01.png" />
+              <imagedata fileref="images/st_coverageinvalidedges01.png" />
               </imageobject>
               <caption><para>Invalid edges caused by overlap and non-matching vertices</para></caption>
           </mediaobject>
@@ -84,7 +84,7 @@
   (3, 'POLYGON ((140 190, 190 190, 190 80, 140 80, 140 190))'::geometry),
   (4, 'POLYGON ((180 40, 120 10, 100 70, 140 80, 190 80, 180 40))'::geometry)
 )
-SELECT id, ST_AsText(ST_CoverageInvalidLocations(geom) OVER ())
+SELECT id, ST_AsText(ST_CoverageInvalidEdges(geom) OVER ())
   FROM coverage;
 
  id |               st_astext
@@ -97,7 +97,7 @@ SELECT id, ST_AsText(ST_CoverageInvalidLocations(geom) OVER ())
 
       <programlisting>-- Test entire table for coverage validity
 SELECT true = ALL (
-    SELECT ST_CoverageInvalidLocations(geom) OVER () IS NULL
+    SELECT ST_CoverageInvalidEdges(geom) OVER () IS NULL
     FROM coverage
     );
       </programlisting>
@@ -152,7 +152,7 @@ SELECT true = ALL (
       <para>To simplify only the "internal" edges of the coverage (those that are shared by two polygons) set the <parameter>simplifyBoundary</parameter> parameter to false.</para>
 
       <note><para>If the input is not a valid coverage there may be unexpected artifacts in the output (such as boundary intersections, or separated boundaries which appeared to be shared).
-      Use <xref linkend="ST_CoverageInvalidLocations" /> to determine if a coverage is valid.
+      Use <xref linkend="ST_CoverageInvalidEdges" /> to determine if a coverage is valid.
       </para></note>
 
       <para role="availability" conformance="3.4.0">Availability: 3.4.0 - requires GEOS >= 3.12.0</para>
@@ -211,7 +211,7 @@ SELECT id, ST_AsText(ST_CoverageSimplify(geom, 30) OVER ())
     <refsection>
       <title>See Also</title>
       <para>
-        <xref linkend="ST_CoverageInvalidLocations" />
+        <xref linkend="ST_CoverageInvalidEdges" />
       </para>
     </refsection>
 
@@ -244,7 +244,7 @@ SELECT id, ST_AsText(ST_CoverageSimplify(geom, 30) OVER ())
       </para>
 
       <note><para>If the input is not a valid coverage there may be unexpected artifacts in the output (such as unmerged or overlapping polygons).
-            Use <xref linkend="ST_CoverageInvalidLocations" /> to determine if a coverage is valid.
+            Use <xref linkend="ST_CoverageInvalidEdges" /> to determine if a coverage is valid.
       </para></note>
 
       <para role="availability" conformance="3.4.0">Availability: 3.4.0 - requires GEOS >= 3.8.0</para>
@@ -299,7 +299,7 @@ MULTIPOLYGON (((10 150, 80 190, 110 150, 140 80, 120 10, 10 10, 10 150), (50 60,
     <refsection>
       <title>See Also</title>
       <para>
-        <xref linkend="ST_CoverageInvalidLocations" />,
+        <xref linkend="ST_CoverageInvalidEdges" />,
         <xref linkend="ST_Union" />
       </para>
     </refsection>
diff --git a/postgis/lwgeom_window.c b/postgis/lwgeom_window.c
index af34e70fb..1132daa84 100644
--- a/postgis/lwgeom_window.c
+++ b/postgis/lwgeom_window.c
@@ -767,9 +767,9 @@ Datum ST_CoverageSimplify(PG_FUNCTION_ARGS)
 }
 
 
-extern Datum ST_CoverageInvalidLocations(PG_FUNCTION_ARGS);
-PG_FUNCTION_INFO_V1(ST_CoverageInvalidLocations);
-Datum ST_CoverageInvalidLocations(PG_FUNCTION_ARGS)
+extern Datum ST_CoverageInvalidEdges(PG_FUNCTION_ARGS);
+PG_FUNCTION_INFO_V1(ST_CoverageInvalidEdges);
+Datum ST_CoverageInvalidEdges(PG_FUNCTION_ARGS)
 {
 #if POSTGIS_GEOS_VERSION < 31200
 
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 016233f6d..c79ed40cb 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -4441,9 +4441,9 @@ CREATE OR REPLACE FUNCTION ST_CoverageSimplify (geom geometry, tolerance float8,
 	_COST_HIGH;
 
 -- Availability: 3.4.0
-CREATE OR REPLACE FUNCTION ST_CoverageInvalidLocations (geom geometry, tolerance float8 default 0.0)
+CREATE OR REPLACE FUNCTION ST_CoverageInvalidEdges (geom geometry, tolerance float8 default 0.0)
 	RETURNS geometry
-	AS 'MODULE_PATHNAME', 'ST_CoverageInvalidLocations'
+	AS 'MODULE_PATHNAME', 'ST_CoverageInvalidEdges'
 	LANGUAGE 'c' IMMUTABLE STRICT WINDOW PARALLEL SAFE
 	_COST_HIGH;
 
diff --git a/regress/core/coverage.sql b/regress/core/coverage.sql
index 287e66c75..f0d1f5a9b 100644
--- a/regress/core/coverage.sql
+++ b/regress/core/coverage.sql
@@ -3,7 +3,7 @@ CREATE TABLE coverage (id integer, seq integer, geom geometry);
 
 SELECT 'empty table a' AS test,
   id, ST_AsText(GEOM) AS input,
-  ST_AsText(ST_CoverageInvalidLocations(geom) OVER (partition by id)) AS invalid,
+  ST_AsText(ST_CoverageInvalidEdges(geom) OVER (partition by id)) AS invalid,
   ST_AsText(ST_CoverageSimplify(geom, 1.0) OVER (partition by id)) AS simple
 FROM coverage
 ORDER BY id, seq;
@@ -18,7 +18,7 @@ INSERT INTO coverage VALUES
 
 SELECT 'one partition a' AS test,
   id, seq, ST_AsText(GEOM) AS input,
-  ST_AsText(ST_CoverageInvalidLocations(geom) OVER (partition by id)) AS invalid,
+  ST_AsText(ST_CoverageInvalidEdges(geom) OVER (partition by id)) AS invalid,
   ST_AsText(ST_CoverageSimplify(geom, 1.0) OVER (partition by id)) AS simple
 FROM coverage
 ORDER BY id, seq;
@@ -31,7 +31,7 @@ INSERT INTO coverage VALUES
 
 SELECT 'two partition a' AS test,
   id, seq, ST_AsText(geom) AS input,
-  ST_AsText(ST_CoverageInvalidLocations(geom) OVER (partition by id)) AS invalid,
+  ST_AsText(ST_CoverageInvalidEdges(geom) OVER (partition by id)) AS invalid,
   ST_AsText(ST_CoverageSimplify(geom, 1.0) OVER (partition by id)) AS simple
 FROM coverage
 ORDER BY id, seq;
@@ -43,7 +43,7 @@ INSERT INTO coverage VALUES
 
 SELECT 'three partition a' AS test,
   id, seq, ST_AsText(geom) AS input,
-  ST_AsText(ST_CoverageInvalidLocations(geom) OVER (partition by id)) AS invalid,
+  ST_AsText(ST_CoverageInvalidEdges(geom) OVER (partition by id)) AS invalid,
   ST_AsText(ST_CoverageSimplify(geom, 1.0) OVER (partition by id)) AS simple
 FROM coverage
 ORDER BY id, seq;

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

Summary of changes:
 doc/html/images/Makefile.in                          |  2 +-
 ...locations01.wkt => st_coverageinvalidedges01.wkt} |  0
 doc/po/templates/reference_coverage.xml.pot          | 12 ++++++------
 doc/reference_coverage.xml                           | 20 ++++++++++----------
 postgis/lwgeom_window.c                              |  6 +++---
 postgis/postgis.sql.in                               |  4 ++--
 regress/core/coverage.sql                            |  8 ++++----
 7 files changed, 26 insertions(+), 26 deletions(-)
 rename doc/html/images/wkt/{st_coverageinvalidlocations01.wkt => st_coverageinvalidedges01.wkt} (100%)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list