ThRasE - Thematic Raster Editor

ThRasE is a powerful and flexible QGIS Python plugin for fast thematic raster editing. It utilizes a recode pixel table to modify multiple classes simultaneously using various tools, including pixels, lines, polygons, and freehand drawing. The plugin also features comprehensive navigation tools that enable systematic and thorough layer inspection, a critical aspect of maintaining data quality and accuracy in thematic mapping projects.

The main purpose of the plugin, but not limited to this, is to ensure the quality of thematic maps throughout editing and reclassification processes by enabling systematic visual inspection and comparison with reference data.

Thematic Raster Requirements

The thematic raster file to be edited must satisfy the following criteria:

ThRasE accepts two types of formats, depending on the pixel-value/color association:

  1. Thematic with paletted or singleband pseudocolor on the fly:

    You can use any raster (with byte or integer data type) with a specific style loaded (from a QGIS project or QML file) or applied symbology style on the fly in QGIS.

    Supported symbology (render types):

    • Paletted/Unique values (recommended!)
    • Singleband pseudocolor (using Exact Interpolation, with Equal interval mode, and the number of classes must match the layer classes)

    Important: The pixel values must be integers.

    Tip: After configuring the style in QGIS, it’s recommended to save it as a .qml style file. Otherwise, QGIS saves it as a temporary file, and you’ll lose the pixel-value/color association if you restart QGIS and reload the raster. To save the style, go to the Style menu and click Save as Default. QGIS will save it in the same location as the raster with a .qml extension.

    Alternative: You can also save all layer styles by saving them in a QGIS project.

  2. Thematic with embedded color table:

    You can use any raster (with byte or integer data type) that has pixel-value/color associations through a color table embedded in its metadata. You can view this using gdalinfo or in the Symbology tab in layer Properties, where it will be shown as Paletted.

You can download an example of a valid thematic raster here.

View Configuration and Active Layers

Editing Tools

Warning: After each editing operation, the layer is saved (overwritten) on disk. If you want to preserve the original layer, make a backup copy before starting the editing process.

Importance of Systematic Layer Inspection

Thorough and systematic inspection of thematic rasters is crucial for ensuring data quality and accuracy. The navigation tools in ThRasE are designed to facilitate this process by:

Features and Capabilities

Global Editing Tools

ThRasE provides two powerful global editing options that allow you to apply changes to multiple areas simultaneously:

CCD Plugin Integration

ThRasE integrates with the Continuous Change Detection (CCD) plugin to enhance your thematic raster editing workflow. The CCD plugin helps analyze trends and breakpoints of change over multi-year time series at specific locations through Google Earth Engine, while editing your thematic raster.

Note: To use this feature, you must have the CCD Plugin installed in QGIS.

Save and Restore Configuration


Important: If you are using web or network layers (such as images from Google, Esri, Google Earth Engine, or XYZ), first save and load your QGIS project, and then load the ThRasE configuration file (.yaml).

About Us

ThRasE was developed, designed, and implemented by the Group of Forest and Carbon Monitoring System (SMByC), operated by the Institute of Hydrology, Meteorology and Environmental Studies (IDEAM) - Colombia.

Author and developer: Xavier C. Llano xavier.corredor.llano@gmail.com
Theoretical support, testing, and product verification: SMByC-PDI group

License

ThRasE is free/libre software and is licensed under the GNU General Public License.