HOW TO

Return a total feature count from a layer with data intersecting an area of interest in ArcGIS Experience Builder

Last Published: May 23, 2024

Summary

A total feature count from a layer with data intersecting an area of interest can be returned in ArcGIS Experience Builder using the Near Me and Search widgets. This is useful to generate a report or statistics on the number of incidences or points of interest within a predefined area.

Procedure

Follow the steps below to return a total feature count from a layer with data intersecting an area of interest on a map in ArcGIS Experience Builder.

  1. Add and configure a Map widget. Refer to ArcGIS Experience Builder: Map widget for more information.
  2. Add a Near Me widget.
    1. On the left toolbar, click Insert The Insert button to open the Insert widget panel.
    2. In the Insert widget panel, under Map centric, drag and drop the Near Me widget on the canvas.
  1. Configure the settings in the Near Me panel.
    1. In the Near Me panel, on the Content tab, under Select a map widget, click the drop-down menu, and select a map.
    2. Under Analysis Settings, click the inserted map to open the map pane.
  1. Configure the settings in the map pane.
    1. In the map pane, under Search Method, set the Search distance to 0.
Note: 
Setting the Search distance to 0 is necessary to return the points of interest within the searched area of interest only, not within a buffer area. 
    1. Expand Input, uncheck the Distance settings and Input location label check boxes, and toggle Point, Polyline, and Polygon under Sketch tools off.
    2. Under Analysis, click Add Analysis to open the Edit Analysis pane.
The map pane
  1. Add a summary analysis for the polygon layer.
    1. In the Edit Analysis pane, for Select layer, click the layer name to open the layer list, and select the polygon layer.
    2. Under Analysis Type, check Summary.
    3. Click OK.
The Summary analysis settings
  1. Add a proximity analysis for the point layer.
    1. In the map pane, under Analysis, click the Add Analysis button.
    2. In the Edit Analysis pane, for Select layer, click the layer name to open the layer list, and select the point layer.
    3. Under Analysis Type, check Proximity.
    4. For Display Field, select OBJECTID.
    5. For Sort features, check Field.
    6. Below the Field option, click the drop-down arrow, and select OBJECTID.
    7. Click OK.
The Proximity analysis settings
  1. Add a Search widget.
    1. On the left toolbar, click Insert The Insert button to open the Insert widget panel.
    2. In the Insert widget panel, under Data centric, drag and drop the Search widget on the canvas to add a Search widget.
  1. Configure the settings on the Search widget Content tab.
    1. In the Search panel, on the Content tab, click New search source > Layer Source.
    2. In the Set layer source pane, click Select data.
    3. In the Select data pane, on the Added tab, click the Expand button next to the connected map to view the layer list, and select the polygon layer.
    4. In the Set layer source pane, under Search options, for Select searching fields, expand the drop-down list, and select the field to be used as a search input. In this example, the Name field is selected.
    5. For Display fields, select the same field selected in Step 8(d).
The Search options settings
  1. Configure the settings on the Search widget Action tab.
    1. In the Search panel, on the Action tab, click the Add a trigger button.
    2. In the Select a trigger pane, click Record selection changes.
    3. In the Select a target pane, under Widgets, click Near Me.
    4. In the Select an action pane, click Set location.
  1. On the builder toolbar, click the Save The Save button and Preview The Preview button buttons to save and preview the experience.

The image below shows the number of intersecting features in an experience when searching an area of interest in the Search widget.

The returned intersecting features

Article ID:000032482

Software:
  • ArcGIS Experience Builder

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options