๐ Plotter Widget
Available from v2.0.0
The Plotter Widget is a crucial tool in the Gruhanaksha plugin, designed for accurately plotting points along a selected line feature. This tool is particularly useful in land surveying and FMB workflows for marking specific points like "Cut Points" and "Offset Points".
It is available as a tab within the Plotter tool.
๐ง Key Featuresโ
-
๐ Flexible Unit Conversion
- Meters
- Metric Links (1 = 0.2 meters)
- Gunterโs Links (1 = 0.201168 meters)
- Feet (1 = 0.3048 meters)
- Yards (1 = 0.9144 meters)
-
๐ Point Plotting
- Cut Point: Plot a point at a specific distance along a selected line from either the start or end point.
- Bisect Point: Plot a point at a specific distance along a selected line without any offset.
- Offset Point: Plot a point perpendicular to the "Cut Point" at a specified offset distance.
- Extended Point: If the "Cut Point Length" is negative or greater than the line length, it plots a point by extending the line.
-
๐บ๏ธ Interactive Line Segment Selection
- Click directly on a line segment on the QGIS map canvas to select it.
- The start (๐ข) and end (๐ด) points of the selected segment are automatically marked for easy reference.
- Supports snapping for precise segment selection.
-
๐๏ธ Memory Layer Integration
- The plotted points are added to a new or existing memory layer named "Plotted Points".
- Points are categorized by type ("Cut Point", "Offset Point", "Extended Point") and styled for clear identification.
๐ How to Use the Plotter Widgetโ
๐ช Step 1: Launch the Widgetโ
- Open QGIS.
- From the main tool panel, open the Plotter tool.
- Select the Plotter tab.
๐ Step 2: Select a Line Segmentโ
- Click the Select Segment button. The button will change to "Selecting..." and a status message will guide you.
- Click on a line segment on the map canvas to select it.
- The start point will be marked in green (๐ข).
- The end point will be marked in red (๐ด).
โน๏ธ Use snapping for higher accuracy. You can right-click at any time to clear the segment selection.
๐ ๏ธ Step 3: Configure Inputsโ
๐ฃ a. Unitsโ
Choose the measurement unit for the lengths you will enter.
MetersMetric LinksGunterโs LinksFeetYards
๐ b. Choose Pointโ
Select the reference point on the line for plotting.
๐ข Start Point๐ด End Point
๐ c. Lengthsโ
- Cut Point Length: Enter the distance from the chosen point (start/end) along the line to place the "Cut Point".
- Offset Length: Enter the perpendicular distance from the "Cut Point" to place the "Offset Point".
๐งฉ Step 4: Plot the Pointsโ
- Click Plot โถ๏ธ
- The tool will calculate and plot the "Cut Point" and "Offset Point" on the "Plotted Points" memory layer.
๐บ๏ธ Step 5: Visualize the Resultโ
The newly created points will appear on the map, styled by their type.
๐๏ธ Step 6: Clear Segmentโ
- Click the Clear Segment button to remove the selected segment and reset the tool for a new operation.
โ ๏ธ Error Messages & Troubleshootingโ
| โ Error Message | ๐ก Cause | โ Solution |
|---|---|---|
| "Please select a segment first." | "Plot" was clicked before a segment was selected. | Use the "Select Segment" button to select a segment. |
| "Direction vector has zero length, cannot extend line." | The selected segment has zero length. | Select a valid segment with length. |
| "Line segment has zero length, cannot calculate offset." | The selected segment has zero length. | Select a valid segment with length. |
๐ Best Practicesโ
- โ๏ธ Ensure your line layer has a valid CRS.
- ๐ Double-check your units to match the project's requirements.
- ๐พ If you need to keep the generated points, right-click the "Plotted Points" memory layer and choose Export > Save Features As... to save it to a permanent file (e.g., Shapefile, GeoPackage).
๐ Example Use Caseโ
๐บ๏ธ Scenario: You need to mark a point 15 meters along a property line from its start, and then mark an offset point 5 meters to the left.
- Click Select Segment and click on the property line on the map.
- In the Plotter tab, set Units to
Meters. - Choose ๐ข Start Point.
- Set Cut Point Length to
15. - Set Offset Length to
5. - Click Plot.
๐งฎ Result: A "Cut Point" is created 15m from the start of the segment, and an "Offset Point" is created 5m away from the "Cut Point", perpendicular to the segment.
๐ The Plotter Widget is an essential tool for precise point creation along lines, streamlining survey and cadastral mapping workflows. ๐บ๏ธ๐