MCPcopy Create free account
hub / github.com/MapServer/MapServer / FLTLayerApplyCondSQLFilterToLayer

Function FLTLayerApplyCondSQLFilterToLayer

mapogcfilter.c:573–587  ·  view source on GitHub ↗

/ FLTLayerApplyCondSQLFilterToLayer */ / Helper function for layer virtual table architecture */ /

Source from the content-addressed store, hash-verified

571/* Helper function for layer virtual table architecture */
572/************************************************************************/
573int FLTLayerApplyCondSQLFilterToLayer(FilterEncodingNode *psNode, mapObj *map,
574 int iLayerIndex)
575{
576/* ==================================================================== */
577/* Check here to see if it is a simple filter and if that is */
578/* the case, we are going to use the FILTER element on */
579/* the layer. */
580/* ==================================================================== */
581 if (FLTIsSimpleFilter(psNode))
582 {
583 return FLTApplySimpleSQLFilter(psNode, map, iLayerIndex);
584 }
585
586 return FLTLayerApplyPlainFilterToLayer(psNode, map, iLayerIndex);
587}
588
589/************************************************************************/
590/* FLTLayerApplyPlainFilterToLayer */

Callers 1

Calls 3

FLTIsSimpleFilterFunction · 0.85
FLTApplySimpleSQLFilterFunction · 0.85

Tested by

no test coverage detected