WxGUI Vector Digitizer

From GRASS-Wiki
Jump to navigation Jump to search

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

Edit

@TODO

Moving features

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

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

Display categories

Dialog 'Update categories' allows adding new layer/category, modifying and deleting existing layer/categories records. Modify mode is enable after clicking on the item which user wants to be modify. For deleting record(s) right click on selected item and choose from contextual menu 'Delete selected/all'.

Mouse buttons functionality:

  • Left
    • Select feature and show it's categories
wxGUI vector digitizer - display feature categories

Copy categories

@TODO

Duplicate categories

@TODO

Display attributes