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

2019-10-15 Thread G. Allegri
Thanks a lor Even, I missed that line ;) Works perfectly with -amin / -amax Giovanni Il giorno mar 15 ott 2019 alle ore 13:02 Even Rouault < even.roua...@spatialys.com> ha scritto: > On mardi 15 octobre 2019 12:57:16 CEST G. Allegri wrote: > > Dear list, > > I'm using gdal_contour with a single

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

2019-10-15 Thread Even Rouault
On mardi 15 octobre 2019 12:57:16 CEST G. Allegri wrote: > 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

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

2019-10-15 Thread G. Allegri
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" .tif .shp