I believe that you should use either the cutlineWhere or the cutlineSQL.
When I want a single field selection, I use the cutlineWhere,
when it is more complex I use the cutlineSQL
On Fri, Jul 31, 2020 at 6:40 PM Luke wrote:
> You need single quotes around your string literal:
>
>
You need single quotes around your string literal:
cutlineWhere="name = 'first'"
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
Hi,
I am trying to clip a raster using a polygon layer. I want to specify a
where clause to select one polygon feature from the polygon layer and
subset the raster *only *for that one polygon feature.
I am not getting the intended results with this line of code:
ds = gdal.Warp('output.tif',