[Geoserver-users] kml_reflect and ogc:Filters

Hello.

Is there any way of applying an ogc:Filter to the kml_reflect-or. I tried
just passing &filter= and the filter in the query sting with my fingers
crossed but that didn't work. Is there any way to impose a filter or to pass
the sld with the request?

Thanks. Dan
--
View this message in context: http://www.nabble.com/kml_reflect-and-ogc%3AFilters-tf3201187.html#a8888410
Sent from the GeoServer - User mailing list archive at Nabble.com.

Looking at the code it looks like no. But note that the kml_reflect is a really simple piece of code, and all it really does is construct the correct WMS URL for Google Earth to use as the network link. So what you can do is get the results from the kml reflector, and then just add on to that the filter or sld (though filter through WMS is only in recent geoserver versions). I believe from google earth you can even edit the network link directly.

But I do think that at least having the KML reflector handle filters would be a nice thing. Especially when we get the more human readable filters (to say things like 'numlanes = 5' instead of a bunch of xml. Could you file that on our issue tracker? http://docs.codehaus.org/display/GEOSDOC/1+Reporting+Issues It should be extremely easy to code up.

best regards,

Chris

lunarfish wrote:

Hello.

Is there any way of applying an ogc:Filter to the kml_reflect-or. I tried
just passing &filter= and the filter in the query sting with my fingers
crossed but that didn't work. Is there any way to impose a filter or to pass
the sld with the request?

Thanks. Dan

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org