Select to view content in your preferred language

Recalculate Feature Class Extent not working as expected

1869
4
06-02-2023 11:27 AM
Labels (1)
Bud
by
Esteemed Contributor

ArcGIS Pro 3.1.2 and 2.6.8; File Geodatabase:

I have a feature class called POLY. I've deleted some features so the extents are now out of date. When I add the FC to a blank map, the map zooms to the old extents, not the new extents, which is expected.

So I use the Recalculate Feature Class Extent geoprocessing tool to update the extents. The tool runs without errors, but it doesn't seem to have had an effect. When I add the FC to a blank map, it still zooms to the old extents.

Whereas, if I copy/paste the FC in Catalog, the new FC zooms to the new extents successfully.

Video:

Why isn't the Recalculate Feature Class Extent tool updating the extents properly?

Thanks.

0 Kudos
4 Replies
Bud
by
Esteemed Contributor

I restarted ArcGIS Pro. Now, the FC where I recalculated the extents is zooming to the correct/updated extents.

I wonder why it's necessary to restart Pro.

0 Kudos
Robert_LeClair
Esri Notable Contributor

Sounds like your spatial grid indexes were stale.  To reset them, go to the feature class in the Catalog Pane, right-click on the feature class->Properties.  Click the Indexes tab and expand Spatial Index.  Click Recalculate.  Voila!  Spatial grid indexes are rebuilt.

MCLee
by
New Contributor

This worked for me. Thanks!

Bud
by
Esteemed Contributor
0 Kudos