arcgis.geoanalytics.data_enrichment module

These tools are used for data enrichment using geoanalytics

enrich_from_grid

data_enrichment.enrich_from_grid(grid_layer, enrichment_attributes=None, output_name=None, gis=None)

The Enrich From Multi-Variable Grid task joins attributes from a multi-variable grid to a point layer. The multi-variable grid must be created using the Build Multi-Variable Grid task. Metadata from the multi-variable grid is used to efficiently enrich the input point features, making it faster than the Join Features task. Attributes in the multi-variable grid are joined to the input point features when the features intersect the grid.

The attributes in the multi-variable grid can be used as explanatory variables when modeling spatial relationships with your input point features, and this task allows you to join those attributes to the point features quickly.

Usage Notes:

Only available at ArcGIS Enterprise 10.7 and later.

Argument

Description

input_layer

required FeatureLayer. The point features that will be enriched by the multi-variable grid.

grid_layer

required FeatureLayer. The multi-variable grid layer.

enrichment_attributes

optional String. A list of fields in the multi-variable grid that will be joined to the input point features. If the attributes are not provided, all fields in the multi-variable grid will be joined to the input point features.

output_name

optional string. The task will create a feature service of the results. You define the name of the service.

gis

optional GIS. The GIS object where the analysis will take place.

Returns

FeatureLayer