Answers for "XML filter for WFS: filtering multiple values (more than 2)" https://knowledge.亚搏在线safe.com/questions/86170/xml-filter-for-wfs-filtering-multiple-values-more.html The latest answers for the question "XML filter for WFS: filtering multiple values (more than 2)" Answer by fikusas https://knowledge.safe.com/answers/86457/view.html

I turned on"Prefer dataset URL"option on the Reader and it worked like a charm!Thanks for the insights.

Wed, 06 Feb 2019 05:49:25 GMT fikusas
Answer by trentatsafe https://knowledge.safe.com/answers/86435/view.html

Hello@fikusas,

Your XML Filter(for the (1) option) does look correct, testing its structure with our WFS values worked.I do wonder are you using the 'Prefer HTTP Post, If Available' parameter on the Reader.This will allow you to not be limited on the URL that is sent.If you can ensure this is toggled to Yes.

You might be running into a character limit on the URL via the Get Request that is being sent.Try switching to Post, and let me know if that works.

Tue, 05 Feb 2019 18:55:20 GMT trentatsafe
Answer by fikusas https://knowledge.safe.com/answers/86383/view.html

I'm attaching GetCapabilities XML.It would be strange if quering more than 2 values isn't supported...

WFSServer.xml

Tue, 05 Feb 2019 05:38:22 GMT fikusas
Answer by trentatsafe https://knowledge.safe.com/answers/86379/view.html

Hello@fikusas,

I did some tinkering with the XML Filtering on a WFS and your first approach did work for me.Using the following Filter, gave me 4 results:

        
         
          
           VendorID
          
          
           1
          
         
         
          
           VendorID
          
          
           3
          
         
         
          
           VendorID
          
          
           4
          
         
         
          
           VendorID
          
          
           10
          
         
        


Are you able to share the WFS you are working with?Also, does your WFS GetCapabilities support the Filters you are trying to use?

Mon, 04 Feb 2019 22:35:35 GMT trentatsafe