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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動