Skip to content

Commit f9e5d1f

Browse files
committed
OGR cannot handle common filters directly, return MS_FALSE...
1 parent 2e3fce1 commit f9e5d1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mapogr.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1576,6 +1576,8 @@ static int msOGRFileWhichShapes(layerObj *layer, rectObj rect, msOGRFileInfo *ps
15761576

15771577
char *pszOGRFilter = NULL;
15781578

1579+
fprintf(stderr, "in msOGRFileWhichShapes()\n");
1580+
15791581
/* In case we have an odd filter combining both a OGR filter and MapServer */
15801582
/* filter, then separate things */
15811583
// msOGRSplitFilter(layer, &pszOGRFilter, &pszMSFilter);
@@ -3693,7 +3695,7 @@ char *msOGREscapePropertyName(layerObj *layer, const char *pszString)
36933695

36943696
static int msOGRLayerSupportsCommonFilters(layerObj *layer)
36953697
{
3696-
return MS_TRUE;
3698+
return MS_FALSE;
36973699
}
36983700

36993701
/************************************************************************/

0 commit comments

Comments
 (0)