[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.1-41-gaa4642f

git at osgeo.org git at osgeo.org
Wed Aug 12 13:47:16 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, stable-3.0 has been updated
       via  aa4642fd4595569a15b048d6e7c20acb7916e16b (commit)
      from  3ac21e695872c12feba94c1113d3a7627fb2c187 (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 aa4642fd4595569a15b048d6e7c20acb7916e16b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Aug 12 13:47:03 2020 -0700

    Be more aggressive about obtaining an outside point from gbox. References #4689

diff --git a/liblwgeom/lwgeodetic_tree.c b/liblwgeom/lwgeodetic_tree.c
index 35b0ff4..9baa8cd 100644
--- a/liblwgeom/lwgeodetic_tree.c
+++ b/liblwgeom/lwgeodetic_tree.c
@@ -476,7 +476,7 @@ int circ_tree_get_point_outside(const CIRC_NODE* node, POINT2D* pt)
 {
 	POINT3D center3d;
 	GEOGRAPHIC_POINT g;
-	if (node->radius >= M_PI) return LW_FAILURE;
+	// if (node->radius >= M_PI) return LW_FAILURE;
 	geog2cart(&(node->center), &center3d);
 	vector_scale(&center3d, -1.0);
 	cart2geog(&center3d, &g);

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

Summary of changes:
 liblwgeom/lwgeodetic_tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list