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:

cassini --default-config

Yellow threshold

Type: number
Default: 0.5

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": 0.5
}

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
}

Cliff threshold 1

Type: number
Default: 45.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": 45.0
}

Cliff threshold 2

Type: number
Default: 55.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": 55.0
}

DPI resolution

Type: number
Default: 600.0

The DPI resolution of the generated png map.

{
"dpi_resolution": 600.0
}