arcgis.geoanalytics module

The arcgis.geoanalytics module provides types and functions for distributed analysis of large datasets. These GeoAnalytics tools work with big data registered in the GISs datastores as well as with feature layers.

Use arcgis.geoanalytics.is_analysis_supported(gis) to check if geoanalytics is supported in your GIS.

Note: GeoAnalytics operations use the following context parameters defined in the arcgis.env module:

Context parameter Description
out_spatial_reference Used for setting the output spatial reference
process_spatial_reference Used for setting the processing spatial reference.
analysis_extent Used for setting the analysis extent.
output_datastore Used for setting the output datastore to be used.


arcgis.geoanalytics.define_output_datastore(datastore=None, template=None)

Sets the arcgis.env.output_datastore by providing the datastore and template name to this method. If datastore is None, the arcgis.env.output_datastore will reset to default.

Argument Description
datastore Optional Datastore/String. This specifies the big data file share to save GeoAnalyticss results to. If specified as None the arcgis.env.output_datastore will reset to default. Allowed string values are: spatiotemporal or relational.
template Optional string. When specified, the template determines how GeoAnalytics result schema will be formatted. The output will be written to a file in the big data file share.



Returns a helper object to manage geoanalytics datastores in the GIS. If a gis isn’t specified, returns datastore manager of arcgis.env.active_gis



Returns True if the GIS supports geoanalytics. If a gis isn’t specified, checks if arcgis.env.active_gis supports geoanalytics