Skip to main content

๐Ÿ“ 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โ€‹

  1. ๐Ÿ“ 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)
  2. ๐Ÿ“ 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.
  3. ๐Ÿ—บ๏ธ 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.
  4. ๐Ÿ—‚๏ธ 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โ€‹

  1. Open QGIS.
  2. From the main tool panel, open the Plotter tool.
  3. Select the Plotter tab.

๐Ÿ“Œ Step 2: Select a Line Segmentโ€‹

  1. Click the Select Segment button. The button will change to "Selecting..." and a status message will guide you.
  2. 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.

  • Meters
  • Metric Links
  • Gunterโ€™s Links
  • Feet
  • Yards

๐Ÿ‘‰ 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.

  1. Click Select Segment and click on the property line on the map.
  2. In the Plotter tab, set Units to Meters.
  3. Choose ๐ŸŸข Start Point.
  4. Set Cut Point Length to 15.
  5. Set Offset Length to 5.
  6. 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. ๐Ÿ—บ๏ธ๐Ÿ“