不具合
| 不具合 ID 番号 | BUG-000160654 |
|---|---|
| 送信されました | August 15, 2023 |
| 最終更新日 | June 5, 2024 |
| 適用対象 | ArcGIS Pro |
| 見つかったバージョン | 2.9 |
| オペレーティング システム | N/A |
| オペレーティング システムのバージョン | N/A |
| ステータス | Will Not Be Addressed |
The Raster Calculator tool is not intended for use in Python. The Raster Calculator tool is used to perform Map Algebra using Python in the User Interface, ie ModelBuilder. Map Algebra in Python can be performed natively. Map Algebra does not need to be wrapped inside a geoprocessing tool like the Raster Calculator tool.
Perform Map Algebra like this:
from arcpy.sa import *
arcpy.env.mask ="C:\\temp\\BUG-000160654\\repro\\ManalData\\blkgrp.shp"
ras1 = arcpy.Raster('usgsdem')
ras2 = arcpy.Raster('gfchot')
myras = ras1*ras2
不具合 ID: BUG-000160654
ソフトウェア:
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード