[postgis-tickets] r14361 - Back out all fiddling w/ geodetic bboxes, there is no win here
Paul Ramsey
pramsey at cleverelephant.ca
Fri Nov 6 07:05:26 PST 2015
Author: pramsey
Date: 2015-11-06 07:05:26 -0800 (Fri, 06 Nov 2015)
New Revision: 14361
Modified:
trunk/liblwgeom/cunit/cu_geodetic.c
trunk/liblwgeom/lwgeom.c
Log:
Back out all fiddling w/ geodetic bboxes, there is no win here
Modified: trunk/liblwgeom/cunit/cu_geodetic.c
===================================================================
--- trunk/liblwgeom/cunit/cu_geodetic.c 2015-11-06 15:02:49 UTC (rev 14360)
+++ trunk/liblwgeom/cunit/cu_geodetic.c 2015-11-06 15:05:26 UTC (rev 14361)
@@ -905,7 +905,7 @@
type = gserialized_get_type(g);
CU_ASSERT_EQUAL( type, POINTTYPE );
inspect = (double*)g;
- CU_ASSERT_EQUAL(inspect[6], 0.2);
+ CU_ASSERT_EQUAL(inspect[3], 0.2);
lwgeom_free(geom);
lwfree(g);
Modified: trunk/liblwgeom/lwgeom.c
===================================================================
--- trunk/liblwgeom/lwgeom.c 2015-11-06 15:02:49 UTC (rev 14360)
+++ trunk/liblwgeom/lwgeom.c 2015-11-06 15:05:26 UTC (rev 14361)
@@ -1103,10 +1103,6 @@
int lwgeom_needs_bbox(const LWGEOM *geom)
{
assert(geom);
-
- if ( FLAGS_GET_GEODETIC(geom->flags) )
- return LW_TRUE;
-
if ( geom->type == POINTTYPE )
{
return LW_FALSE;
More information about the postgis-tickets
mailing list