Configuration.toml#

All information that is plotted in a cross-section is passed through a .toml configuration file. This contains among other the general settings, input data and styling information of the section. A geosections configuration TOML can contain the sections which are explained below. For every possible option in each section, see the configuration options

Settings#

[settings]
column_width = 20
fig-width = 11 # Multiple words can be given as 'fig-width' or 'fig_width'
fig-height = 7
inches = true
grid = true

Line#

[line]
file = "./cross_section_lines.geoparquet"       # Also accepts .shp files
crs = 28992
name = "E-W"
name-column = "name"

Borehole data#

[data.boreholes]
file = "./boreholes.parquet"                    # Also accepts .csv file
max-distance-to-line = 120
additional-nrs = ['B48B0396', 'B48B0398']
label = false                                   # Disable text labels

CPT data#

[data.cpts]
file = "./cpt_data.parquet"                     # Also accepts .csv file
max-distance-to-line = 30
crs = 4258
additional-nrs = ['CPT000000244400']
label = false                                   # Disable text labels

CPT curves#

[data.curves]
file = "./cpt_data.parquet"                     # Also accepts .csv file
crs = 4258
nrs = [
    "CPT000000050791",
    "CPT000000008329",
]
dist-scale-factor = 80
label = true                                    # Enable labels (default false for curves)

Plot surfaces#

Note the double brackets which make each “surface” entry part of a list to iterate over

[[surface]] 
file = "./ahn.tif"
style-kwds = { color = "k", linewidth = 0.5, label =  "Present surface" }

[[surface]]
file = "./basis_holoceen.img"
style-kwds = { color = "r", linestyle = "--", label =  "Holocene base (GeoTOP)" }

Cross-section labels#

[labels]
title = ""
xlabel = "Distance (m)"
ylabel = "Depth (NAP)"

Lithology colors#

[colors]
Z = "gold"
Kz = "yellowgreen"
K = "green"
Kh = "peru"
V = "brown"
L = "yellowgreen"
G = "orange"