O'Reilly logo

Programming ArcGIS 10.1 with Python Cookbook by Eric Pimpler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Executing Geoprocessing Tools from Scripts

In this chapter, we will cover the following recipes:

  • Finding geoprocessing tools
  • Retrieving a toolbox alias
  • Executing geoprocessing tools from a script
  • Using the output of a tool as an input to another tool
  • Setting environment variables

Introduction

ArcGIS Desktop contains over 800 geoprocessing tools, which can be used in your Python scripts. In this chapter, you will learn to use these tools in your scripts. Each tool has unique characteristics. The syntax for executing each will differ depending upon the type of input required to successfully execute the tool. We'll examine how you can determine the input parameters for any tool using the ArcGIS Desktop help system. The execution of a tool results ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required