- ArcGIS Blueprints
- Eric Pimpler
- 209字
- 2021-07-30 09:50:01
Creating migration patterns for Python toolbox
Just like we did in the first chapter of the book, we'll build an ArcGIS Python Toolbox to hold the code for our application. I won't walk you through every single step like I did in the first chapter, but I will provide some general guidelines instead. If needed, refer to the first chapter for the specifics of how to create an ArcGIS Python Toolbox.
The Python toolboxes encapsulate everything in one place: parameters, validation code, and source code. A Python Toolbox functions like any other toolbox in ArcToolbox
, but it is created entirely in Python and has a file extension of .pyt
. As you learned in the last chapter, it is created programmatically as a class named Toolbox
.
The following steps will help you to create migration patterns for Python toolbox:
- Open ArcCatalog. You can create a Python Toolbox in a folder by right-clicking on the folder and navigating to New | Python Toolbox. In ArcCatalog, there is a folder called Toolboxes; inside the folder, there is a My Toolboxes folder, as shown in the following screenshot. Right-click on this folder and navigate to New | Python Toolbox:
- The name of the toolbox is controlled by the filename. Name the toolbox
MigrationPatterns.pyt
.
- PyTorch Artificial Intelligence Fundamentals
- Learning Elixir
- Wireshark Network Security
- 零基礎學MQL:基于EA的自動化交易編程
- Kotlin Standard Library Cookbook
- 名師講壇:Spring實戰開發(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- Visual C++開發入行真功夫
- 軟件測試實用教程
- Java Web從入門到精通(第3版)
- Angular應用程序開發指南
- Practical GIS
- 百萬在線:大型游戲服務端開發
- 自己動手構建編程語言:如何設計編譯器、解釋器和DSL
- Android熱門應用開發詳解
- OpenStack Networking Cookbook