GeoEco.ArcGIS.GeoprocessorManager

class GeoEco.ArcGIS.GeoprocessorManager

Bases: object

Manages GeoEco’s interface to ArcGIS’s Python package, known historically as the “geoprocessor”, and more recently as arcpy.

Note

Do not instantiate this class. It is a collection of classmethods intended to be invoked on the class rather than an instance of it, like this:

from GeoEco.ArcGIS import GeoprocessorManager

GeoprocessorManager.InitializeGeoprocessor()

See the documentation for InitializeGeoprocessor() for examples of how to use GeoprocessorManager.

Methods

ArcGISObjectExists

Tests that a given path to an ArcGIS object exists and that the object is of a given type.

CopyArcGISObject

Copies the specified ArcGIS object.

DeleteArcGISObject

Deletes the specified ArcGIS object, if it exists.

GetArcGISLicenseLevel

Returns the license level of the installed copy of ArcGIS.

GetArcGISMajorVersion

Returns the major version number of the installed copy of ArcGIS.

GetArcGISMinorVersion

Returns the minor version number of the installed copy of ArcGIS.

GetArcGISPatchVersion

Returns the patch version number of the installed copy of ArcGIS.

GetArcGISProductName

Returns the product name of the installed copy of ArcGIS.

GetArcGISVersion

Returns the major, minor, and patch version numbers of the installed copy of ArcGIS.

GetGeoprocessor

Returns a weakref to the ArcGIS geoprocessor that the GeoEco package is using.

GetUniqueLayerName

Returns a randomly generated string that may be used as the name of a new geoprocessing layer.

GetWrappedGeoprocessor

Returns a weakref to an object that wraps the ArcGIS geoprocessor and logs all calls to it.

InitializeGeoprocessor

Initializes the ArcGIS geoprocessor so that the GeoEco package can access ArcGIS functionality.

MoveArcGISObject

Moves the specified ArcGIS object.

SetGeoprocessor

Instructs the GeoEco package to use the provided object as the ArcGIS geoprocessor.