Hi,

> I have an irregular polygon within a raster. How can I create a new
> raster that is clipped to the shape of the polygon? 
> 
> 
> (Note: I'm aware GDAL can't do this:
> http://trac.osgeo.org/gdal/ticket/1599 )


I use this

gdal_rasterize -i -burn 255 -b 1 -b 2 -b 3 -l [SHAPELAYER] [SHAPEFILE]
[RASTER]

or using a GRASS mask.


cheers

-- Giovanni --




_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to