[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-108-g7fba105

git at osgeo.org git at osgeo.org
Fri May 8 08:50:19 PDT 2020


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  7fba105294a1207dfa9949cbedc804ca4ff1aeb0 (commit)
       via  343bd459964cec07ca44c47850e49ad1747e0dc5 (commit)
      from  9e5df19ed0a3fca351fa6c72ea8ca702fb64da2e (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 7fba105294a1207dfa9949cbedc804ca4ff1aeb0
Merge: 343bd45 9e5df19
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri May 8 08:49:58 2020 -0700

    Merge branch 'master' of https://git.osgeo.org/gitea/postgis/postgis


commit 343bd459964cec07ca44c47850e49ad1747e0dc5
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri May 8 08:49:44 2020 -0700

    add a test using ST_MaximumInscribedCircle on the target list

diff --git a/regress/core/geos39.sql b/regress/core/geos39.sql
index b3a1d8f..38799f5 100644
--- a/regress/core/geos39.sql
+++ b/regress/core/geos39.sql
@@ -26,3 +26,9 @@ SELECT 'mic-point' AS name, st_astext(center) AS center,
        st_astext(nearest) AS nearest,
        round(radius::numeric,4) AS radius
 FROM ST_MaximumInscribedCircle('POINT(0 0)'::geometry);
+
+WITH p AS (
+	SELECT 'Polygon((0 0, 100 0, 100 100, 0 100, 0 0))'::geometry AS ply
+)
+SELECT 'mic-cte' AS name, ST_AsText((ST_MaximumInscribedCircle(ply)).center)
+	FROM p;
diff --git a/regress/core/geos39_expected b/regress/core/geos39_expected
index 8f7a584..29bf00b 100644
--- a/regress/core/geos39_expected
+++ b/regress/core/geos39_expected
@@ -4,3 +4,4 @@ mic-null|||
 mic-line|POINT(50 50)|POINT(50 0)|50.0000
 mic-mpoint|POINT(50 50)|POINT(0 0)|70.7107
 mic-point|POINT(0 0)|POINT(0 0)|0.0000
+mic-cte|POINT(50 50)

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

Summary of changes:
 regress/core/geos39.sql      | 6 ++++++
 regress/core/geos39_expected | 1 +
 2 files changed, 7 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list