<div dir="ltr"><div><div>Hi<br><br></div>I'm trying to clip a raster with a vector layer from a geopackage file. The vector layer needs to be buffered before. The clipping works without buffering:<br><br>gdalwarp -overwrite -wm 1024 -dstalpha -cutline 'administrative_grenzen.gpkg'  -csql 'SELECT geom FROM kantonsgrenzen WHERE KANTONSNUM = 11' -co 'COMPRESS=LZW' -co 'TILED=YES' /tmp/bpav5000f_1067-41_tmp.tif  /tmp/bpav5000f_1067-41.tif<br><br></div><div>When I try to buffer (ST_Buffer(geom)) the vector layer I get a "no such function" error. Is there another way to achieve this? Or would it work with a "dialect" option (like in ogr2ogr)?<br><br></div><div>best regards<br></div><div>Stefan <br></div><div><br></div><br><div><div><br></div></div></div>