Gregor at HostGIS ha scritto: > I have a question, again from the world of MapServer: > > Can GeoServer adjust its SLD or filter features given arbitrary WMS > parameters? > > For example, in MapServer one could specify a filter corresponding to a > WMS param. For example, my shapefile could contain all parcels but a WMS > request could ask to show only IG parcels, RH parcels, etc. > FILTER "zoning=%ZONECODE%" > http://... &LAYERS=parcels,streets&FORMAT=image/png&ZONECODE=IG > > Similarly, one could filter by date: > FILTER ( [startdate] >= %DATE% ) > http://...&DATE=2010-05-04 > > I looked at the filter-related stuff in the Users Manual but those are > related to I/O and not to fitlering features. Does GeoServer support > such data-level filtering, and if so what should I be looking for in the > docs?
Look either for CQL_FILTER or for SLD parameter substitution Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
