I was wondering if someone can advise me on the best/correct way to display filtered polygons on an openlayers layer.
At the moment, I have the data correctly into a PostGIS database and I can display all the polygons using WMS on an OpenLayers map. What I'd like to do next is to display only a select number of polygons (identified by NID) on a WMS layer.
Looking at the layer preview from GeoServer, I can see that OpenLayers does provide support to pass a FeatureID to GeoServer in order to filter the rendered polygon. How can I do a something equivalent using Cartaro and is this the best way to proceed (as opposed to filtering via SLD for example).
Any advice will be appreciated.