Catalog Layers: Display more than ten items in view?

294
3
Jump to solution
08-19-2024 01:53 PM
Labels (2)
AlfredBaldenweck
MVP Regular Contributor

Hi all,

I'm experimenting with Catalog Layers and I'm wondering if it's possible to show more than 10 layers at a time with them? Some of my catalog layers have like 18 different feeder files that are all within my current extent, but only 10 max show up for me.

Is there a way to show more than 10?

In this picture, I show the entire extent of the catalog dataset, containing 18 records. Only 10 draw at a time under "Layers in View"

AlfredBaldenweck_1-1724100723453.png

 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

From

Work with catalog layers—ArcGIS Pro | Documentation

The Layers In View composite layer dynamically updates to display dataset items in the current view. By default, Layers In View draws up to 10 layers at a time. This default setting can be changed by adjusting the layer limit. Additionally, the layer can be filtered to show dataset items in a defined scale range, time, range, or other property. Because the layer is dynamic, its list of catalog dataset items in the Contents pane changes as you pan, zoom, or change the view's extent. A layer limit prevents the catalog layer from displaying all items in the dataset. This is useful for filtering out items that may consume additional resources.

 


... sort of retired...

View solution in original post

3 Replies
DanPatterson
MVP Esteemed Contributor

From

Work with catalog layers—ArcGIS Pro | Documentation

The Layers In View composite layer dynamically updates to display dataset items in the current view. By default, Layers In View draws up to 10 layers at a time. This default setting can be changed by adjusting the layer limit. Additionally, the layer can be filtered to show dataset items in a defined scale range, time, range, or other property. Because the layer is dynamic, its list of catalog dataset items in the Contents pane changes as you pan, zoom, or change the view's extent. A layer limit prevents the catalog layer from displaying all items in the dataset. This is useful for filtering out items that may consume additional resources.

 


... sort of retired...
AlfredBaldenweck
MVP Regular Contributor

Thanks, Dan.

I was expecting it to be in the layer properties window (of which there are three for each catalog layer). It is instead here in the Ribbon:

AlfredBaldenweck_0-1724102179315.png

You can also edit it directly in the LYRX, or using CIM (although I can't find it in the CIM documentation but I'm not looking too hard).

dft = lay.getDefinition('V3')
dir(dft)
['__class__', '__delattr__', '__dict__', '__dir__', 
'__doc__', '__eq__', '__format__', '__ge__', 
'__getattribute__', '__gt__', '__hash__', '__init__', 
'__init_subclass__', '__le__', '__lt__', '__module__', 
'__ne__', '__new__', '__reduce__', '__reduce_ex__', 
'__repr__', '__setattr__', '__sizeof__', '__str__', 
'__subclasshook__', '__weakref__', 'allowDrapingOnIntegratedMesh', 
'attribution', 'autoGenerateFeatureTemplates', 'blendingMode', 
'catalogDynamicGroupLayer', 'charts', 'customProperties', 'description', 
'displayCacheType', 'displayFilterChoices', 'displayFilterName', 
'displayFilters', 'displayFiltersType', 'enableDisplayFilters', 'expanded',
'extrusion', 'featureBlendingMode', 'featureCacheType', 
'featureElevationExpression', 'featureElevationExpressionInfo', 
'featureSortInfos', 'featureTable', 'featureTemplates', 'footprintLayer', 
'htmlPopupEnabled', 'htmlPopupFormat', 'isFlattened', 'layer3DProperties', 
'layerElevation', 'layerMasks', 'layerTemplate', 'layerType', 
'maxDisplayCacheAge', 'maxScale', 'maximumVisibleSublayers', 'metadataURI', 
'minScale', 'name', 'pageDefinition', 'polygonSelectionFillColor', 
'popupInfo', 'rasterizeOnExport', 'refreshRate', 'refreshRateUnit', 
'searchable', 'selectable', 'selectionColor', 'selectionSymbol', 
'serviceLayerID', 'showLegends', 'showMapTips', 'showPopups', 
'sourceModifiedTime', 'sourcePortalUrl', 'sourceURI', 'transparency', 'uRI', 
'useSelectionSymbol', 'useSourceMetadata', 'useVisibilityTimeExtent', 
'visibility', 'visibilityTimeExtent', 'webMapLayerID']
0 Kudos
AlfredBaldenweck
MVP Regular Contributor

Actually it looks like setting the definition in CIM causes Pro to crash on 3.1 lol. Beware, everyone.

0 Kudos