<?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 to apply a spatial filter to a layer based on the boundary or another layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-a-spatial-filter-to-a-layer-based-on/m-p/1266905#M50847</link>
    <description>&lt;P&gt;A common need is to limit the extents of an&amp;nbsp;&lt;SPAN&gt;ArcGIS REST services based in polygon boundary of another layer. Many nationwide&amp;nbsp;ArcGIS REST services have a state field or other geography field, to it is easy to add a filter of State is 'Michigan'&amp;nbsp;to just get the data for a given area if defined in an attribute field. In other cases the nationwide data set does not a State of other geography field to filter on. A good example is the layer&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis1.usgs.gov/arcgis/rest/services/padus3/Public_Access/MapServer/0" target="_blank" rel="noopener"&gt;https://gis1.usgs.gov/arcgis/rest/services/padus3/Public_Access/MapServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Layer: Protected Areas Database of the United States (PAD-US) v3.0 (ID: 0)&lt;/P&gt;&lt;P&gt;Name: Protected Areas Database of the United States (PAD-US) v3.0&lt;/P&gt;&lt;P&gt;This is very large layer and often takes a while to display in a web map/web app. This layer does not have a State or other geography field to filter on. I would like to be able to have a spatial filter to just consume the data within Michigan using &amp;nbsp;a standard Michigan county boundary polygon file like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gisagocss.state.mi.us/arcgis/rest/services/OpenData/michigan_geographic_framework/MapServer/0" target="_blank" rel="noopener"&gt;https://gisagocss.state.mi.us/arcgis/rest/services/OpenData/michigan_geographic_framework/MapServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;</description>
    <pubDate>Sun, 12 Mar 2023 18:06:56 GMT</pubDate>
    <dc:creator>JohnEsch1</dc:creator>
    <dc:date>2023-03-12T18:06:56Z</dc:date>
    <item>
      <title>How to apply a spatial filter to a layer based on the boundary or another layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-a-spatial-filter-to-a-layer-based-on/m-p/1266905#M50847</link>
      <description>&lt;P&gt;A common need is to limit the extents of an&amp;nbsp;&lt;SPAN&gt;ArcGIS REST services based in polygon boundary of another layer. Many nationwide&amp;nbsp;ArcGIS REST services have a state field or other geography field, to it is easy to add a filter of State is 'Michigan'&amp;nbsp;to just get the data for a given area if defined in an attribute field. In other cases the nationwide data set does not a State of other geography field to filter on. A good example is the layer&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gis1.usgs.gov/arcgis/rest/services/padus3/Public_Access/MapServer/0" target="_blank" rel="noopener"&gt;https://gis1.usgs.gov/arcgis/rest/services/padus3/Public_Access/MapServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Layer: Protected Areas Database of the United States (PAD-US) v3.0 (ID: 0)&lt;/P&gt;&lt;P&gt;Name: Protected Areas Database of the United States (PAD-US) v3.0&lt;/P&gt;&lt;P&gt;This is very large layer and often takes a while to display in a web map/web app. This layer does not have a State or other geography field to filter on. I would like to be able to have a spatial filter to just consume the data within Michigan using &amp;nbsp;a standard Michigan county boundary polygon file like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gisagocss.state.mi.us/arcgis/rest/services/OpenData/michigan_geographic_framework/MapServer/0" target="_blank" rel="noopener"&gt;https://gisagocss.state.mi.us/arcgis/rest/services/OpenData/michigan_geographic_framework/MapServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;</description>
      <pubDate>Sun, 12 Mar 2023 18:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-a-spatial-filter-to-a-layer-based-on/m-p/1266905#M50847</guid>
      <dc:creator>JohnEsch1</dc:creator>
      <dc:date>2023-03-12T18:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply a spatial filter to a layer based on the boundary or another layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-a-spatial-filter-to-a-layer-based-on/m-p/1267269#M50871</link>
      <description>&lt;P&gt;You could create an item in AGOL based on the rest end point url, then on the visualization tab ), set a filter where object ID (or another field) includes (select all the ones that are within Michigan). Or then create a view and set the filter on the view.&lt;/P&gt;&lt;P&gt;Otherwise it would be nice if there was a "clip" feature or "mask" feature like there is in ArcGIS Pro.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 19:31:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-a-spatial-filter-to-a-layer-based-on/m-p/1267269#M50871</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2023-03-13T19:31:52Z</dc:date>
    </item>
  </channel>
</rss>

