[Qgis-user] Clip raster to irregular polygon
Giovanni Manghi
giovanni.manghi at gmail.com
Fri Sep 24 14:40:04 PDT 2010
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 --
More information about the Qgis-user
mailing list