[data.dem]#

Top-level DEM variable configuration.

  • data.dem [table] · optional · 14 user keys, 1 dev or expert

[[data.dem.sources]]#

At least one DEM data source.

Repeat the table: one [[data.dem.sources]] block per item.

source selects the shape of this table. One tab per shape, the default first.

[[data.dem.sources]]
source = "file"User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF). chosen shape
Path
data.dem.sources.source
Values
  • "file" : User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF).
  • "url" : Remote DEM file, pinned by its sha256 when https is not used.
  • "bdalti" : IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme.
  • "rgealti" : IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster.
Accepted
"file" | "url" | "bdalti" | "rgealti"
path = "dem.tif"Path to user DEM file or directory (TIF, ASC, NC). required example value
Path
data.dem.sources.path
Accepted
path
Example
"dem.tif"
Only if
source = "file"
Workspace file
workspace:<name> reads data/dem/<name> of the workspace, and workspace:. the folder itself
# mask_path = ‹path›Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. varies by site
Path
data.dem.sources.mask_path
More

A project run fills it with the delineated watershed.

Accepted
path
Varies by site
yes: in a project of many sites, bind it to a column with sites.bind or set it in a per-site overlay; a literal value is refused
# force_refresh = falseDownload this source again instead of reading the cache.
Path
data.dem.sources.force_refresh
Accepted
true | false
# state = "raw"Whether this DEM already drains.
Path
data.dem.sources.state
More

'raw' lets the terrain chain condition it, 'conditioned' reads it as provided, so no engine conditions it and its file is the corrected DEM.

Values
  • "raw"
  • "conditioned"
Accepted
"raw" | "conditioned"
Only if
source = "file" | "url"
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
Path
data.dem.sources.extent
More

Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it.

Values
  • "watershed" no explanation
  • "study_area" no explanation
Accepted
"watershed" | "study_area"

data.dem.sources.mask_path mask_path not set Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. A project run fills it with the delineated watershed. data.dem.sources.extent extent not set watershed study_area Retrieve on the project extent rather than on this source’s own filters. Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it. data.dem.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.dem.sources.source source “file” file url bdalti rgealti file User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF). url Remote DEM file, pinned by its sha256 when ``https`` is not used. bdalti IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme. rgealti IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster. Discriminator tag selecting the ‘file’ DEM provider. data.dem.sources.path path “dem.tif” Path to user DEM file or directory (TIF, ASC, NC). data.dem.sources.state state “raw” raw conditioned Whether this DEM already drains. ‘raw’ lets the terrain chain condition it, ‘conditioned’ reads it as provided, so no engine conditions it and its file is the corrected DEM.

[[data.dem.sources]]
source = "url"Remote DEM file, pinned by its sha256 when https is not used. chosen shape
Path
data.dem.sources.source
Values
  • "file" : User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF).
  • "url" : Remote DEM file, pinned by its sha256 when https is not used.
  • "bdalti" : IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme.
  • "rgealti" : IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster.
Accepted
"file" | "url" | "bdalti" | "rgealti"
url = ‹string›Remote URL of the one file this source reads. required
Path
data.dem.sources.url
Accepted
string
Only if
source = "url"
# mask_path = ‹path›Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. varies by site
Path
data.dem.sources.mask_path
More

A project run fills it with the delineated watershed.

Accepted
path
Varies by site
yes: in a project of many sites, bind it to a column with sites.bind or set it in a per-site overlay; a literal value is refused
# force_refresh = falseDownload this source again instead of reading the cache.
Path
data.dem.sources.force_refresh
Accepted
true | false
# state = "raw"Whether this DEM already drains.
Path
data.dem.sources.state
More

'raw' lets the terrain chain condition it, 'conditioned' reads it as provided, so no engine conditions it and its file is the corrected DEM.

Values
  • "raw"
  • "conditioned"
Accepted
"raw" | "conditioned"
Only if
source = "file" | "url"
# sha256 = ‹string›SHA256 checksum pinning the downloaded file, 64 hexadecimal digits.
Path
data.dem.sources.sha256
Accepted
string
Only if
source = "url"
# license = ‹string›Licence of the downloaded file, written to its sidecar.
Path
data.dem.sources.license
More

Unset means undetermined.

Accepted
string
Only if
source = "url"
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
Path
data.dem.sources.extent
More

Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it.

Values
  • "watershed" no explanation
  • "study_area" no explanation
Accepted
"watershed" | "study_area"

data.dem.sources.mask_path mask_path not set Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. A project run fills it with the delineated watershed. data.dem.sources.extent extent not set watershed study_area Retrieve on the project extent rather than on this source’s own filters. Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it. data.dem.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.dem.sources.source source “file” file url bdalti rgealti file User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF). url Remote DEM file, pinned by its sha256 when ``https`` is not used. bdalti IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme. rgealti IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster. Discriminator tag selecting the ‘file’ DEM provider. data.dem.sources.state state “raw” raw conditioned Whether this DEM already drains. ‘raw’ lets the terrain chain condition it, ‘conditioned’ reads it as provided, so no engine conditions it and its file is the corrected DEM. data.dem.sources.url url Remote URL of the one file this source reads. data.dem.sources.sha256 sha256 not set SHA256 checksum pinning the downloaded file, 64 hexadecimal digits. data.dem.sources.license license not set Licence of the downloaded file, written to its sidecar. Unset means undetermined.

[[data.dem.sources]]
source = "bdalti"IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme. chosen shape
Path
data.dem.sources.source
Values
  • "file" : User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF).
  • "url" : Remote DEM file, pinned by its sha256 when https is not used.
  • "bdalti" : IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme.
  • "rgealti" : IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster.
Accepted
"file" | "url" | "bdalti" | "rgealti"
# mask_path = ‹path›Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. varies by site
Path
data.dem.sources.mask_path
More

A project run fills it with the delineated watershed.

Accepted
path
Varies by site
yes: in a project of many sites, bind it to a column with sites.bind or set it in a per-site overlay; a literal value is refused
# force_refresh = falseDownload this source again instead of reading the cache.
Path
data.dem.sources.force_refresh
Accepted
true | false
# departments = []Optional French department codes to fetch.
Path
data.dem.sources.departments
More

When set, these codes constrain archive downloads instead of inferring departments only from the bbox.

Accepted
list of string
Only if
source = "bdalti"
# country = "FR"Country code used for administrative DEM selectors.
Path
data.dem.sources.country
Accepted
string
Only if
source = "bdalti"
# regions = []Optional French administrative regions used to infer department downloads.
Path
data.dem.sources.regions
Accepted
list of string
Only if
source = "bdalti"
# file_format = "ASC"Format of the archive requested from the IGN Geoplateforme, such as 'ASC'.
Path
data.dem.sources.file_format
Accepted
string
Only if
source = "bdalti"
# crs = ‹string›Optional CRS filter forwarded to Geoplateforme discovery.
Path
data.dem.sources.crs
Accepted
string
Only if
source = "bdalti"
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
Path
data.dem.sources.extent
More

Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it.

Values
  • "watershed" no explanation
  • "study_area" no explanation
Accepted
"watershed" | "study_area"

data.dem.sources.mask_path mask_path not set Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. A project run fills it with the delineated watershed. data.dem.sources.extent extent not set watershed study_area Retrieve on the project extent rather than on this source’s own filters. Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it. data.dem.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.dem.sources.source source “file” file url bdalti rgealti file User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF). url Remote DEM file, pinned by its sha256 when ``https`` is not used. bdalti IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme. rgealti IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster. Discriminator tag selecting the ‘file’ DEM provider. data.dem.sources.departments departments [] Optional French department codes to fetch. When set, these codes constrain archive downloads instead of inferring departments only from the bbox. data.dem.sources.country country “FR” Country code used for administrative DEM selectors. data.dem.sources.regions regions [] Optional French administrative regions used to infer department downloads. data.dem.sources.file_format file_format “ASC” Format of the archive requested from the IGN Geoplateforme, such as ‘ASC’. data.dem.sources.crs crs not set Optional CRS filter forwarded to Geoplateforme discovery.

[[data.dem.sources]]
source = "rgealti"IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster. chosen shape
Path
data.dem.sources.source
Values
  • "file" : User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF).
  • "url" : Remote DEM file, pinned by its sha256 when https is not used.
  • "bdalti" : IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme.
  • "rgealti" : IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster.
Accepted
"file" | "url" | "bdalti" | "rgealti"
# mask_path = ‹path›Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. varies by site
Path
data.dem.sources.mask_path
More

A project run fills it with the delineated watershed.

Accepted
path
Varies by site
yes: in a project of many sites, bind it to a column with sites.bind or set it in a per-site overlay; a literal value is refused
# force_refresh = falseDownload this source again instead of reading the cache.
Path
data.dem.sources.force_refresh
Accepted
true | false
# resolution_m = ‹number›DEM pixel size in metres, 1 or 5, 5 when unset, the size the WMS-Raster serves. m
Path
data.dem.sources.resolution_m
More

It comes first of three: geographic.catchment.dem_resolution aggregates this pixel, and mesh.cell_size defaults to the result. The 1 m grid is native and, inland, a 5 m request returns its centre pixels unchanged, while the server resamples any other size with an undocumented kernel. A request above 150 million pixels is refused (a 1 m box is limited to about 12 km a side), so 1 m cannot bootstrap a project from its outlet: declare the DEM as a [[data.dem.sources]] row with source = "file", or use 5 m.

Accepted
number
Unit
m
Only if
source = "rgealti"
# extent = ‹"watershed" | "study_area"›Retrieve on the project extent rather than on this source's own filters. dev
Path
data.dem.sources.extent
More

Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it.

Values
  • "watershed" no explanation
  • "study_area" no explanation
Accepted
"watershed" | "study_area"

data.dem.sources.mask_path mask_path not set Vector polygon file (shp, gpkg or GeoJSON) whose extent this source is requested over. A project run fills it with the delineated watershed. data.dem.sources.extent extent not set watershed study_area Retrieve on the project extent rather than on this source’s own filters. Only whether it is SET matters to the loaders; the two literals are not told apart, and a standard project run clips on the delineated watershed either way, through the mask the loader fills in. Declared at DEV level for that reason: a project run neither needs it nor changes with it. data.dem.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.dem.sources.source source “file” file url bdalti rgealti file User-provided raster file (GeoTIFF, Esri ASCII Grid, NetCDF). url Remote DEM file, pinned by its sha256 when ``https`` is not used. bdalti IGN BD ALTI at 25 m, assembled from the department archives of the Geoplateforme. rgealti IGN RGE ALTI at 1 m or 5 m, fetched by extent from the Geoplateforme WMS-Raster. Discriminator tag selecting the ‘file’ DEM provider. data.dem.sources.resolution_m resolution_m not set m DEM pixel size in metres, 1 or 5, 5 when unset, the size the WMS-Raster serves. It comes first of three: geographic.catchment.dem_resolution aggregates this pixel, and mesh.cell_size defaults to the result. The 1 m grid is native and, inland, a 5 m request returns its centre pixels unchanged, while the server resamples any other size with an undocumented kernel. A request above 150 million pixels is refused (a 1 m box is limited to about 12 km a side), so 1 m cannot bootstrap a project from its outlet: declare the DEM as a [[data.dem.sources]] row with source = “file”, or use 5 m.