[gdal-dev] gdal_contour attribute field not populated for polygons outputs

G. Allegri giohappy at gmail.com
Tue Oct 15 03:57:16 PDT 2019


Dear list,
I'm using gdal_contour with a single band (float) raster. It works as
expected for the default linestring outputs but when I set the "-p" option
the attribute field is created but it's empty.

This is the command I run:

>gdal_contour -b 1 -a val -i 10.0 -p -f "ESRI Shapefile" <raster_path>.tif
<out_path>.shp

Is this a known issue or am I doing something wrong?
Thanks,
Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191015/68bf9190/attachment.html>


More information about the gdal-dev mailing list