Summary
In ArcGIS Online, to perform a spatial analysis, a hosted feature layer is clipped to a specific polygon feature to visually segregate and highlight the area. As the Clip tool is not available in ArcGIS Map Viewer Classic, the Extract Data tool is used instead. The image below displays a layer with several polygon features.
This article provides a workflow to clip a layer to a specific polygon feature using the Extract Data tool in ArcGIS Online Map Viewer Classic.
Procedure
- Log in to ArcGIS Online and click Content > My Content.
- Browse to the hosted feature layer, click More Options and select Open in Map Viewer Classic with full editing control.
- In Map Viewer Classic, on the Details tab, click Content, and click the Perform Analysis icon below the reference layer.
Note:
The Perform Analysis tool is currently only supported in ArcGIS Online Map Viewer Classic. Using this tool consumes credits. Refer to ArcGIS Online: Credits by capability for more information on how many credits are required for a specific task.
- In the Perform Analysis pane, expand Manage Data and click Extract Data.
- Configure the Extract Data tool.
- In the Extract Data pane, under Layers to extract, check the layer's check box.
- Under Study area, select Same as Display in the drop-down menu and select Clip features.
- Click the Draw icon under Study area and select the polygon feature to be clipped.
- Under Output data format, select File Geodatabase (.zip) in the drop-down menu.
- Specify a name for Output file name and click RUN ANALYSIS.
Note:
Extracting data takes a few minutes and is only displayed in the Content tab after the extraction is complete.
- Publish the file geodatabase as a hosted feature layer in ArcGIS Online.
- On the top left corner of Map Viewer Classic, click Home > Content.
- Click the created file geodatabase.
- On the item details page of the extracted file geodatabase, click Publish.
- In the New item window, specify a name under Title, select a folder in the Folder drop-down menu, and click Save.
- Browse to the hosted feature layer, click More Options and select Open in Map Viewer Classic with full editing control.
The image below shows the layer clipped to the specific polygon feature.