Skip to content
Skip to Content

min_precision_m

Key of the [spatial] table. Qualified name: spatial.min_precision_m

Precision limit of positions by collective type, in metres (`"c:<ns>/<Contract>.<type>" = 50`, or `c:official/Residence.dwelling`): a coarser position counts as missing.

Type
table
Unit
none
Default
{}used when the key is absent
Valid range
a tablecontent checked by its owner
Set in
[spatial]optional table
Since
0.1engine 0.1.0

Description

min_precision_m is optional. When it is absent, the engine uses {}, and writes that value into effective.toml in the output folder.

Example

scenario.toml
# scenario.toml

[scenario]
name = "tracer"
seed = 20180101

[time]
start = 2018-01-01
end = 2019-01-01

[spatial]

[spatial.min_precision_m]  # this page

[plugins."test/ticker"]

Run it with the engine built from source: cohortix run scenario.toml --output output/example.

Errors that name this key

  • E1008: min_precision_m must be …, but it is ….
  • E1022: Unknown key … in [spatial]; did you mean …?

See also

  • [spatial]Spatial service: the indexes of positioned places and dwellings (AD-47).
  • dwelling_cell_mSide of the cubic cells of the dwelling grid, in metres, from 1 to 12760000

Generated from crates/cohortix-kernel/src/scenario/config.rs. Do not edit. This page (key spatial.min_precision_m) is built from the engine sources at every documentation build. To change it, edit its ConfigKey in kernel_groups() and its one-line comment config.key.spatial.min_precision_m in schemas/messages/en.toml and open a pull request.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.