[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.2-15-g7b6d177

git at osgeo.org git at osgeo.org
Thu Nov 5 14:44:55 PST 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, stable-3.0 has been updated
       via  7b6d177b97555fb5918aab553c56eea1dc387699 (commit)
       via  629d7930a2c6aa25636dcea55955d492892b0efc (commit)
      from  6f35cc3fec480bc59b3f4911aeb731b43933acdc (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 7b6d177b97555fb5918aab553c56eea1dc387699
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Nov 5 14:44:43 2020 -0800

    Long-standing bug in pole adjustment code for bounding boxes.
    Results in incorrect box for shapes wrapping the negative Y geocentric axis (-90,0)
    Closes #4727

diff --git a/NEWS b/NEWS
index b77e313..d3399e4 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ PostGIS 3.0.3dev
   - #4767, #4768, #4771, #4772, Fix segfault when parsing invalid WKB (Raúl Marín)
   - #4769, Fix segfault in st_addband (Raúl Marín)
   - #4748, Fix incorrect axis swapping in polar stereographic (Paul Ramsey)
+  - #4727, Fix bug in geocentrix box computation (Paul Ramsey)
 
 PostGIS 3.0.2
 2020/08/15
diff --git a/liblwgeom/lwgeodetic.c b/liblwgeom/lwgeodetic.c
index 602054c..ff602fd 100644
--- a/liblwgeom/lwgeodetic.c
+++ b/liblwgeom/lwgeodetic.c
@@ -360,7 +360,7 @@ static int gbox_check_poles(GBOX *gbox)
 		else if ((gbox->ymin < 0.0) && (gbox->ymax < 0.0))
 		{
 			LWDEBUG(4, "enclosed negative y axis");
-			gbox->ymax = -1.0;
+			gbox->ymin = -1.0;
 		}
 		else
 		{

commit 629d7930a2c6aa25636dcea55955d492892b0efc
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Nov 5 11:50:43 2020 -0800

    Ignore some artefacts 3.1 leaves lying around

diff --git a/.gitignore b/.gitignore
index bceff57..6e8a8ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -151,6 +151,8 @@ regress/sfcgal/Makefile
 regress/postgis.sql
 regress/postgis_garden_result.txt
 regress/raster_garden_result.txt
+regress/dumper/Makefile
+regress/loader/Makefile
 *.so
 st_*.png
 .svn

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

Summary of changes:
 .gitignore             | 2 ++
 NEWS                   | 1 +
 liblwgeom/lwgeodetic.c | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list