/ FLTLayerApplyCondSQLFilterToLayer */ / Helper function for layer virtual table architecture */ /
| 571 | /* Helper function for layer virtual table architecture */ |
| 572 | /************************************************************************/ |
| 573 | int 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 */ |
no test coverage detected