[data.hydrography]#
Top-level hydrography configuration.
data.hydrography[table] · optional · 8 user keys, 4 dev or expert
Connections found in the code (1)
- Read when
data.typeslists"hydrography".
# mask_path = ‹path›SHP/GPKG/GeoJSON/TIF whose shape the network is clipped to and whose bounds are the box the API sources are asked over. varies by site
- Path
data.hydrography.mask_path- More
A project run has it filled in from the delineated watershed; a standalone call names it.
- Accepted
- path
- Varies by site
- yes: in a project of many sites, bind it to a column with
sites.bindor set it in a per-site overlay; a literal value is refused
[data.hydrography] # mask_path = <path>
data.hydrography.mask_path mask_path not set SHP/GPKG/GeoJSON/TIF whose shape the network is clipped to and whose bounds are the box the API sources are asked over. A project run has it filled in from the delineated watershed; a standalone call names it.
[[data.hydrography.sources]]#
Configuration for one hydrography data source.
Repeat the table: one [[data.hydrography.sources]] block per item.
source = "file"Data provider. required example value
- Path
data.hydrography.sources.source- More
Any source id this installation resolves and that serves river linework is accepted, so a third-party source registered on the 'hydromodpy.data.source' entry-point group is named here by its id.
- Accepted
- string
- Example
"file"
# url = ‹string›Remote URL of the one file this source reads.
- Path
data.hydrography.sources.url- Accepted
- string
# sha256 = ‹string›SHA256 checksum pinning the downloaded file, 64 hexadecimal digits.
- Path
data.hydrography.sources.sha256- Accepted
- string
# license = ‹string›Licence of the downloaded file, written to its sidecar.
- Path
data.hydrography.sources.license- More
Unset means undetermined.
- Accepted
- string
# path = ‹path›Path to a vector file (SHP/GPKG/GeoJSON), raster (TIF/TIFF), or directory containing one.
- Path
data.hydrography.sources.path- Accepted
- path
- Workspace file
workspace:<name>readsdata/hydrography/<name>of the workspace, andworkspace:.the folder itself
# rasterize_field = "FID"Attribute column whose values are written into the stream raster.
- Path
data.hydrography.sources.rasterize_field- More
A column the layer lacks, or a column of text, is replaced by a sequential number per feature.
- Accepted
- string
# force_refresh = falseDownload this source again instead of reading the cache.
- Path
data.hydrography.sources.force_refresh- Accepted
- true | false
# page_size = 50000WFS pagination page size (BD Topage), in features. - dev
- Path
data.hydrography.sources.page_size- Accepted
- integer
- Unit
- -
# group_name = "River_Net_lines"MapServer group name for EU-Hydro layer discovery. dev
- Path
data.hydrography.sources.group_name- Accepted
- string
# euhydro_page_size = 1000Pagination page size for EU-Hydro REST queries. - dev
- Path
data.hydrography.sources.euhydro_page_size- Accepted
- integer
- Unit
- -
# waterway_types = ["river", "stream"]OSM waterway tag values to fetch. dev
- Path
data.hydrography.sources.waterway_types- Accepted
- list of string
[[data.hydrography.sources]] source = "file" # url = <string> # sha256 = <string> # license = <string> # path = <path> # rasterize_field = "FID" # force_refresh = false
data.hydrography.sources.url url not set Remote URL of the one file this source reads. data.hydrography.sources.sha256 sha256 not set SHA256 checksum pinning the downloaded file, 64 hexadecimal digits. data.hydrography.sources.license license not set Licence of the downloaded file, written to its sidecar. Unset means undetermined. data.hydrography.sources.source source file Loads a river network from a local vector or raster file you provide. osm Downloads waterway geometries from OpenStreetMap. bdtopage Downloads every reach of the French BD Topage network from the Sandre WFS, each with its permanence, and writes the permanent network too. euhydro Downloads the EEA EU-Hydro continental-scale river network. “file” Data provider. Any source id this installation resolves and that serves river linework is accepted, so a third-party source registered on the ‘hydromodpy.data.source’ entry-point group is named here by its id. data.hydrography.sources.path path not set Path to a vector file (SHP/GPKG/GeoJSON), raster (TIF/TIFF), or directory containing one. data.hydrography.sources.rasterize_field rasterize_field “FID” Attribute column whose values are written into the stream raster. A column the layer lacks, or a column of text, is replaced by a sequential number per feature. data.hydrography.sources.page_size page_size 50000 - WFS pagination page size (BD Topage), in features. data.hydrography.sources.group_name group_name “River_Net_lines” MapServer group name for EU-Hydro layer discovery. data.hydrography.sources.euhydro_page_size euhydro_page_size 1000 - Pagination page size for EU-Hydro REST queries. data.hydrography.sources.force_refresh force_refresh false Download this source again instead of reading the cache. data.hydrography.sources.waterway_types waterway_types [“river”, “stream”] OSM waterway tag values to fetch.