hydromt_sfincs.workflows.create_topobathy_tiles#

hydromt_sfincs.workflows.create_topobathy_tiles(root: str | ~pathlib.Path, region: ~geopandas.geodataframe.GeoDataFrame, datasets_dep: ~typing.List[dict], index_path: str | ~pathlib.Path = None, zoom_range: int | ~typing.List[int] = [0, 13], z_range: ~typing.List[int] = [-20000.0, 20000.0], fmt='bin', logger=<Logger hydromt_sfincs.workflows.tiling (WARNING)>)[source]#

Create webmercator topobathy tiles for a given region.

Parameters:
  • root (Union[str, Path]) – Directory where the topobathy tiles will be stored.

  • region (gpd.GeoDataFrame) – GeoDataFrame defining the region for which the tiles will be created.

  • datasets_dep (List[dict]) – List of dictionaries containing the bathymetry dataarrays.

  • index_path (Union[str, Path], optional) – Directory where index tiles are stored, by default None

  • zoom_range (Union[int, List[int]], optional) – Range of zoom levels for which tiles are created, by default [0, 13]

  • z_range (List[int], optional) – Range of valid elevations, by default [-20000.0, 20000.0]

  • format (str, optional) – The desired output format of the topobathy tiles, by default “bin”. Also “png” and “tif” are supported.