<?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 Apply bounding box geometry from current features in layer provides coordinates that are not accepted in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1638583#M65833</link>
    <description>&lt;P&gt;Morning,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently been updating metadata on hosted feature services on AGOL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try and add an extent for a bounding box using the 'current features in layer' option the bounding box itself is accurate but the coordinates referenced are not accepted. To get around this I need to adjust the bounding a minor amount and then coordinates update to a format that is accepted.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this the expected behaviour? Has anyone else noticed or come across this before?&lt;BR /&gt;&lt;BR /&gt;See attachment for reference.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Aug 2025 04:53:07 GMT</pubDate>
    <dc:creator>AndrewHankinson</dc:creator>
    <dc:date>2025-08-02T04:53:07Z</dc:date>
    <item>
      <title>Apply bounding box geometry from current features in layer provides coordinates that are not accepted</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1638583#M65833</link>
      <description>&lt;P&gt;Morning,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently been updating metadata on hosted feature services on AGOL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try and add an extent for a bounding box using the 'current features in layer' option the bounding box itself is accurate but the coordinates referenced are not accepted. To get around this I need to adjust the bounding a minor amount and then coordinates update to a format that is accepted.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this the expected behaviour? Has anyone else noticed or come across this before?&lt;BR /&gt;&lt;BR /&gt;See attachment for reference.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Aug 2025 04:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1638583#M65833</guid>
      <dc:creator>AndrewHankinson</dc:creator>
      <dc:date>2025-08-02T04:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Apply bounding box geometry from current features in layer provides coordinates that are not accepted</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1638601#M65837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/581708"&gt;@AndrewHankinson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, you can do this. Use featureLayer.queryExtent() to get the bounding box of filtered or visible features, then use view.goTo(extent) to zoom the map. Works well in custom widgets or embedded JS logic.&lt;/P&gt;&lt;P&gt;If you want something static or repeatable, use &lt;EM&gt;Minimum Bounding Geometry&lt;/EM&gt; in ArcGIS Pro to create envelopes, then publish and use them in your app.&lt;/P&gt;&lt;P&gt;Dynamic = JS/API. Static = preprocessed in Pro.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Sat, 02 Aug 2025 14:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1638601#M65837</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-08-02T14:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apply bounding box geometry from current features in layer provides coordinates that are not accepted</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1639461#M65859</link>
      <description>&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/923685"&gt;@VenkataKondepati&lt;/a&gt;&amp;nbsp;, but I don't think that answers my question. The issue is when I apply a bounding box in AGOL the coordinates are not accepted as they are and I need to manually adjust the bounding box to correct the coordinates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 23:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1639461#M65859</guid>
      <dc:creator>AndrewHankinson</dc:creator>
      <dc:date>2025-08-05T23:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Apply bounding box geometry from current features in layer provides coordinates that are not accepted</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1640053#M65872</link>
      <description>&lt;P&gt;Absolutely. I understand the issue better now. You're looking to apply the bounding box generated from current features, right?&lt;/P&gt;&lt;P&gt;In ArcGIS Online, there's no out-of-the-box tool that dynamically captures the extent of selected or filtered features and applies it as a bounding box. But you can achieve this with two effective approaches:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Script it via the REST API or Web Map custom JSON&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Use the query endpoint for your feature layer to get the extent of the current features.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then set that extent (minx, miny, maxx, maxy) in your app or web map JSON to zoom or filter.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Pre-generate it in Pro using Minimum Bounding Geometry&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Run that tool to create an envelope (polygon) representing each feature set.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Publish that as a hosted layer, then use it to zoom or filter.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Dynamic extent control requires scripting or custom apps. AGOL’s default UI doesn’t grab extents and apply filters automatically.&lt;/P&gt;&lt;P&gt;Let me know if you'd like a REST snippet or sample app code to do this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 16:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1640053#M65872</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-08-07T16:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apply bounding box geometry from current features in layer provides coordinates that are not accepted</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1641145#M65912</link>
      <description>&lt;P&gt;Ok, well in the overview page of the layer, when you click on edit metadata there is an option to add an geographic extent and you can select this extent by the current features in the layer. So if that doesn't&amp;nbsp;&lt;SPAN&gt;apply the bounding box generated from current features, what does it do?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 05:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/apply-bounding-box-geometry-from-current-features/m-p/1641145#M65912</guid>
      <dc:creator>AndrewHankinson</dc:creator>
      <dc:date>2025-08-12T05:34:45Z</dc:date>
    </item>
  </channel>
</rss>

