<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Obtain features using ARCGIS and WFS based on CQL_Filter in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305595#M36436</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to obtain a filter using cql_filter on wfsserver and nothing works.&lt;/P&gt;&lt;P&gt;Here are some references:&lt;/P&gt;&lt;P&gt;&lt;A href="https://aaa.mapi.co.il/arcgis/services/MAPI/MapServer/WFSServer?service=WFS&amp;amp;version=1.0.0&amp;amp;request=GetFeature&amp;amp;typeName=FRONTS&amp;amp;outputFormat=GEOJSON&amp;amp;CQL_FILTER=BBOX(Shape,+173077.76904408532,601995.506202312,173515.26904408532,602370.506202312)&amp;amp;srsName=EPSG:2039" target="_blank" rel="noopener"&gt;https://aaa.mapi.co.il/arcgis/services/MAPI/MapServer/WFSServer?service=WFS&amp;amp;version=1.0.0&amp;amp;request=GetFeature&amp;amp;typeName=FRONTS&amp;amp;outputFormat=GEOJSON&amp;amp;CQL_FILTER=BBOX(Shape,+173077.76904408532,601995.506202312,173515.26904408532,602370.506202312)&amp;amp;srsName=EPSG:2039&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%27objectid=1%27" target="_blank" rel="noopener"&gt;https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%27objectid=1%27&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%22Dunam%20=%209%22" target="_blank" rel="noopener"&gt;https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%22Dunam%20=%209%22&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The one that we finally need is a combination of BBOX and an alphanumeric field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1. Is it supported? I found the attached file in Sales Force that maybe claims that it is not supported. Here is the link to SalesForce:&amp;nbsp;&lt;A href="https://esri.lightning.force.com/lightning/r/Defect__c/a3qf2000001tEfnAAE/view" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://esri.lightning.force.com/lightning/r/Defect__c/a3qf2000001tEfnAAE/view&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. If it is supported, what is the &lt;STRONG&gt;exact&lt;/STRONG&gt; syntax to use? An example will be really appreciated.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Miri&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 17:10:24 GMT</pubDate>
    <dc:creator>MiriEshel1</dc:creator>
    <dc:date>2023-07-04T17:10:24Z</dc:date>
    <item>
      <title>Obtain features using ARCGIS and WFS based on CQL_Filter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305595#M36436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to obtain a filter using cql_filter on wfsserver and nothing works.&lt;/P&gt;&lt;P&gt;Here are some references:&lt;/P&gt;&lt;P&gt;&lt;A href="https://aaa.mapi.co.il/arcgis/services/MAPI/MapServer/WFSServer?service=WFS&amp;amp;version=1.0.0&amp;amp;request=GetFeature&amp;amp;typeName=FRONTS&amp;amp;outputFormat=GEOJSON&amp;amp;CQL_FILTER=BBOX(Shape,+173077.76904408532,601995.506202312,173515.26904408532,602370.506202312)&amp;amp;srsName=EPSG:2039" target="_blank" rel="noopener"&gt;https://aaa.mapi.co.il/arcgis/services/MAPI/MapServer/WFSServer?service=WFS&amp;amp;version=1.0.0&amp;amp;request=GetFeature&amp;amp;typeName=FRONTS&amp;amp;outputFormat=GEOJSON&amp;amp;CQL_FILTER=BBOX(Shape,+173077.76904408532,601995.506202312,173515.26904408532,602370.506202312)&amp;amp;srsName=EPSG:2039&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%27objectid=1%27" target="_blank" rel="noopener"&gt;https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%27objectid=1%27&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%22Dunam%20=%209%22" target="_blank" rel="noopener"&gt;https://ags1091.stltd.co.il/arcgis/services/AgriParcels/MapServer/WFSServer?service=WFS&amp;amp;request=GetFeature&amp;amp;typeName=AgriParcels&amp;amp;CQL_FILTER=%22Dunam%20=%209%22&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The one that we finally need is a combination of BBOX and an alphanumeric field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1. Is it supported? I found the attached file in Sales Force that maybe claims that it is not supported. Here is the link to SalesForce:&amp;nbsp;&lt;A href="https://esri.lightning.force.com/lightning/r/Defect__c/a3qf2000001tEfnAAE/view" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://esri.lightning.force.com/lightning/r/Defect__c/a3qf2000001tEfnAAE/view&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. If it is supported, what is the &lt;STRONG&gt;exact&lt;/STRONG&gt; syntax to use? An example will be really appreciated.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Miri&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 17:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305595#M36436</guid>
      <dc:creator>MiriEshel1</dc:creator>
      <dc:date>2023-07-04T17:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain features using ARCGIS and WFS based on CQL_Filter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305661#M36438</link>
      <description>&lt;P data-unlink="true"&gt;Greetings Miri,&lt;BR /&gt;I believe that according to the ENH you quoted, the CQL_Filter type appears not to be supported, even though it is not documented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;However, if you visit the help page on &lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/communicating-with-a-wfs-service-in-a-web-browser.htm#ESRI_SECTION1_78D9D1213F1449B382CAD88E7E6259FE" target="_self"&gt;Consuming a WFS 1.0.0 or 1.1.0 in a web browser&lt;/A&gt; you should see examples of how to use filters as part of the GetFeature request.&amp;nbsp; One of the examples shows how to use the BBOX. But it does not show how to combine BBOX with an additional filter for a field value.&lt;BR /&gt;&lt;BR /&gt;If you are not constrained to using CQL_Filters, I would suggest experimenting with the URLs you provided and seeing if you are able to make them work using filtering as per the documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 08:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305661#M36438</guid>
      <dc:creator>MiguelParedes</dc:creator>
      <dc:date>2023-07-05T08:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain features using ARCGIS and WFS based on CQL_Filter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305691#M36440</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/466348"&gt;@Miguel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply. I'm familiar with this document. Thanks!&lt;/P&gt;&lt;P&gt;I'm looking for &lt;STRONG&gt;exact&lt;/STRONG&gt; syntax (can be also in xml)&amp;nbsp; for how to filter, using both extent and an SQL condition (e.g. name='Ruth'). I expect a real URL, that somebody tested and it worked for him. I will adjust it to my server name, service name etc.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miri&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 10:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1305691#M36440</guid>
      <dc:creator>MiriEshel1</dc:creator>
      <dc:date>2023-07-05T10:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain features using ARCGIS and WFS based on CQL_Filter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1525035#M40381</link>
      <description>&lt;P&gt;You can use an undocumented feature using an OGC OpenGIS Filter.&lt;BR /&gt;&lt;BR /&gt;For example if you want to filter a WFS layer "YOUR_LAYER" with the attribute "YOUR_FIELD" and the value "YOUR_VALUE" then you can use:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;A href="https://yourWFSserverURL/WFSServer?service=WFS&amp;amp;version=1.1.0&amp;amp;request=GetFeature&amp;amp;typeName=esri:YOUR_LAYER&amp;amp;Filter=" target="_blank" rel="noopener"&gt;https://yourWFSserverURL/WFSServer?service=WFS&amp;amp;version=1.1.0&amp;amp;request=GetFeature&amp;amp;typeName=esri:YOUR_LAYER&amp;amp;Filter=&lt;/A&gt;&amp;lt;ogc:Filter xmlns:ogc='&lt;A href="http://www.opengis.net/ogc" target="_blank" rel="noopener"&gt;http://www.opengis.net/ogc&lt;/A&gt;'&amp;gt;&amp;lt;ogc:PropertyIsEqualTo&amp;gt;&amp;lt;ogc:PropertyName&amp;gt;esri:YOUR_FIELD&amp;lt;/ogc:PropertyName&amp;gt;&amp;lt;ogc:Literal&amp;gt;YOUR_VALUE&amp;lt;/ogc:Literal&amp;gt;&amp;lt;/ogc:PropertyIsEqualTo&amp;gt;&amp;lt;/ogc:Filter&amp;gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It works like a charm.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Aug 2024 13:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/obtain-features-using-arcgis-and-wfs-based-on-cql/m-p/1525035#M40381</guid>
      <dc:creator>Bastien</dc:creator>
      <dc:date>2024-08-21T13:08:39Z</dc:date>
    </item>
  </channel>
</rss>

