[Gdal-dev] gdal_rasterize and ployline SHP files
Frank Warmerdam
warmerdam at pobox.com
Wed Jun 7 19:51:07 EDT 2006
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.
Peter,
Currently gdal_rasterize only rasterizes polygons, not lines or points.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list