GeoEco.ArcGIS.ArcGISExtensionDependency

class GeoEco.ArcGIS.ArcGISExtensionDependency(extensionCode)

Bases: Dependency

A Dependency that checks that an ArcGIS extension is installed.

Parameters:

extensionCode (str) – Product code of the extension that must be installed. Generally these are two characters, such as 'sa' for Spatial Analyst and 'na' for Network Analyst. Minimum length꞉ 1.

Returns:

New ArcGISExtensionDependency instance.

Return type:

ArcGISExtensionDependency

Properties

property ExtensionCode

(str) Product code of the extension that must be installed. Generally these are two characters, such as 'sa' for Spatial Analyst and 'na' for Network Analyst. Minimum length꞉ 1.

Methods

GetConstraintDescriptionStrings

Returns the names of the software identified by this dependency, suitable to display to the user.

Initialize

Check that the depended-upon software is available and initialize it for use.