Splitting of Features (Beta)
Shortcut to Launch: Shift + Alt + B
This documentation is primarily generated by AI and may contain inaccuracies or incomplete information. A thorough manual review is still pending. Please Report any errors, inconsistencies, or suggestions for improvement to ensure accuracy and reliability.
This guide provides an overview of the functionality available in Split Features. The tool allows users to create, edit, and manage geometries interactively on the map canvas. It includes features like adding, removing, and moving vertices, as well as manipulating line segments and drawing temporary lines.
Key functionality of the Tool
Splitting Features Based on Visible Area
The Split Features tool primarily allows users to split geometries based on their on-screen representation in the map canvas. You can visually divide large geometries into smaller sections using the visible portion of the map.
How It Works:
-
The tool splits the selected feature (line or polygon) based on where temporary lines intersect the geometry in the visible area.
-
This feature is especially useful for dividing large or complex features, ensuring that only the visible section of the feature is split.
How to Use
1. Zoom into the Area to Split
- Zoom into the portion of the map canvas where you want to split the feature. The tool operates based on the visible area of the map.
2. Select the Geometry to Split
- Click on the feature (line or polygon) you want to split. This feature will be selected for the splitting operation.
3. Drawing Lines and Temporary Rubber Band
The tool provides functionality to draw and manage lines visually on the canvas.
How It Works:
-
A rubber band represents the line being drawn.
-
A temporary rubber band gives a preview of the next segment being added.
What You Can Do:
-
Start a new line by clicking on the map.
-
See the line's progress as you add points.
-
Adjust the style and color of the line for better visibility.
Interaction:
- The line is drawn with red dots, and the temporary preview updates dynamically.
4. Display of Area for Polygons and Length for Lines Outside Boundaries
When the drawn line extends beyond the boundaries of the selected feature, the tool will automatically display either the area (for polygons) or the length (for lines) of the resulting geometries created by the split.
For Polygons:
-
If the feature is a polygon and the drawn line extends beyond its boundaries, the tool computes and displays the area of the new polygons formed by the split.
-
The area is displayed dynamically, reflecting the new geometry as the line is drawn.
For Lines:
-
If the feature is a line and the drawn line extends outside the boundaries, the tool calculates and displays the length of the resulting line segments created by the intersection with the drawn line.
-
The displayed length will update in real time, reflecting the new geometry created by the split.
Key Notes:
-
The area (for polygons) or length (for lines) is calculated for each resulting geometry created when the feature is split by the drawn line.
-
The area or length values are updated dynamically as the user draws the line outside the selected feature boundaries.
-
This helps users immediately see the effect of the split, whether they are dividing polygons or lines, and gives them accurate measurements.
5. Adding and Removing Vertices
Vertices define the shape of your lines or polygons. This tool allows you to add, remove, and adjust vertices.
Adding Vertices:
-
Click near an existing line to add a new vertex.
-
The tool automatically detects the closest point on the line and places the vertex there.
Removing Vertices:
-
Select a vertex and click to remove it.
-
If the vertex is the first or last point of a closed shape, the line will open.
Interaction:
-
Vertices are shown as small red squares.
-
The selected vertex (or the one being moved) is highlighted in green.
6. Moving Vertices
Adjust the shape of your geometry by moving its vertices.
How It Works:
-
Enable the "Move Vertices" mode from the toolbar.
-
Drag vertices to their new position.
-
The geometry updates dynamically as you move.
7. Closing and Opening Lines
You can choose whether a line should be open (a simple path) or closed (a loop).
Closing a Line:
- Click the "Close Line" button to connect the last point back to the first.
Opening a Line:
- Click the "Open Line" button to remove the connection between the last and first points.
8. Undo and Redo Actions
Quickly revert or reapply changes to your geometry.
Key Shortcuts:
-
Ctrl + Z: Undo the last change.
-
Ctrl + Y: Redo the previously undone change.
9. Modes for Geometry Editing
The tool supports different modes to manage your geometries efficiently:
Modes Available:
-
Adding Vertices: Insert new points along the line.
-
Removing Vertices: Delete unnecessary points.
-
Moving Vertices: Drag and drop points to a new location.
-
Moving Line Segments: Adjust entire segments of the line.
-
Moving the Whole Line: Shift the entire geometry without altering its shape.
How to Switch Modes:
-
Use the toolbar to select the desired mode.
-
Modes are exclusive, meaning only one can be active at a time.
10. Visual Feedback and Updates
The tool provides clear visual feedback as you interact with the map canvas.
What You'll See:
-
Red Squares: Regular vertices.
-
Green Squares: Highlighted vertices (e.g., during movement).
-
Red Dotted Lines: The temporary rubber band preview.
Refreshing Views:
-
The tool ensures the canvas updates automatically as you make changes.
-
Use the "Refresh" option if the screen doesn’t update as expected.
11. Snap to Map
When adding or moving vertices, the tool attempts to snap to the nearest feature on the map for precision.
What Happens:
-
If snapping is available, the new vertex aligns with the nearest map feature.
-
If snapping is not possible, the vertex uses the cursor's position.
12. Right-Click to Split Based on the Drawn Line
Once you've drawn the line (either a full or temporary line), you can right-click on the canvas (line or polygon) to split it based on the drawn line.
How It Works:
-
After drawing the desired line, right-click anywhere on the map canvas.
-
From the context menu, select Split Feature. This action splits the selected geometry (line or polygon) at the intersection points of the drawn line.
Key Notes:
-
The splitting operation will only occur if the drawn line intersects the selected feature.
-
The tool splits the feature precisely along the drawn line, based on the visible geometry in the current map canvas.
-
This functionality allows users to quickly and accurately divide geometries without needing to manually select vertices or move shapes.
Frequently Used Buttons and Shortcuts
Action | How to Perform It |
---|---|
Start Drawing Line | Click on the map canvas |
Add a Vertex | Click near a line segment |
Remove a Vertex | Select the vertex and delete |
Close a Line | Click the "Close Line" button |
Open a Line | Click the "Open Line" button |
Move a Vertex | Drag and drop the vertex |
Undo Last Action | Press Ctrl + Z |
Redo Last Action | Press Ctrl + Y |
Tips for Effective Use
Configuring Snapping Settings
-
Before starting your edits, configure snapping settings for accuracy:
-
Open the QGIS snapping toolbar or access snapping options via project settings.
-
Adjust the snapping tolerance to an appropriate value.
-
Enable snapping to vertices or segments as required.
-
Set snapping priorities to handle overlapping geometries effectively.
-
The tool allows snapping to existing map points for precision.
-
These settings enhance accuracy and streamline the workflow.
-
Utilize the snapping functionality to ensure vertices align with your desired features.
-
Managing Layers
-
When working with multiple layers, consider isolating layers or using layer visibility options to reduce visual clutter.
-
Use the layer lock feature to avoid accidental edits on other layers.
Handling Overlapping Geometries
-
Carefully plan your edits to ensure no unintentional overlaps are created.
-
Utilize the snapping functionality to align geometries precisely.
-
Temporarily hide layers that are not being edited to focus on the target layer.
Best Practices
-
Save Regularly: Save your edits frequently to prevent accidental data loss.
-
Work Incrementally: For complex geometries, perform edits in smaller, manageable steps.
-
Test Changes: Use the undo/redo functionality to experiment without making permanent changes.
-
Snap Strategically: Ensure snapping settings align with your project needs to maintain precision.
-
Layer Management: Use visibility and isolation options to work effectively with overlapping or dense geometries.
Applications
The Split Features tool is useful for the following tasks:
- Land Parcel Division: Dividing land parcels into smaller sections for detailed analysis or reporting.
- Boundary Adjustments: Correcting boundaries that need to be split or reshaped based on new data.
- Feature Editing: Editing existing geometries, such as roads or infrastructure features, in the map display.
Conclusion
The Split Features tool is an intuitive and powerful tool for interacting with geometries based on their on-screen representation. By allowing users to split features precisely where they are visible in the map canvas, it offers flexibility and accuracy for land parcel divisions, boundary adjustments, and other spatial editing tasks. Whether for dividing large features or making precise corrections, this tool streamlines the process and enhances spatial data editing.