[gdal-dev] Seg fault & error running gdal_rasterize on a non georeferenced raster

Even Rouault even.rouault at spatialys.com
Tue Nov 29 14:36:42 PST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20161129/4e7e5c1f/attachment.html>


More information about the gdal-dev mailing list