I need to allow the visitors of my site to filter the data shown on an OpenLayer map. Basically, I generate SLD files from a CSV dataset and want to let the user the ability to filter the data of each column of the dataset.
To do so, I want to compare what are the selected filters with what's in the SLD file in order to generate a temporary SLD file for the user to give to OpenLayer to display.
Would you know any way of inserting these customs values into the rules of the full SLD that is generated from the dataset ? So that I can then go through this full SLD and be able to pick only the rules that I need according to what the user selected as filters?
Thank you for your help. Regards;