[gdal-dev] Something like gdal_rasterize for shp polylines

Frank Warmerdam warmerdam at pobox.com
Mon Dec 10 20:05:22 EST 2007


Ben Greene wrote:
> Hi,
> 
>  
> 
> I have a number of raster tiles (the NASA blue marble image), and the 
> country border data extracted from VMAP0 into polyline shapefiles.
> 
> I’m trying to overlay the border data onto the tiles, and gdal_rasterize 
> looks like exactly what I’m after, but it only seems to draw polygons.
> 
>  
> 
> Is there any way to get gdal_rasterize to draw polylines, or another 
> GDAL utility that can do what I’m after?

Ben,

gdal_rasterize just doesn't support points and lines. I'm hesitant to add
because pretty soon you get into complex issues of rendering pretty linestyles,
symbols etc.

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 OSGeo, http://osgeo.org



More information about the gdal-dev mailing list