Skip To Content
ArcGIS Developer
Dashboard

Analysis widget

(Added at v1.1)

The Analysis widget provides an easy way to use ArcGIS Online or ArcGIS Enterprise spatial analysis tools in your application. With 25 analysis tools, you can configure one tool or multiple tools in a widget. See the Perform analysis section of the ArcGIS Enterprise help for an introduction to spatial analysis, the license requirements to access analysis tools, and details about the usage of each tool. If you're a developer, you can access these tools via web APIs. For more information, see Spatial analysis service REST API.

Using a spatial analysis service consumes credits. For more information on credits, see Credits overview.

Analysis tools must have access to the data used by the layers and services on which you run them. If you use ArcGIS Server map or feature services, the analysis tools must have access to the data; therefore, the URL to the service must be a public URL or be on the same network as your portal.

License:

If you include this widget in your app, confirm that your end users have the required privileges described in the Use the Analysis widget section below.

Configure the Analysis widget

  1. Hover over the widget and click the Configure this widget button Configure this widget to open the configuration window.
    Note:

    If you need to add the widget to the app first, click a widget placeholder on the Widget tab. In the Choose Widget window that opens, select the widget and click OK.

  2. Tools are listed alphabetically in the configuration window. Choose the tools you want to include in the widget.

    Analysis configuration window

  3. Click the settings icon next to your selected tool. The following options are available:
    • The tool display name—Provide your tool name.
    • Show help links in the widget—Controls whether to show help links in the widget.
    • Show option to use the current map extent—Controls whether to show the option to use the current map extent.
    • Display Show credits option—Controls whether to show the credits link.
    • Save the result in user's account—Controls whether to allow users to save the result in their accounts.
    • Show ready to use layers from ArcGIS Living Atlas of the World—Controls whether to show ready-to-use layers from ArcGIS Living Atlas of the World.
    • Allow to export results---Controls whether to allow users to export the result to CSV, Feature Collection or GeoJSON formats.
    • Include route layers—Specific to the Plan Routes tool. It allows users to open the resultant routes in the pop up by clicking Open route to view the directions that were generated for the vehicle. To achieve it, make sure the followings are in place:
      • Check the option of Include route layers in the tool setting
      • Make sure the Include route layers option is checked when you run the tool in the widget.
      • Add the Directions widget in the app.
  4. Repeat step 3 if you have more than one selected tool.
  5. Click OK to save the configuration and close the window.

Use the Analysis widget

To perform analysis, the administrator of your organization needs to grant you certain privileges. To use any of the analysis tools, you need the following privileges:

  • Create, update, and delete content
  • Publish hosted features
  • Spatial analysis

Certain tools need additional privileges such as network analysis and GeoEnrichment. See Perform analysis for more information. If you don't have required privileges, the corresponding tools will not be available in the widget panel.

Note:
Go over the Publish Routing Services Utility topic to learn specific information on data requirements.

  1. Verify that you are signed in to your organization with privileges to perform analysis.
  2. Click the widget icon in your app to open the widget panel. If more than one tool is configured, choose tools one at a time to execute. If only one tool is available, it activates automatically. Click the help icon Analysis help icon for information about the tool.
  3. Note:

    If you don't have required privileges to run a tool, the tool will not display in the widget panel. In addition to privileges, each tool has its own requirement for the layer or layers. If a tool does not have a required layer or layers in the map, the tool will be unavailable.

    Also note that the Extract Data tool requires the extract capability be set in the service.

  4. Choose an input layer from the drop-down list, configure the parameters for the tool, and click Run Analysis.
  5. Tip:

    For more information about the configuration dialog box, see the Work with a tool dialog box section of the ArcGIS Online help or Use Analysis tools in the Portal for ArcGIS help .

  6. When the tool is running, the execution messages display in the panel. Click the cancel icon if you want to cancel the job.

    A job for a tool consuming credits cannot be cancelled.

    When the job is successful, the result is saved to My Content in the Contents page. Click the item link under Outputs to view the item details in your portal. In addition, the results as a feature layer or layers or a table or tables are automatically added to the map as operational layers.

    Outputs

    If the job is not successful, an error message displays in red. Click Back to return to the parameters' configuration. Additionally, you may see the output name with an export button if you choose the option to export the files.

  7. If you have more than one tool, click Home to choose other tools.

Tools and server license

Below is a list of analytical tools that require a standard or advanced GIS Server license.

Analysis toolGIS Server StandardGIS Server Advanced

Aggregate Points

Confirmed

Confirmed

Calculate Density*

Confirmed

Choose Best Facilities

Confirmed1

Connect Origins to Destinations

Confirmed1

Create Buffers

Confirmed

Confirmed

Create Drive-Time Areas

Confirmed1

Create Viewshed

Confirmed2

Create Watersheds

Confirmed3

Derive New Locations

Confirmed

Confirmed

Dissolve Boundaries

Confirmed

Confirmed

Enrich Layer

Confirmed4

Extract Data

Confirmed

Confirmed

Find Centroids

Confirmed

Confirmed5

Find Existing Locations

Confirmed

Confirmed

Find Hot Spots

Confirmed

Confirmed

Find Nearest

Confirmed

Confirmed

Find Outliers

Confirmed

Confirmed

Find Similar Locations

Confirmed

Confirmed

Interpolate Points*

Confirmed

Join Features

Confirmed

Confirmed

Merge Layers

Confirmed

Confirmed

Overlay Layers

Confirmed

Confirmed

Plan Routes

Confirmed1

Summarize Nearby

Confirmed

Confirmed

Summarize Within

Confirmed

Confirmed

Trace Downstream

Confirmed3

  1. Requires additional configuration of a network service. This can be an Esri provided service or your own – see Directions and Routing for more information.
  2. Requires additional configuration of an elevation service. This can be an Esri provided service or your own – see Elevation for more information.
  3. Requires additional configuration of a hydrology service. This can be an Esri provided service – see Configure utility service: Hydrology for more information.
  4. Requires additional configuration of a geoenrichment service. This can be an Esri provided service or your own – see Configure utility service: GeoEnrichment for more information
  5. Requires Advanced Server license.