<br clear="all">How to convert shapefile to a raster image using gdal<div><br></div><div>I tried </div><div>gdal_rasterize -burn 255 -burn 0 -burn 0 -ts 100 100 -l ernakulam ernakulam.shp ekm.tif</div><div><br></div><div><div>
gdal_rasterize -A DIST -ts 100 100 -l ernakulam ernakulam.shp ekm.tif</div><div><br></div><div><div>gdal_rasterize -A AREA -ts 100 100 -l ernakulam ernakulam.shp ekm.tif</div></div><div><br></div><div>but still no output</div>
<div><br></div><div><br></div><div><br></div><div><span dir="ltr" id=":1z">ogrinfo -al -so ernakulam.shp</span></div><div><span dir="ltr" id=":1z"><br></span></div><div><div class="kk"> <span dir="ltr" id=":21">INFO: Open of `ernakulam.shp'<br>
using driver `ESRI Shapefile' successful.<br><br>Layer name:
ernakulam<br>Geometry: Polygon<br>Feature Count: 16<br>Extent:
(76.168263, 9.788524) - (76.840498, 10.301794)<br>Layer SRS WKT:<br>(unknown)<br>AREA:
Real (20.15)<br>PERIMETER: Real (20.15)<br>INDIA_: Real (11.0)<br>INDIA_ID:
Real (11.0)<br>STATE: String (20.0)<br>DIST: String (20.0)<br>TALUK:
String (20.0)<br>CENTROID_Y: Real (20.15)<br>CENTROID_X: Real (20.15)</span></div><div id=":22" dir="ltr" class="kl">i selected AREA</div><div id=":22" dir="ltr" class="kl"><br></div>-- <br><div>Thanks && Regards</div>
Rashad<br>
</div></div>