<?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 How do we use Web Feature Service to query features in a case sensitive manner? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-do-we-use-web-feature-service-to-query/m-p/99452#M607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How is everyone today? I am looking for a way to query features that contains a specific string, &lt;STRONG&gt;case does not matter using WFS&lt;/STRONG&gt;. I am currently using ArcgisServer 10.4 and have my layer exposed as a WFS service. Using the ideas from this post,&amp;nbsp;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/7637/case-insensitive-wfs-attribute-search-with-arcgis-server" title="https://gis.stackexchange.com/questions/7637/case-insensitive-wfs-attribute-search-with-arcgis-server" rel="nofollow noopener noreferrer" target="_blank"&gt;Case Insensitive WFS Attribute Search with ArcGIS Server? - Geographic Information Systems Stack Exchange&lt;/A&gt; , I attempted to use a similar query as mercurial. But matchCase is still being ignored. Normalizing the database is not an option because we would have too many columns to generate. I was looking into StoredQueries but after investigating a little further it seems like it is not a way to generate your own SQL queries that can be utilized by WFS filters. Is there anyway to accomplish this strictly through WFS? In order to keep interoperability we want to continue using WFS if possible. Are there any available Arcgis WFS filters I could use to achieve my goal? The GetCapabilities document of my server is really sparse and has no indication of any filter function I could use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;wfs:GetFeature service="WFS" version="1.1.0" maxFeatures="1000" resultType='results' xmlns:wfs="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs" target="_blank"&gt;http://www.opengis.net/wfs&lt;/A&gt;&lt;SPAN&gt;" xmlns:ogc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fogc" target="_blank"&gt;http://www.opengis.net/ogc&lt;/A&gt;&lt;SPAN&gt;" xmlns:gml="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fgml" target="_blank"&gt;http://www.opengis.net/gml&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;wfs:Query srsName="EPSG:4326" typeName="typeName:{typename}"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ogc:PropertyName&amp;gt;TYPE&amp;lt;/ogc:PropertyName&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ogc:Filter&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ogc:PropertyIsLike wildCard="*" singleChar="." escape="!" matchCase="false"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ogc:PropertyName&amp;gt;RANDOM_ATTR&amp;lt;/ogc:PropertyName&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ogc:Literal&amp;gt;*containThis*&amp;lt;/ogc:Literal&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;/ogc:PropertyIsLike&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/ogc:Filter&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/wfs:Query&amp;gt;&lt;BR /&gt;&amp;lt;/wfs:GetFeature&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;wfs&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;arcgisserver‌&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;interoperability‌&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;featuresearch‌&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;





&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:01:11 GMT</pubDate>
    <dc:creator>VictorChan</dc:creator>
    <dc:date>2021-12-12T16:01:11Z</dc:date>
    <item>
      <title>How do we use Web Feature Service to query features in a case sensitive manner?</title>
      <link>https://community.esri.com/t5/developers-questions/how-do-we-use-web-feature-service-to-query/m-p/99452#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How is everyone today? I am looking for a way to query features that contains a specific string, &lt;STRONG&gt;case does not matter using WFS&lt;/STRONG&gt;. I am currently using ArcgisServer 10.4 and have my layer exposed as a WFS service. Using the ideas from this post,&amp;nbsp;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/7637/case-insensitive-wfs-attribute-search-with-arcgis-server" title="https://gis.stackexchange.com/questions/7637/case-insensitive-wfs-attribute-search-with-arcgis-server" rel="nofollow noopener noreferrer" target="_blank"&gt;Case Insensitive WFS Attribute Search with ArcGIS Server? - Geographic Information Systems Stack Exchange&lt;/A&gt; , I attempted to use a similar query as mercurial. But matchCase is still being ignored. Normalizing the database is not an option because we would have too many columns to generate. I was looking into StoredQueries but after investigating a little further it seems like it is not a way to generate your own SQL queries that can be utilized by WFS filters. Is there anyway to accomplish this strictly through WFS? In order to keep interoperability we want to continue using WFS if possible. Are there any available Arcgis WFS filters I could use to achieve my goal? The GetCapabilities document of my server is really sparse and has no indication of any filter function I could use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;wfs:GetFeature service="WFS" version="1.1.0" maxFeatures="1000" resultType='results' xmlns:wfs="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs" target="_blank"&gt;http://www.opengis.net/wfs&lt;/A&gt;&lt;SPAN&gt;" xmlns:ogc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fogc" target="_blank"&gt;http://www.opengis.net/ogc&lt;/A&gt;&lt;SPAN&gt;" xmlns:gml="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fgml" target="_blank"&gt;http://www.opengis.net/gml&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;wfs:Query srsName="EPSG:4326" typeName="typeName:{typename}"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ogc:PropertyName&amp;gt;TYPE&amp;lt;/ogc:PropertyName&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;ogc:Filter&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ogc:PropertyIsLike wildCard="*" singleChar="." escape="!" matchCase="false"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ogc:PropertyName&amp;gt;RANDOM_ATTR&amp;lt;/ogc:PropertyName&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ogc:Literal&amp;gt;*containThis*&amp;lt;/ogc:Literal&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;/ogc:PropertyIsLike&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/ogc:Filter&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/wfs:Query&amp;gt;&lt;BR /&gt;&amp;lt;/wfs:GetFeature&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;wfs&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;arcgisserver‌&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;interoperability‌&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;featuresearch‌&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;





&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:01:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-do-we-use-web-feature-service-to-query/m-p/99452#M607</guid>
      <dc:creator>VictorChan</dc:creator>
      <dc:date>2021-12-12T16:01:11Z</dc:date>
    </item>
  </channel>
</rss>

