laptop and a wrench

不具合

Unable to geocode full addresses when running a model as a geoprocessing tool on ArcGIS Pro 2.9.x.

最後に公開された状態: October 3, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000149815
送信されましたJune 7, 2022
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン2.9
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスNon-Reproducible

参考情報

This issue is fixed in ArcGIS Pro 3.0.

対処法

1. Click ModelBuilder on the Analysis ribbon tab. In the Model group, expand the Export drop-down menu and click Export to Python File. Save the script in the desired location.

2. Navigate to Catalog > Toolboxes and right-click the existing toolbox. Navigate to New > Script.

3. On the New Script window, click Parameters and define the parameters exactly by following the parameter set in the ModelBuilder. Printscreen the parameters of the model (Right click Model > Properties > Parameters) to ease this process:

  • Navigate to Execution and click Browse for external script…. Choose the exported Python FileGo to line 6, change arcpy.env.overwriteOutput = False to arcpy.env.overwriteOutput = True.
  • Go to line 7 and change arcpy.ImportToolbox…Tools.tbx.tbx") to arcpy.ImportToolbox…Tools.tbx")
  • Click OK.

4. Click ModelBuilder on the Analysis ribbon tab and click New.

5. Add the new script created in Step 3 to this new model.

6. On the new Model Edit mode interface, right-click both of the input and output, and click Parameter (To set the model parameter).

7. Save the model.

8. Open your Catalog pane and right-click the new Model. Click Open to open it as geoprocessing tool.

9. Click Run.

10. Open the output file and notice that the Display X and Display Y columns in the output shows that the model has successfully geocoded the full address and produces different X and Y values for each address.

再現の手順

不具合 ID: BUG-000149815

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

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

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

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

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

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

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