[gdal-dev] gdal_rasterize does not burn polygon attributes

2015-06-11 Thread jramm
I'm running gdal_rasterize, trying to make it create a new tif from polygons, using an attribute field as the burn value. Here is my command: gdal_rasterize -tr 5 5 -a SOP -l test -a_nodata 0 test.shp test.tif I end up with an image that is all 0's. The shapefile is correct and can be read by OGR.

Re: [gdal-dev] gdal_rasterize does not burn polygon attributes

2015-06-11 Thread Jukka Rahkonen
jramm gmail.com> writes: > > > I'm running gdal_rasterize, trying to make it create a new tif from polygons, using an attribute field as the burn value. Here is my command: > > gdal_rasterize -tr 5 5 -a SOP -l test -a_nodata 0 test.shp test.tif > > > I end up with an image that is all 0's. T