How to convert shapefile to a raster image using gdal
I tried
gdal_rasterize -burn 255 -burn 0 -burn 0 -ts 100 100 -l ernakulam
ernakulam.shp ekm.tif
gdal_rasterize -A DIST -ts 100 100 -l ernakulam ernakulam.shp ekm.tif
gdal_rasterize -A AREA -ts 100 100 -l ernakulam ernakulam.shp ekm.tif
but s
Rashad,
This would probably give you a Float64 type bands with the pixels valued at
255.0
Try setting the band type to Byte using the -ot option.
On Sun, Feb 13, 2011 at 4:11 PM, Mohammed Rashad wrote:
>
> How to convert shapefile to a raster image using gdal
>
> I tried
> gdal_rasterize -burn