[postgis-commits] svn - r3065 - trunk/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Sat Oct 4 14:29:16 PDT 2008
Author: pramsey
Date: 2008-10-04 14:29:16 -0700 (Sat, 04 Oct 2008)
New Revision: 3065
Modified:
trunk/lwgeom/lwgeom_geos_c.c
Log:
Fix boneheaded error in prepared intersects.
Modified: trunk/lwgeom/lwgeom_geos_c.c
===================================================================
--- trunk/lwgeom/lwgeom_geos_c.c 2008-10-04 17:49:51 UTC (rev 3064)
+++ trunk/lwgeom/lwgeom_geos_c.c 2008-10-04 21:29:16 UTC (rev 3065)
@@ -4153,13 +4153,13 @@
if ( prep_cache->argnum == 1 )
{
GEOSGeom g = POSTGIS2GEOS(geom2);
- result = GEOSPreparedCovers( prep_cache->prepared_geom, g);
+ result = GEOSPreparedIntersects( prep_cache->prepared_geom, g);
GEOSGeom_destroy(g);
}
else
{
GEOSGeom g = POSTGIS2GEOS(geom1);
- result = GEOSPreparedCovers( prep_cache->prepared_geom, g);
+ result = GEOSPreparedIntersects( prep_cache->prepared_geom, g);
GEOSGeom_destroy(g);
}
}
More information about the postgis-commits
mailing list