Frequently asked question

Is it possible to merge two or more features into one feature in ArcGIS Online?

Last Published: December 24, 2021

Answer

It is not possible to merge two or more line features into one feature in ArcGIS Online. ArcGIS Online does not support the merging of line features. As an alternative, use the Merge tool in ArcGIS Pro to merge line features and republish the feature layer. Refer to ArcGIS Pro: Merge features into one feature for the steps to do so.

However, it is possible to merge two or more polygon features into one polygon feature in ArcGIS Online. The following are a few options to do so:

Use the Dissolve Boundaries tool in Map Viewer Classic

In ArcGIS Online Map Viewer Classic, use the Dissolve Boundaries tool to merge two or more polygon features into one feature.

Warning:   
In ArcGIS Online, using analysis tools in Map Viewer Classic consumes credits, depending on the number of records and the generated output. Click 'Show credits' before running an analysis to check credit costs. Refer to ArcGIS Online: Understand credits for more information.
  1. Log in to ArcGIS Online. Click Content > My Content.
  2. On the My Content page, browse to the web map consisting of the polygon features, click More Options The More Options button, and select Open in Map Viewer Classic.
  3. In the Contents pane, browse the layer, and click Perform Analysis The Perform Analysis button.
  4. In the Perform Analysis pane, expand the Manage Data node, and click Dissolve Boundaries.
  5. In the Dissolve Boundaries pane, configure the parameters. Refer to ArcGIS Online: Dissolve Boundaries for more information.
  6. Click RUN ANALYSIS. The output layer is automatically added to the web map and the Contents pane.
  7. Click Save > Save to save the web map.

Use the Edit widget in ArcGIS Web AppBuilder

In ArcGIS Web AppBuilder, use the Merge tool in the Edit widget to merge two or more polygon features into one feature. The result is reflected at the web map level in Map Viewer or Map Viewer Classic.

Note:
To perform this workflow, ensure the editing capabilities of the hosted feature layer in the web map is enabled. Refer to ArcGIS Online: Manage editor settings for more information.
  1. Log in to ArcGIS Online. Click Content > My Content.
  2. On the My Content page, browse to the web map consisting of the polygon features, click More Options Click the More Options button to display the drop-down list., and select View item details.
  3. On the item details page, click Create Web App > Web AppBuilder.
  4. In the Create a New Web App window, specify Title and Tags, and click OK.
  5. In ArcGIS Web AppBuilder, add and configure the Edit widget.
    1. On the Widget tab, click Set the widgets in this controller, and click the Click here to add widget button.
    2. In the Choose Widget window, click the Edit widget, and click OK.
    3. In the Configure Edit window, under General settings, check the Merge check box, and click OK.
  6. Use the Merge tool in the Edit widget to merge two or more polygon features into one feature.
    1. In the top panel, click Edit The Edit widget..
    2. In the Edit window, click New Selection Use the New Selection tool to select an existing feature to update its geometry and attributes., and draw to select the desired polygon features on the map.
Use the New Selection tool to select the desired polygon features.
  1. In the Edit window, click Union This tool allows users to combine two or more polygons into one single feature. to merge the selected polygon features.
  1. Click Save to save the app.

The images below show the merged polygon features in ArcGIS Web AppBuilder, with the result reflected at the web map level in ArcGIS Online Map Viewer.

In ArcGIS Web AppBuilder

The merged polygon feature displayed in ArcGIS Web AppBuilder.

In Map Viewer

The merged polygon feature displayed in Map Viewer.

Article ID: 000026992

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online

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