laptop and a wrench

漏洞

When changing the symbolization for a binned feature layer and exporting the layer to a JPEG, the color exported does not match the layout displayed.

ArcGIS Pro
漏洞 ID 编号 BUG-000161069
已提交August 30, 2023
上次修改时间November 5, 2024
适用范围ArcGIS Pro
找到的版本3.1.3
操作系统Windows OS
操作系统版本11.0 64 bit
修正版本3.4
状态Fixed

附加信息

This issue is addressed in 3.4

解决办法

Exporting directly from an open layout or map using ArcPy reflects the current symbolization. The script below can be used to do so for layouts. For example:

##Export to PDF import time aprx = arcpy.mp.ArcGISProject("CURRENT") aprx.listLayouts() for lyt in aprx.listLayouts(): #Parameters: output name, resolution, image quality, compress vector graphics, image compression, embed fonts, layer attributes, georeference, jpeg compression, clip to elements, output as image, embed color profile #Image quality: "BEST", "BETTER", "NORMAL", "FASTER", "FASTEST" #Image compression: "ADAPTIVE", "DEFLATE", "JPEG", "LZW", "NONE", "RLE" #Layer attributes: "LAYERS_ONLY", "LAYERS_AND_ATTRIBUTES", "NONE" start = time.time() lyt.exportToPDF(f"C:\Temp\{lyt.name}.pdf", 150, "BEST", True, "ADAPTIVE", True, "LAYERS_ONLY", True, 80, False, False, False) end = time.time() print(f"{lyt.name} exported in {end - start} seconds") print("Done").

重现步骤

漏洞 ID: BUG-000161069

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项