The ArcGIS system can be used to not only analyze geographic information but also to map and explore geographic data. This is done using spatial analysis tools to derive new information from existing data sets. For example, given a set of points, you can compute one mile buffer zones, then use this to select other information.
ArcGIS uses geoprocessing tools to accomplish many of these tasks. A geoprocessing tool is simply a function that performs an operation on GIS data. A typical geoprocessing operation takes an input dataset, performs an operation on that dataset, and returns the result of the operation as an output dataset. Common geoprocessing operations include geographic feature overlay, feature selection and analysis, topology processing, raster processing, and data conversion. Geoprocessing allows for definition, management, and analysis of information used to form decisions.
Geoprocessing in the ArcGIS API for Python
The ArcGIS API for Python provides a pythonic programming interface for ArcGIS geoprocessing functionality. Geoprocessing is an integral part of a GIS, and the Python API reflects this notion in the design of its modules. The arcgis package is organized into modules which provide a scientific programming interface for the various spatial capabilities or geographic datasets in the GIS. These modules include a family of functions(geoprocessing tools), types and other helper objects for working with spatial data of a particular type.
-
The
arcgis.features
module is used for working with feature data, feature layers and collections of feature layers in the GIS. It also contains the spatial analysis geoprocessing tools which operate on feature data. -
The
arcgis.raster
module containing classes and raster analysis geoprocessing tools for working with raster data and imagery layers. -
The
arcgis.network
module contains classes and functions for network analysis such as finding the closest facility, the best route for a vehicle, the best routes for a fleet of vehicles, locating facilities using location allocation, calculating an OD cost matrix, and generating service areas. -
The
arcgis.geoanalytics
module provides types and geoprocessing tools for distributed analysis of large datasets.
Geoprocessing tools are represented as functions in the API, and are located within the module representing the type of spatial data they apply to. Developers simply import the modules in their programs, and use the types and functions defined therein to perform geoprocessing.