laptop and a wrench

Bogue

Unable to run the Select Layer by Location or Remove Raster From Dataset tool on mosaic datasets programmatically or via GUI in ArcGIS Pro 3.x.

Dernière publication: February 6, 2023 ArcGIS Pro
Numéro d’ID de bogue BUG-000154226
EnvoiDecember 6, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée3.0.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutNon-Reproducible

Informations supplémentaires

This issue is not reproducible in ArcGIS Pro 3.0.3 and 3.1_41787. Use this code with the respective owned data path [below is the actual successful run from 3.0.3 with the results]. import arcpy from arcpy import env arcpy.management.MakeMosaicLayer(r"D:\data__for Issues\11__3.1\gp_\BUG-000154226\jacobsDataVersion\RasterTestingBUG.gdb\TestBigRaster", "BigRasterMosaicLayer") arcpy.management.SelectLayerByLocation('BigRasterMosaicLayer\\Footprint', 'INTERSECT', 'county', "", "", 'NOT_INVERT') arcpy.management.RemoveRastersFromMosaicDataset("BigRasterMosaicLayer", "Name = 'Banning'", "UPDATE_BOUNDARY", "MARK_OVERVIEW_ITEMS", "DELETE_OVERVIEW_IMAGES", "DELETE_ITEM_CACHE", "REMOVE_MOSAICDATASET_ITEMS", "UPDATE_CELL_SIZES") Additionally, please consult the Remove Rasters From Mosaic tool help documentation. Usage tip for the following information: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/remove-rasters-from-mosaic-dataset.htm Usage • There must be a selection or a query specified; otherwise, the tool does not run. To delete all the records from the mosaic dataset, specify a query that would select all the rasters, such as 'OBJECTID>=0'.

Étapes pour reproduire

ID de bogue: BUG-000154226

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement