On 29 July 2011 18:23, Rick Wayne <[email protected]> wrote: > Hey William, thanks for the info! > > As a GIS Programmer of Very Little Brain, I am left somewhat confused -- can > I set up such a filter dynamically? > > I mean, sticking a time filter in the SLD is well and good, but it changes > every day (and, for the case where I want to retrieve an arbitrary map, > every click!). I could bounce GeoServer to reread the SLDs every time a new > forecast is available, but the latter case is much stickier. >
Hi Rick - You can do this dynamically - just put the CQL filter in the WMS request. I personally do this to filter points by country. For you, something like: http://localhost:8080/geoserver/wms?layers=Some:Layer.......&CQL_FILTER=DURING+2006-11-30T01:30:00Z/2006-12-31T01:30:00Z Might work! Can't say I've used the temporal filters, but simple equality filters work well for me. The geotools link was just to give examples of CQL syntax. Cheers, Will ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
