/ FLTLayerApplyPlainFilterToLayer */ / Helper function for layer virtual table architecture */ /
| 592 | /* Helper function for layer virtual table architecture */ |
| 593 | /************************************************************************/ |
| 594 | int 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 |
no test coverage detected