Difference between revisions of "WxGUI Vector Digitizer"

From GRASS-Wiki
Jump to navigation Jump to search
Line 201: Line 201:


== Deleting features ==
== Deleting features ==
[[Image:line-delete.png]]
Delete selected feature.
Mouse buttons functionality:
* Left
** Select feature to be deleted (in given select threshold)
* Right
** Confirm action (delete feature)
* Control+Left
** Cancel action (do not delete selected feature and unselect feature)
<center>
{|
| [[Image:wxgui-vdigit-delete-line-0.png|thumb|center|400px|wxGUI vector digitizer - feature to be deleted selected ]]
| [[Image:wxgui-vdigit-delete-line-1.png|thumb|center|400px|wxGUI vector digitizer - confirm and delete selected feature]]
|}
</center>


== Category/Attributes management ==
== Category/Attributes management ==

Revision as of 10:02, 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

Point-create.png

Mouse buttons functionality:

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

Line

Line-create.png

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

Boundary-create.png

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

Centroid-create.png

Mouse buttons functionality:

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

Area

Polygon-create.png

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

Vertex-create.png

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

Vertex-delete.png

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

Vertex-move.png

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

Line-split.png

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 position where the linear feature will be split
wxGUI vector digitizer - confirm splitting

Edit

@TODO

Moving features

Line-move.png

Move selected feature to the new location.

Mouse buttons functionality:

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

Deleting features

Line-delete.png

Delete selected feature.

Mouse buttons functionality:

  • Left
    • Select feature to be deleted (in given select threshold)
  • Right
    • Confirm action (delete feature)
  • Control+Left
    • Cancel action (do not delete selected feature and unselect feature)
wxGUI vector digitizer - feature to be deleted selected
wxGUI vector digitizer - confirm and delete selected feature

Category/Attributes management