laptop and a wrench

漏洞

Running a Create Geodatabase tool creates a geoprocessing package which includes everything in the location of the Geodatabase, even though the files or folders have nothing to do with the process.

上次发布: March 29, 2018 ArcGIS Pro
漏洞 ID 编号 BUG-000112628
已提交March 22, 2018
上次修改时间June 5, 2024
适用范围ArcGIS Pro
找到的版本2.1.2
操作系统Windows OS
操作系统版本N/A
状态Will Not Be Addressed

附加信息

This is expected behavior which is documented here: http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/share-analysis/packaging-python-scripts.htm As part of the sharing process, consolidation occurs and the following applies: "When folders are consolidated, all files and geodatasets within the folder are copied; no subfolders are copied. Some geodatasets, such as file geodatabases, rasters, and TINS are technically folders, but they are also geodatasets, so they will be copied. If the folder contains layer files, all data referenced by the layer file is also consolidated so that any arcpy.mp routines in the script can gain access to the referenced data. Tip: Due to the way folders are consolidated, you should avoid cluttering the folder with large datasets and files that will never be used by your tool; it unnecessarily increases the size of the data to be packaged." The workaround mentioned of using an empty folder for the location of the created geodatabase is the recommended course of action to avoid unintended copying of extraneous files.

解决办法

Create an empty folder for the location of the created geodatabase.

重现步骤

漏洞 ID: BUG-000112628

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项