laptop and a wrench

漏洞

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.

上次发布: February 6, 2023 ArcGIS Pro
漏洞 ID 编号 BUG-000154226
已提交December 6, 2022
上次修改时间June 5, 2024
适用范围ArcGIS Pro
找到的版本3.0.2
操作系统Windows OS
操作系统版本10.0
状态Non-Reproducible

附加信息

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'.

重现步骤

漏洞 ID: BUG-000154226

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项