Users can directly edit raster cell values using Serval plugin in QGIS.

How to use Serval

Serval is available from QGIS plugin repository. Note that you will need to restart QGIS if you upgrade Serval from an earlier version.

Once installed, Serval functions and settings will be available from the toolbar.

Serval Toolbar in QGIS

Serval supports Undo/Redo for editing values of raster. But it is recommended to make a copy of your raster.

Currently, the following functionalities are available:

Probe mode
  • Displays raster bands values in boxes.
Draw mode
  • Draw/Edit mode: bands values can be modified in the boxes and written to the current raster cell by hitting the Enter key. In this mode the values will be also assigned to any other raster cell clicked by user.
Write nodata
  • To replace a cell value with the NODATA value.
Define nodata
  • To define or replace the NODATA value.
Color picker
  • To pick a color using QGIS color picker (3-bands rasters only).
Undo
Redo
  • To Undo/Redo the cell edit. Edits history is saved separately for each raster, that is, undo/redo is always done for current raster layer.

Future developments

We'd like to add support to edit values using spatial and expression selection tools.

For any problems or feedback, please consider to file a ticket here.

You might also want to read these

Let's make the QGIS work for you

Lutra Consulting is a QGIS-focused expert provider of geospatial software development, consulting, training, and support services.

Get in touch
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Cookie Policy for more information. Deny cookies here.