[Gdal-dev] clipping raster using polygon?

Frank Warmerdam fwarmerdam at gmail.com
Thu Jun 23 11:38:44 EDT 2005


On 6/23/05, Bart van den Eijnden <BEN at syncera-itsolutions.nl> wrote:
> Hi list,
> 
> is it possible using GDAL to clip a raster using a polygon from eg a shapefile and have all the rest turn into NODATA values? If it is possible, how does it work?

Bart, 

I'm afraid this capability is not currently available in GDAL itself. 
There is a rasterization algorithm in OpenEV that operates against
GDAL raster files, but it has not been migrated down into GDAL. 

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    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list