Skip To Content

Enrich Layer

Available with Business Analyst license.


Enriches your data by adding demographic and landscape facts about the people and places that surround or are inside your data locations. The output is a duplicate of your input with additional attribute fields.

The demographic and landscape information available with this tool can come from ArcGIS Online or locally installed Business Analyst data. Enrich Layer will consume credits if ArcGIS Online is set as the Business Analyst Data Source.

This tool is similar to the Enrich Layer (Analysis) tool. However, the Enrich Layer (Business Analyst) tool provides an enhanced data variable browsing experience, and supports locally installed Business Analyst data (does not consume credits) in addition to ArcGIS Online data (consumes credits).


Enrich Layer uses detailed aggregation and apportionment settings to summarize data. For more information, see Data Apportionment.


Enrich your data


  • The output is a copy of all features and attributes and features from the input with selected attributes appended.

  • Business Analyst data, used in summarizations and reports, is specified through the geoprocessing tool Environments settings.

  • If connected to ArcGIS Online, Enrich Layer supports dynamic travel modes when using points as input features. Travel Modes are used to build polygons, such as Drive Times or Walk Times and are then enriched with data. For information see Network Analyst Travel modes.


EnrichLayer_ba (in_features, out_feature_class, country, data_collection, variables, {buffer_type}, {distance}, {unit})
ParameterExplanationData Type

The features to be enriched.

Feature Layer

A new layer containing both the input attributes and user selected attributes. User selected attributes are summarized from underlying demographic boundaries. Only the area inside the input boundary is considered.

Feature Class

Select the country to specify which data variables will be summarized.


The collection of data used to enrich the input. You can specify a data collection without selecting any variables to enrich your data with all variables included in that collection. The Global country code only includes one data collection, KeyGlobalFacts.

You can use a value such as Health & Personal Care (HealthPersonalCare), or you can use the collection name HealthPersonalCare.


Select one or more variables to be summarized and added to your Output Feature Class. You must be signed in to ArcGIS Online or have Business Analyst Data installed.


Input point features must have an associated boundary polygon to enrich. When connected to ArcGIS Online, travel mode options are dynamically populated. Input line features can only use Straight Line distance. The default value is Straight Line.


The value that determines the distance or size of an area to enrich (i.e. a 1-mile buffer or 5-minute Walk Time). Units correspond to the polygon type. The default value is 1.


The units associated with the Distance or time parameter.


Code sample

EnrichLayer example (stand-alone script)

The following Python window script demonstrates how to use the EnrichLayer tool.

import arcpy
arcpy.env.baDataSource = "ONLINE;US;""TradeArea75pct", r"C:\Temp\Output.gdb\Trade_Area75_Enriched", "US", "householdincome", "householdincome.MEDHINC_CY;householdincome.PCI_CY", None, None, None)

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: No
  • ArcGIS Desktop Advanced: Yes

Related topics