WxGUI Vector Digitizer: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
Line 99: Line 99:
Mouse buttons functionality:
Mouse buttons functionality:
* Left
* Left
** Place new vertex in given select threshold
** Place new vertex (in given select threshold)
* Right
* Right
** Rewrite selected feature with newly added vertex
** Confirm addition
* Control+Left
* Control+Left
** Undo (do not add new vertex)
** Cancel action (do not add new vertex)


<center>
<center>

Revision as of 09:42, 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
    • Undo something related to the 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