On mardi 29 novembre 2016 16:02:23 CET Tim Waters wrote: > Hello, > > I'm seeing an error running GDAL 1.11.3 on Ubuntu 16.04LTS and 2.10. > There was no error and it worked fine with GDAL 1.10.1 on Ubuntu > 14.04LTS. > > I see the error running gdal_rasterize utility and also in python. > > gdal_rasterize -i -burn 17 -b 1 -b 2 -b 3 clipping.gml -l features > masked.tif > > Python script for reference > https://gist.github.com/timwaters/a8da4e3e209aaae955d23446c3925125
Tim, Could you provide the dataset to reproduce as well ? And it seems your Python script is not valid since the 'sr' variable passed in rast_ogr_ds.CreateLayer( 'poly', srs=sr ) is not defined. Eve -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev