nens / lizard-qgis-plugin

A QGIS Lizard plugin
GNU General Public License v3.0
0 stars 0 forks source link

Lizard plugin: add option to download rasters that are not part of a scenario / simulation result #8

Closed leendertvanwolfswinkel closed 9 months ago

leendertvanwolfswinkel commented 1 year ago

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.