GRASS logo

NAME

r.futures.gridvalidation - Module for validating land change simulation on a grid

KEYWORDS

raster, statistics, accuracy, validation

SYNOPSIS

r.futures.gridvalidation
r.futures.gridvalidation --help
r.futures.gridvalidation simulated=name reference=name [original=name] output=name [region=name] [subregions=name] nprocs=integer [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

simulated=name [required]
Simulated land use raster
reference=name [required]
Reference land use raster
original=name
Original land use raster
Required for kappa simulation
output=name [required]
Vector output with values as attributes
region=name
Name of saved region
subregions=name
Name of input vector map
Vector areas for validation
nprocs=integer [required]
Number of parallel processes
Default: 1

Table of contents

DESCRIPTION

Tool r.futures.gridvalidation allows to validate land change simulation results spatially. It is a wrapper around r.futures.validation that computes validation metrics for each cell of a grid or for each polygon of a vector layer. It computes: When original is provided and the input rasters contain only binary categories (0 for undeveloped and 1 for developed), the tool additionally computes change detection metrics (see r.futures.validation for details). When more than two categories are present, these metrics are skipped.

The tool operates in two modes:

This tool can be used for any number of classes. Input raster original represents the initial conditions and is needed for Kappa simulation and for change detection metrics.

EXAMPLES

Validate FUTURES output by computing validation metrics on a 5km grid. First, reclassify FUTURES output (where -1 is undeveloped, 0 is initially developed, and 1 to N is the step when a cell became developed) to binary (0 = undeveloped, 1 = developed). Create a file reclass_rules.txt with the following content:
-1 = 0 undeveloped
0 thru 1000 = 1 developed
Then save a region used as a grid and reclassify:
g.region res=5000 -a save=grid
r.reclass input=simulated_2016 output=simulated_2016_reclass rules=reclass_rules.txt
Run the grid validation:
r.futures.gridvalidation simulated=simulated_2016_reclass reference=reference_2016 \
    original=orig_2001 output=validation_grid region=grid nprocs=4

REFERENCES

Validation references:

FUTURES references:

SEE ALSO

r.futures.validation, FUTURES, r.futures.simulation, r.futures.parallelpga, r.futures.potential, r.futures.potsurface, r.futures.devpressure, r.futures.demand, r.futures.calib, r.sample.category

AUTHORS

Corresponding author:
Anna Petrasova, akratoc ncsu edu, Center for Geospatial Analytics, NCSU

Original standalone version:
Ross K. Meentemeyer,
Wenwu Tang,
Monica A. Dorning,
John B. Vogler,
Nik J. Cunniffe,
Douglas A. Shoemaker
(Department of Geography and Earth Sciences, UNC Charlotte)
Jennifer A. Koch (Center for Geospatial Analytics, NCSU)

Port to GRASS and GRASS-specific additions:
Vaclav Petras, NCSU GeoForAll

Development pressure, demand, calibration, validation, preprocessing tools and maintenance:
Anna Petrasova, NCSU GeoForAll

Climate forcing submodel:
Anna Petrasova, NCSU GeoForAll
Georgina Sanchez, Center for Geospatial Analytics, NCSU

Zoning:
Margaret Lawrimore, Center for Geospatial Analytics, NCSU
Anna Petrasova, NCSU GeoForAll

SOURCE CODE

Available at: r.futures.gridvalidation source code (history)

Accessed: Friday Apr 24 06:32:31 2026


Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.3dev Reference Manual