[GIS] Displaying attributes for features within current map extent in ArcGIS Desktop

arcgis-desktopattribute-tableextentsmosaic

I have found Landsat 8 PanSharpened WMS service here. It is a mosaic made by Esri.

I can open attribute table of this mosaic dataset.

Can I sort rows of attribute table to see only rows related to rasters in my current view extent using ArcGIS for Desktop?

The option I need is similar to Attribute Table widget's Filter by Map Extent:

Only displays attributes for features within the current map extent

Best Answer

Some idea...You can work around the problem by creating a Python add-in.

Do job when Tool is clicked (or onKeyDown(self, keycode, shift) ). Next tool are triggered and do:

#get extend
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd)[0]
XMIN = df.extent.XMin
YMIN = df.extent.YMin
XMAX = df.extent.XMax
YMAX = df.extent.YMax

#create polygon from extend
#....

#use arcpy.SelectLayerByLocation_management
#get list of selected object
#
#add layer.definitionQuery to layer
#refres view and table

It's just an idea...

Related Question