HOW TO

Clip a random point feature within a polygon feature from a raster layer in ArcGIS Pro

Last Published: August 7, 2024

Summary

Generating random points within a specified area is useful for analyzing spatial relationships and impact areas. Certain areas of a raster layer can be clipped for better spatial analysis and data visualization by converting it to a vector layer before clipping it using the Clip tool. This article provides a workflow on how to clip a random point feature within a polygon feature from a raster layer in ArcGIS Pro.

Procedure

  1. Open the ArcGIS Pro project.
  2. Create a specified number of point features from the point feature layer using theĀ Create Random Points tool.
    1. On the ribbon, click the Analysis tab. In the Geoprocessing group, click Tools.
    2. In the Geoprocessing pane, search for and click Create Random Points (Data Management Tools).
    3. In the Create Random Points pane, for Output Location, click Browse and specify a location for the output random point feature.
    4. For Output Point Feature Class, specify a name.
    5. For Constraining Feature Class, click the drop-down list and select the point feature layer.
    6. For Number of Points (value or field), specify the number of points to be randomly generated. In this example, 100 points are specified.
    7. Click Run.
The Create Random Points pane.
  1. Create a buffer with a specified distance for the point features using theĀ Buffer tool.
    1. On the ribbon, click the Analysis tab. In the Geoprocessing group, click Tools.
    2. In the Geoprocessing pane, search for and click Buffer (Analysis Tools).
    3. In the Buffer pane, for Input Features, click the drop-down list and select the output point feature layer created in Step 2.
    4. For Output Feature Class, specify a name and location.
    5. For Distance [value or field], select Linear Unit from the drop-down list and specify the distance and the unit. In this example, 100 meters is specified.
    6. Click Run.
The Buffer pane.
  1. Convert the raster layer to a polygon feature using the Raster to Polygon tool.
    1. On the ribbon, click the Analysis tab. In the Geoprocessing group, click Tools.
    2. In the Geoprocessing pane, search for and click Raster to Polygon (Conversion Tools).
    3. In the Raster to Polygon pane, for Input raster, click the drop-down list and select the raster layer.
    4. For Output polygon features, specify a name and location.
    5. Click Run.
The Raster to Polygon pane.
  1. Extract the buffer area that overlays within the polygon feature using the Clip tool.
    1. On the ribbon, click the Analysis tab. In the Geoprocessing group, click Tools.
    2. In the Geoprocessing pane, search for and click Clip (Analysis Tools).
    3. In the Clip pane, for Input Features or Dataset, click the drop-down list and select the polygon feature layer created in Step 4.
    4. For Clip Features, click the drop-down list and select the output feature layer created in Step 3.
    5. For Output Features or Dataset, specify a name and location.
    6. Click Run.
The Clip pane.

The clipped random point features from the raster data within the polygon layer are displayed on the map.

The map with random point features from the raster data within the polygon layer.

Article ID: 000033204

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 3
  • ArcGIS Pro 3 2

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