Skip to content

Configuration Reference

The following reference covers all supported configuration options in Cassini. The configuration should be in a config.json file in the directory you are running the cassini command. To generate a default configuration file, run the config subcommand:

cassini config

Yellow threshold

Type: number
Default: 1.0

The number of points below which a one meter by one meter cell will be yellow (ISOM 403 Rough open land). Otherwise it will be white (ISOM 405 Forest).

{
"yellow_threshold": 1.0
}

Green threshold 1

Type: number
Default: 1.0

The number of points above which a one meter by one meter cell will be light green (ISOM 406 Vegetation, slow running).

{
"green_threshold_1": 1.0
}

Green threshold 2

Type: number
Default: 2.0

The number of points above which a one meter by one meter cell will be medium green (ISOM 408 Vegetation, walk).

{
"green_threshold_2": 2.0
}

Green threshold 3

Type: number
Default: 3.0

The number of points above which a one meter by one meter cell will be dark green (ISOM 410 Vegetation, fight).

{
"green_threshold_3": 3.0
}

Low vegetation density threshold

Type: number
Default: 1.0

The density value above which a one meter by one meter cell will be drawn as undergrowth vegetation. See the --undergrowth option for more details on undergrowth rendering.

{
"low_vegetation_density_threshold": 1.0
}

Cliff threshold 1

Type: number
Default: 60.0

An arbitrary incline value above which a one meter by one meter cell will be drawn as a small cliff (ISOM 202 Cliff).

{
"cliff_threshold_1": 60.0
}

Cliff threshold 2

Type: number
Default: 60.0

An arbitrary incline value above which a one meter by one meter cell will be drawn as a large cliff (ISOM 201 Impassable cliff).

{
"cliff_threshold_2": 60.0
}

DPI resolution

Type: number
Default: 600.0

The DPI resolution of the generated png map.

{
"dpi_resolution": 600.0
}