[OpenLayers-Users] WFS OGC filter into getFeature url

Giuseppe Falcone falcone.giuseppe at gmail.com
Wed Aug 24 08:15:35 PDT 2016


Hi all,

I have a question for you....
It is possible specify into vector source url param a filter condition
different than CQL?
I want to use OGC filter because is standard. How can i build this filter?
I have seen that next url working

/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=GAL%3Apoi&outputformat=json&filter=%3CFilter%20xmlns=%22
http://www.opengis.net/ogc%22%3E%3COr%3E%3CPropertyIsEqualTo%20matchCase=%22true%22%3E%3CPropertyName%3Etipologia%3C/PropertyName%3E%3CLiteral%3EChiesa%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3CPropertyIsEqualTo%20matchCase=%22true%22%3E%3CPropertyName%3Etipologia%3C/PropertyName%3E%3CLiteral%3EMasseria%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Or%3E%3C/Filter%3E

how can I build filter param?

Thanks a lot.

Giuseppe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20160824/da00d98f/attachment.html>


More information about the Users mailing list