[OWSLib-users] wfs getFeature filter Exemple

Mounir SAADNI mounirsky at yahoo.fr
Tue May 17 23:56:01 PDT 2016


I'm using the latest version of OWSLib, and I'm trying to apply a filter encoding as follow :

filter1 = fes.PropertyIsEqualTo('Num_ilot',f1)
filter2 = fes.PropertyIsEqualTo('Num_ilot',f2)
filterList = [filter1,filter2]
fr = fes.FilterRequest()
filter_fes = fr.setConstraintList(filterList, tostring=True)

getFeature = wfs.getfeature(typename = [name], filter=filter_fes, outputFormat="application/json", bbox = bb)

it run but it don't consider the filter !! knowing that the xml content of filter_fes is right.

Any ideas ?

regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/owslib-users/attachments/20160518/a31b2e0d/attachment.html>


More information about the OWSLib-users mailing list