[postgis-tickets] r17518 - Try and back out geodetic tolerance change... this is scarily tied together with the cartesian tolerance

Paul Ramsey pramsey at cleverelephant.ca
Wed Jun 12 03:24:17 PDT 2019


Author: pramsey
Date: 2019-06-12 15:24:17 -0700 (Wed, 12 Jun 2019)
New Revision: 17518

Modified:
   trunk/liblwgeom/lwgeodetic.h
Log:
Try and back out geodetic tolerance change... this is scarily tied together with the cartesian tolerance


Modified: trunk/liblwgeom/lwgeodetic.h
===================================================================
--- trunk/liblwgeom/lwgeodetic.h	2019-06-12 22:04:58 UTC (rev 17517)
+++ trunk/liblwgeom/lwgeodetic.h	2019-06-12 22:24:17 UTC (rev 17518)
@@ -40,8 +40,8 @@
 /* Override tolerance for geodetic */
 #ifdef FP_TOLERANCE
 #undef FP_TOLERANCE
+#define FP_TOLERANCE 1e-14
 #endif
-#define FP_TOLERANCE 1e-14
 
 extern int gbox_geocentric_slow;
 



More information about the postgis-tickets mailing list