WxGUI Vector Digitizer: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
Line 158: Line 158:
[[Image:line-split.png]]
[[Image:line-split.png]]


Split linear feature (line or boundary) on given position. The results are two linear features with the same category(ies) as original feature.
Split linear feature (line or boundary) on given position. The results are two linear features with the same category(ies) as the original feature.


Mouse buttons functionality:
Mouse buttons functionality:
* Left
* Left
** Select position for on the linear feature (in given select threshold)
** Select position on the linear feature (in given select threshold)
* Right
* Right
** Confirm action
** Confirm action

Revision as of 09:49, 7 February 2011

This page covers core functionality of wxGUI vector digitizer, explains it's usage for newcomers.

Global mouse buttons functionality
  • Left
    • Do something related to the selected functionality
  • Control-Left
    • Cancel operation (depends on selected functionality)
  • Middle scrolling
    • Zooming
  • Middle
    • Panning
  • Right
    • Confirm changes

Adding new features

Point

Mouse buttons functionality:

  • Left
    • Add new point on given position
wxGUI vector digitizer - add new point and define it's attributes

Line

Mouse buttons functionality:

  • Left
    • Add new vertex on given position
  • Right
    • Write out the new line with given number of vertices
  • Control+Left
    • Remove last added vertex from the line
wxGUI vector digitizer - add new line and define it's attributes

Boundary

Mouse buttons functionality:

  • Left
    • Add new vertex on given position
  • Right
    • Write out the new boundary with given number of vertices
  • Control+Left
    • Remove last added vertex from the boundary
wxGUI vector digitizer - add new boundary and define it's attributes

Centroid

Mouse buttons functionality:

  • Left
    • Add new centroid on given position
wxGUI vector digitizer - add new centroid and define it's attributes

Area

This functionality combines adding new boundary without category and optionally centroid(s) with category defining new area(s). If the newly added boundary defines an area or two areas on the left and right from the boundary it will also add new centroid(s) which define the newly created area(s).

Mouse buttons functionality:

  • Left
    • Add new vertex on given position
  • Right
    • Write out the new boundary with given number of vertices
  • Control+Left
    • Remove last added vertex from the boundary
wxGUI vector digitizer - add new area and define it's attributes

Modifying linear features

This functionality covers linear features (lines and boundaries).

Vertex

Add

Add new vertex to the linear feature (line or boundary). This operation won't change the shape of the selected feature.

Mouse buttons functionality:

  • Left
    • Place new vertex (in given select threshold)
  • Right
    • Confirm addition
  • Control+Left
    • Cancel action (do not add new vertex)
wxGUI vector digitizer - place new vertex to the linear feature
wxGUI vector digitizer - new vertex confirmed

Remove

Remove selected vertex from the linear feature (line or boundary). This operation will change the shape of the selected feature.

Mouse buttons functionality:

  • Left
    • Select vertex to be removed (in given select threshold)
  • Right
    • Confirm removal
  • Control+Left
    • Cancel action (do not remove vertex)
wxGUI vector digitizer - select vertex to be removed
wxGUI vector digitizer - selected vertex removed

Move

Move selected vertex of the linear feature (line or boundary). This operation will change the shape of the selected feature.

Mouse buttons functionality:

  • Left
    • Select vertex to be moved (in given select threshold)
  • Right
    • Confirm new position of the vertex
  • Control+Left
    • Cancel action (do not move vertex)
wxGUI vector digitizer - select vertex to be moved
wxGUI vector digitizer - confirm new position of the vertex

Split

Split linear feature (line or boundary) on given position. The results are two linear features with the same category(ies) as the original feature.

Mouse buttons functionality:

  • Left
    • Select position on the linear feature (in given select threshold)
  • Right
    • Confirm action
  • Control+Left
    • Cancel action (do not split selected feature)
wxGUI vector digitizer - select vertex to be moved
wxGUI vector digitizer - confirm new position of the vertex

Edit