Clip
Function Description: Extracts input features that overlap with the clipping features.
This tool is used to cut a portion of a dataset using one or more features from another dataset as the clipping frame. The clipping tool is particularly useful when you want to create a new dataset that includes a subset of geographic features from a larger dataset.
Data Description
Input and Output Relationships
Input and Output Relationships for Clip
Notes:
- The Clip Features parameter can be points, lines, or polygons, depending on the type of the Input Features parameter.
- When the Input Features are polygons, the Clip Features must also be polygons.
- When the Input Features are lines, the Clip Features can be either lines or polygons. When clipping lines with line features, only the overlapping lines or line segments are written to the output, as shown in the diagram below.
- When the Input Features are points, the Clip Features can be points, lines, or polygons. When clipping points with point features, only the overlapping points are written to the output, as shown in the diagram below. When clipping points with line features, only the points that fall on the lines are included in the output.
- The Output Features parameter will include all attributes from the Input Features parameter.
Lines clipped by polygons:
Lines Clipped by Polygons
Points Clipped by Polygons:
Points Clipped by Polygons
Lines Clipped by Lines:
Lines Clipped by Lines
Points Clipped by Points:
Points Clipped by Points
Steps
- Locate the Toolbox -> Vector Tools -> Extract Analysis -> Clip tool, then double-click to open the tool's dialog window.
Clip
Parameter Description:
- Input Features: The features to be clipped.
- Clip Features (Optional): The features used to clip the input features.
- Output Feature Class: The resulting output feature class.
- Add Result to Project: This option is only effective if the output feature class is stored in the project's gpkg database. When selected, it will automatically create a layer for the result data and add it to the project.