[postgis-tickets] r17521 - Add tolerance from #4081 back in

Paul Ramsey pramsey at cleverelephant.ca
Wed Jun 12 03:57:51 PDT 2019


Author: pramsey
Date: 2019-06-12 15:57:51 -0700 (Wed, 12 Jun 2019)
New Revision: 17521

Modified:
   trunk/postgis/gserialized_gist_nd.c
Log:
Add tolerance from #4081 back in


Modified: trunk/postgis/gserialized_gist_nd.c
===================================================================
--- trunk/postgis/gserialized_gist_nd.c	2019-06-12 22:37:01 UTC (rev 17520)
+++ trunk/postgis/gserialized_gist_nd.c	2019-06-12 22:57:51 UTC (rev 17521)
@@ -628,7 +628,7 @@
 	if (gserialized_get_gbox_p(g, &gbox) == LW_FAILURE)
 		return g;
 
-	gbox_expand(&gbox, fdistance);
+	gbox_expand(&gbox, 1.01 * fdistance);
 
 	return gserialized_set_gbox(g, &gbox);
 }



More information about the postgis-tickets mailing list