Permalink
Browse files

OGR cannot handle common filters directly, return MS_FALSE...

  • Loading branch information...
sdlime committed Feb 11, 2015
1 parent 2e3fce1 commit f9e5d1fe4accae657e0274ed99d3f1eccc04770e
Showing with 3 additions and 1 deletion.
  1. +3 −1 mapogr.cpp
View
@@ -1576,6 +1576,8 @@ static int msOGRFileWhichShapes(layerObj *layer, rectObj rect, msOGRFileInfo *ps
char *pszOGRFilter = NULL;
+ fprintf(stderr, "in msOGRFileWhichShapes()\n");
+
/* In case we have an odd filter combining both a OGR filter and MapServer */
/* filter, then separate things */
// msOGRSplitFilter(layer, &pszOGRFilter, &pszMSFilter);
@@ -3693,7 +3695,7 @@ char *msOGREscapePropertyName(layerObj *layer, const char *pszString)
static int msOGRLayerSupportsCommonFilters(layerObj *layer)
{
- return MS_TRUE;
+ return MS_FALSE;
}
/************************************************************************/

0 comments on commit f9e5d1f

Please sign in to comment.