[ ] Change the name of the main dialog from "Scenario archive browser" to "Lizard"
[ ] Put the current contents of the dialog in a tab called "Simulation results"
[ ] Add an extra tab called "Rasters"
[ ] Design of the extra tab should be very similar to the "Simulation results" tab
[ ] Search bar: "Search for raster by name"
[ ] Columns in the search results table widget:
๐ ("๐" if temporal else "")
Name
Description
Organisation (organisation["name"])
Last update
UUID
[ ] Button "Add as WMS"
[ ] Section "Download" below the results table widget, with the following options:
Save output(s) to: [Output folder browser button]
File name: [text widget]. Tooltip: "Small rasters will be downloaded as a single GeoTIFF. Large rasters will be downloaded as tiles of GeoTIFFs and a virtual raster file (.vrt) to use them as a single raster."
โ Use current map canvas as extent
๐Use polygons as extent
Layer selector combobox
โSelected features only
โ Clip to polygon(s)
Field to use as name (combobox to select field from selected polygon layer)
Pixel size
NODATA value
There should not be the (explicit) option to download the entire raster.
If the extent polygon contains > 1 (selected) feature, download the rasters for each polygon, e.g. the result would be a list of rasters called "{file_name} {polygon FID} {polgon name}.tif" or "{file_name} {polygon FID} {polgon name}.vrt"
If the "Clip to polygon" option is checked, please make all pixels outside of the polygon extent nodata. In my experience, the fastest way to do this is to burn the nodata value with gdal rasterize using the invert option.
"๐" if temporal else ""
)organisation["name"]
)There should not be the (explicit) option to download the entire raster. If the extent polygon contains > 1 (selected) feature, download the rasters for each polygon, e.g. the result would be a list of rasters called "{file_name} {polygon FID} {polgon name}.tif" or "{file_name} {polygon FID} {polgon name}.vrt" If the "Clip to polygon" option is checked, please make all pixels outside of the polygon extent nodata. In my experience, the fastest way to do this is to burn the nodata value with gdal rasterize using the
invert
option.