Description
Technically WFS could follow the same workflow of WMS in relation to filtering even if it’s not the optimal solution in terms of performance and request. It would be better to filter directly content already downloaded but this means a review of the current workflow so we could think just these additional tasks:
This is a summary of the expected implementation steps:
1- For the UI part:
- handle adding checkbox in catalog and layer settings in TOC for enabling/disabling interactive legend [the part in layer settings in TOC --> common with Vector]
- handle the same behaviour in WMS of hovering effect on the TOC legend items if they present a filter and implement the select effect as well [Add interactivity to the Vector Legend] --> common with Vector
2- For the logic:
- Now user can create a style includes rules [classification for example] which is on geostyler format
- in general for WFS filter layer, it is using cql filter expression to filter the layer into the server sending the CQL
- It will need a converter from geostyler [which comes from classification style for example] to cql that will be needed when user clicks on legend item to implement filter process
- change in style/disable interactive legend from layer settings will reset the filter like WMS
Other useful information
Description
Technically WFS could follow the same workflow of WMS in relation to filtering even if it’s not the optimal solution in terms of performance and request. It would be better to filter directly content already downloaded but this means a review of the current workflow so we could think just these additional tasks:
This is a summary of the expected implementation steps:
1- For the UI part:
2- For the logic:
Other useful information