Vector Editor
The Vector Editor lets you digitise new features and modify existing ones directly on the 3D globe. Edits are written back to the GRASS vector map on disk; no separate commit step is required.
Opening the editor
- Load a vector layer via Add Vector in the Layer Manager.
- Click the ✏ Edit toggle in the left panel to enable editing mode for that layer.
The editing toolbar appears with buttons that are enabled contextually based on your current selection.
Digitising new features
With editing enabled and no feature selected:
- Click on the globe to place each vertex. For lines and polygons, continue clicking to add vertices.
- Double-click to finish the feature (lines/polygons) or single-click for a point.
- The feature is immediately written to the GRASS map.
Selecting features
Click any existing feature to select it. A cyan highlight overlay appears on the selected feature. Click empty space to deselect.
- Hold Shift and click to extend the selection to multiple features.
- Click a selected feature again to deselect it.
Moving features (translate)
- Select one or more features.
- Click ↕ Move in the toolbar.
- Click the target location on the globe. All selected features are translated by the same offset.
The move is computed in the map's native CRS and applied via v.edit tool=move.
Per-vertex editing
- Select exactly one feature.
- Click ✏ Edit in the toolbar (enabled only for single selection).
- Cyan vertex handles appear at every node. The original feature is hidden while editing.
- Drag any handle to its new position.
- Click Apply to save, or Cancel to discard.
Applying replaces the feature's geometry in the GRASS map (delete old cat + re-add with same cat number, so attributes are preserved).
Attribute editing
When exactly one feature is selected, the Attributes panel opens automatically below the toolbar.
- Existing attributes are shown as editable text fields.
- Click + Field to add a new key/value pair.
- Click Save attrs to write the changes. New columns are added to the GRASS attribute table automatically with an inferred type (integer, double, or text).
- Attribute writes follow the environment's configured vector backend, so the same editor flow works for both SQLite-backed and PostgreSQL-backed environments.
- After saving, the identify popup refreshes attributes from WFS to avoid stale values. That makes post-save identify results more reliable, but it can be slightly slower than a pure client-side lookup.
Deleting features
Select one or more features and click the 🗑 Delete button. The features are removed from the GRASS map immediately.
Keyboard shortcuts
| Key | Action |
|---|---|
| Esc | Cancel current operation (move, vertex edit) |
| Double-click | Finish digitising a line or polygon |