hydromt.DataArray.raster.to_xyz_tiles#
- DataArray.raster.to_xyz_tiles(root: str, tile_size: int, zoom_levels: list, driver='GTiff', **kwargs)#
Export rasterdataset to tiles in a xyz structure.
- Parameters:
root (
str
) – Path where the database will be saved Database yml will be put one directory abovetile_size (
int
) – Number of pixels per tile in one directionzoom_levels (
list
) – Zoom levels to be put in the databasedriver (
str
, optional) – GDAL driver (e.g., ‘GTiff’ for geotif files), or ‘netcdf4’ for netcdf files.**kwargs – Key-word arguments to write raster files