About getting started with writing geoprocessing scripts |
|
Release 9.2
Last modified November 17, 2006 |
![]() ![]() ![]() Print all topics in : "Getting started with writing geoprocessing scripts" |
ArcGIS 9 includes scripting support for many of today's most popular scripting environments, such as Python, VBScript, JScript, and Perl. A new ArcObjects component, the geoprocessor, manages all the geoprocessing functions available within ArcGIS. It is an object that provides a single access point and environment for the execution of any geoprocessing tool in ArcGIS, including extensions. The geoprocessor implements automation via a coarse-grained scripting object. This scripting object can be created in two different ways at 9.2, using a new native arcgisscripting module or the COM IDispatch interface, making it possible for interpretive and macro languages to access the more than 500 available tools.
Although there are a number of good scripting languages available, for simplicity, three of the more popular languages that meet the necessary criteria—VBScript, JScript, and Python—are discussed. VBScript and JScript are familiar to many people and are relatively simple languages. Similar to Visual Basic and C, they are designed to operate in a Windows environment. Python is an easy-to-learn language similar to C. Python has the ease of use of a scripting language, along with the programming capabilities of a complete developer language. Moreover, Python is platform independent and can operate on a variety of operating systems including UNIX, Linux, and Windows. For more information, visit www.python.org on the Web.
Learn more about accessing Python on the Web
ESRI sees Python as the language that fulfills the needs of our user community. Some advantages of Python are: