AO_100032: The number of features in <layer name> is zero

The input layer has no features available for analysis, which can lead to an empty result. This warning commonly occurs in the following scenarios:

  • The processing extent or analysis settings have been set for a specific geographic area and results in no features being included.
  • The layer includes a filter that returned no features.
  • The input is an output from an analysis that generated no features.

Solution

The solution for this error will differ depending on the cause. To troubleshoot and resolve the error, do the following:

  1. Verify that the layer has features. Empty feature layers can exist if a new feature layer is created and no features are added, if previously existing features are deleted, or if an analysis tool created an empty output layer. You can verify whether a feature layer is empty by viewing the layer on the map, viewing the layer's table, or verifying the count of features displayed below the layer name in the tool pane.

    Note:

    If you are using ModelBuilder, the count of features is only available from tool dialog box for the first tool in the model. If the input for the failing tool is an output from a different tool, ensure the dataset is a hosted layer (rather than intermediate data) and view the layer on the map or as a table to verify it has features.

    If the layer is empty, proceed to solution 2. If the layer has records, proceed to solution 3.
  2. Verify if there are filters on the layer. If the layer includes filters that return no results, the filters will need to be edited or removed before the layer can be used in analysis.
  3. Verify which option is used in the Processing extent environment setting. If an option other than Full extent is used, verify that the input layer contains features within the specified extent. If there are no features within the processing extent, update the environment setting and run the tool again.
    Note:

    Environment settings are not available when running tools in ModelBuilder.


In this topic
  1. Solution