[Gdal-dev] gdal_rasterize and ployline SHP files

Bryan Keith bryan at geomega.com
Wed Jun 7 19:01:09 EDT 2006


Peter,

gdal_rasterize doesn't work with polylines.  There were a few posts 
about this a couple weeks ago:

http://lists.maptools.org/pipermail/gdal-dev/2006-May/008997.html

Bryan

p.willis at telus.net wrote:
> hello,
> 
> Does gdal_rasterize work with polylines from Esri Shape files?
> I am having a few problems getting it to actually burn the 
> polylines from a shapefile into a geotiff raster.
> 
> I get the message:
> 
> 100-done
> 
> ,but when I look at the geotiff, it remains exactly as it was.
> 
> At first I thought the geography of the raster and SHP file might
> be different so I made sure that both were UTM and the same zone.
> Still a no go.
> 
> my command line was:
> 
> gdal_rasterize -b 1 -b 2 -b 3 -burn 255 -burn 255 -burn 255 -l myUTM myUTM.shp
> someUTM.tif
> 
> I am working in cygwin under WinXP.
> 
> Any ideas would be helpful,
> 
> 
> Peter Willis
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 
> 



More information about the Gdal-dev mailing list