MCPcopy Index your code
hub / github.com/MapServer/MapServer / FLTLayerApplyPlainFilterToLayer

Function FLTLayerApplyPlainFilterToLayer

mapogcfilter.c:594–608  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

592/* Helper function for layer virtual table architecture */
593/************************************************************************/
594int FLTLayerApplyPlainFilterToLayer(FilterEncodingNode *psNode, mapObj *map,
595 int iLayerIndex)
596{
597 char *pszExpression =NULL;
598 int status =MS_FALSE;
599
600 pszExpression = FLTGetCommonExpression(psNode, GET_LAYER(map, iLayerIndex));
601 if (pszExpression)
602 {
603 status = FLTApplyFilterToLayerCommonExpression(map, iLayerIndex, pszExpression);
604 msFree(pszExpression);
605 }
606
607 return status;
608}
609
610
611

Calls 3

FLTGetCommonExpressionFunction · 0.85
msFreeFunction · 0.85

Tested by

no test coverage detected