<?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 Re: WFS - Spatial Filter Support - Request features in map extent only? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/wfs-spatial-filter-support-request-features-in-map/m-p/87636#M4220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good idea would be that AGOL made it possible to add parameter bbox and use the extent in the webmap as the boundingbox. I register that as an Idea -please be free to vote!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/ideas/12730" target="_blank"&gt;https://community.esri.com/ideas/12730&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2021 08:19:02 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-06-22T08:19:02Z</dc:date>
    <item>
      <title>WFS - Spatial Filter Support - Request features in map extent only?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/wfs-spatial-filter-support-request-features-in-map/m-p/87635#M4219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like many here I was really excited to see &lt;A _jive_internal="true" href="https://community.esri.com/ideas/8740?sr=inbox&amp;amp;ru=214688" target="_blank"&gt;OGC support improved in ArcGIS Online&lt;/A&gt; with the addition of Web Feature Service support, including identify on WFS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In trying the functionality out with some services though I'm struggling, as from trying out the viewer it doesn't implement a spatial operator in the query to the service. Only limiting the getFeature query to the layer, coordinate system and number of features:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;GetFeature 
 xmlns:xsi='&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;'
 xmlns:gml='&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;'
 xmlns:ogc='&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;'
 xmlns:wfs='&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;'
 xmlns='&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs%2F2.0" target="_blank"&gt;http://www.opengis.net/wfs/2.0&lt;/A&gt;'
 xmlns:fife='&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcgisweb.fife.gov.uk%2Fgeoserver" target="_blank"&gt;http://arcgisweb.fife.gov.uk/geoserver&lt;/A&gt;'
 version='2.0.0' service='WFS' count='100'&amp;gt;
 &amp;lt;Query typeNames='fife:LISTED_BUILDINGS' srsName='EPSG:27700'&amp;gt;
 &amp;lt;/Query&amp;gt;
&amp;lt;/GetFeature&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ArcGIS Online will only ask the service for &lt;STRONG&gt;all&lt;/STRONG&gt; features up to the maximum feature count defined in the WFS OGC Options.&amp;nbsp; This is regardless of the extent of the map, so where a service contains more features than the limit it may well return features outside the current map extent.&amp;nbsp; Most services will implement their own limit on the number of features in a response similar to ArcGIS Server Feature Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="208477" alt="OGC_WFS_FeatureCount.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/208477_OGC_WFS_FeatureCount.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see the behaviour in this &lt;A href="https://dundeecity.maps.arcgis.com/home/webmap/viewer.html?webmap=e58806f0fc11461ea9fd86d2028d6dab" rel="nofollow noopener noreferrer" target="_blank"&gt;example map&lt;/A&gt; which includes a WFS from one of our neighbouring authorties, the WFS contains 6,147 buildings but will only ever return 100 as requested by the AGOL viewer.&amp;nbsp; It would be impractical and slow to always set the map to request every feature in the service.&amp;nbsp; I know not all WFS servers support Spatial Filters on a WFS getFeature request, but can this be implemented in AGOL for servers that do support it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/wfs-spatial-filter-support-request-features-in-map/m-p/87635#M4219</guid>
      <dc:creator>deleted-user-AYsXjhkrwuAA</dc:creator>
      <dc:date>2021-12-10T23:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: WFS - Spatial Filter Support - Request features in map extent only?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/wfs-spatial-filter-support-request-features-in-map/m-p/87636#M4220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good idea would be that AGOL made it possible to add parameter bbox and use the extent in the webmap as the boundingbox. I register that as an Idea -please be free to vote!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/ideas/12730" target="_blank"&gt;https://community.esri.com/ideas/12730&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/wfs-spatial-filter-support-request-features-in-map/m-p/87636#M4220</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-06-22T08:19:02Z</dc:date>
    </item>
  </channel>
</rss>

