[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.2-67-ga230dbc02

git at osgeo.org git at osgeo.org
Mon May 29 13:00:20 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, stable-3.3 has been updated
       via  a230dbc02753a4e96376f08ebfdb56a347a01e30 (commit)
       via  33d4a9b577046fbf478a23be46a86746b931a113 (commit)
       via  e4535a80e0e130265ea0e39cf6547e9e85f9bd1e (commit)
      from  4910a7ba66b30ef02f863b159933b96db910ec4d (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 a230dbc02753a4e96376f08ebfdb56a347a01e30
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon May 29 20:48:34 2023 +0200

    Don't use quad_segs<8, as newest GEOS will force a min of 8 anyway
    
    References #5391 in stable-3.3 branch (3.3.4dev)

diff --git a/regress/core/offsetcurve.sql b/regress/core/offsetcurve.sql
index 19623b65a..3bb1fcf9b 100644
--- a/regress/core/offsetcurve.sql
+++ b/regress/core/offsetcurve.sql
@@ -13,7 +13,7 @@ SELECT 't5b', ST_AsEWKT(ST_Normalize(ST_OffsetCurve(
  'SRID=42;LINESTRING(0 0, 10 0, 10 10)', 10)));
 SELECT 't6', ST_AsEWKT(ST_Normalize(ST_SnapToGrid(ST_OffsetCurve(
  'SRID=42;LINESTRING(0 0, 10 0, 10 10)', -10,
- 'quad_segs=2'),1)));
+ 'quad_segs=8'),1)));
 SELECT 't7', ST_AsEWKT(ST_Normalize(ST_OffsetCurve(
  'SRID=42;LINESTRING(0 0, 10 0, 10 10)', -10,
  'join=bevel'))
diff --git a/regress/core/offsetcurve_expected b/regress/core/offsetcurve_expected
index c06e01514..c3b00af60 100644
--- a/regress/core/offsetcurve_expected
+++ b/regress/core/offsetcurve_expected
@@ -6,7 +6,7 @@ t3|SRID=42;LINESTRING(0 -10,10 -10)
 t4|SRID=42;LINESTRING(0 10,10 10)
 t5|SRID=42;LINESTRING(0 -10,10 -10,12 -10,14 -9,16 -8,17 -7,18 -6,19 -4,20 -2,20 0,20 10)
 t5b|SRID=42;LINESTRING EMPTY
-t6|SRID=42;LINESTRING(0 -10,10 -10,17 -7,20 0,20 10)
+t6|SRID=42;LINESTRING(0 -10,10 -10,12 -10,14 -9,16 -8,17 -7,18 -6,19 -4,20 -2,20 0,20 10)
 t7|SRID=42;LINESTRING(0 -10,10 -10,20 0,20 10)
 t8|SRID=42;LINESTRING(0 -10,20 -10,20 10)
 t10|SRID=42;LINESTRING(0 2,7 2,3 9)

commit 33d4a9b577046fbf478a23be46a86746b931a113
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon May 29 21:10:09 2023 +0200

    Show obtained output on failure, in oriented_envelope test
    
    References #5391

diff --git a/regress/core/oriented_envelope.sql b/regress/core/oriented_envelope.sql
index 7029e18be..6d7c7c0e2 100644
--- a/regress/core/oriented_envelope.sql
+++ b/regress/core/oriented_envelope.sql
@@ -1,13 +1,12 @@
 -- It's strict
-SELECT 't1', ST_OrientedEnvelope(NULL::geometry) IS NULL;
+SELECT 't1', ST_OrientedEnvelope(NULL::geometry);
 -- Empty polygon on empty inputs
-SELECT 't2', ST_Equals(ST_OrientedEnvelope('POINT EMPTY'), 'POLYGON EMPTY'::geometry);
+SELECT 't2', ST_AsText(ST_OrientedEnvelope('POINT EMPTY'));
 -- SRID is preserved
-SELECT 't3', ST_SRID(ST_OrientedEnvelope('SRID=32611;POINT(4021690.58034526 6040138.01373556)')) = 32611;
+SELECT 't3', ST_SRID(ST_OrientedEnvelope('SRID=32611;POINT(4021690.58034526 6040138.01373556)'));
 -- Can return Point or LineString on degenerate inputs
-SELECT 't4', ST_Equals('LINESTRING (-1 -1, 2 2)', ST_OrientedEnvelope('MULTIPOINT ((0 0), (-1 -1), (2 2))'));
-SELECT 't5', ST_Equals('POINT (0.9625 2)', ST_OrientedEnvelope('POINT (0.9625 2)'));
+SELECT 't4', ST_AsText(ST_OrientedEnvelope('MULTIPOINT ((0 0), (-1 -1), (2 2))'));
+SELECT 't5', ST_AsText(ST_OrientedEnvelope('POINT (0.9625 2)'));
 -- Also works for normal inputs
--- Check using text to avoid precision difference between various GEOS versions
-SELECT 't6', ST_AsText(ST_OrientedEnvelope('MULTIPOINT ((0 0), (-1 -1), (3 2))')) = 'POLYGON((3 2,2.88 2.16,-1.12 -0.84,-1 -1,3 2))';
+SELECT 't6', ST_AsText(ST_Normalize(ST_OrientedEnvelope('MULTIPOINT ((0 0), (-1 -1), (3 2))')), 2);
 
diff --git a/regress/core/oriented_envelope_expected b/regress/core/oriented_envelope_expected
index 7590cd39a..5f1ff61cd 100644
--- a/regress/core/oriented_envelope_expected
+++ b/regress/core/oriented_envelope_expected
@@ -1,6 +1,6 @@
-t1|t
-t2|t
-t3|t
-t4|t
-t5|t
-t6|t
+t1|
+t2|POLYGON EMPTY
+t3|32611
+t4|LINESTRING(-1 -1,2 2)
+t5|POINT(0.9625 2)
+t6|POLYGON((-1.12 -0.84,2.88 2.16,3 2,-1 -1,-1.12 -0.84))

commit e4535a80e0e130265ea0e39cf6547e9e85f9bd1e
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon May 29 21:53:44 2023 +0200

    Flip to next milestone

diff --git a/NEWS b/NEWS
index 12dbad1a5..794334f15 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+PostGIS 3.3.4dev
+YYYY/MM/DD
+
+* Bug Fixes and Enhancements *
+  - ...
+
 PostGIS 3.3.3
 2023/05/29
 
diff --git a/Version.config b/Version.config
index 21d6b459b..550ba44bf 100644
--- a/Version.config
+++ b/Version.config
@@ -5,7 +5,7 @@
 
 POSTGIS_MAJOR_VERSION=3
 POSTGIS_MINOR_VERSION=3
-POSTGIS_MICRO_VERSION=3
+POSTGIS_MICRO_VERSION=4dev
 
 # Liblwgeom interface versioning, reset to 0:0:0 (cur:age:rev)
 # when changing POSTGIS_MINOR_VERSION

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

Summary of changes:
 NEWS                                    |  6 ++++++
 Version.config                          |  2 +-
 regress/core/offsetcurve.sql            |  2 +-
 regress/core/offsetcurve_expected       |  2 +-
 regress/core/oriented_envelope.sql      | 13 ++++++-------
 regress/core/oriented_envelope_expected | 12 ++++++------
 6 files changed, 21 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list