I would like to get a single envelope of all the features in a feature class. Is there any way to do that in ArcMap?
|
|
Check out the Minimum Bounding Geometry tool. Specify the "ALL" for the group option to get a single feature representing the envelope of your features. |
|||
|
|
|
FeatureClass supports the IGeoDataset interface, which has an Extent property containing the IEnvelope used by all features cheers brian |
|||||||
|
|
If you want to use the arcgisscripting Python module in 9.3x:
|
|||
|
|
|
At 9.3 you can use the Feature Envelope to Polygon tool. You may need to dissolve the output into a multi-part feature then run the Envelope tool again. |
|||
|
|
|
A rough hack: In your Dataframe Properties, Data Frame tab, Extent Used By Full Extent Command - Go to Other|Specify Extent, select Outline of Features and the FC of interest. OK out of all dialogs, go back in to the Specify Extent, and the extent of your FC should now be what is displayed in the Custom Extent top, right, bottom, left fields. We do this to set the custom full extent in ArcGIS Server map services, but it should get you the extent of the FC you want. |
|||
|
|
