[Gdal-dev] clipping raster using polygon?

jluis at ualg.pt jluis at ualg.pt
Thu Jun 23 19:20:30 EDT 2005


Quoting Bart van den Eijnden <BEN at Syncera-ITSolutions.NL>:

> 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?
>
> Thanks in advance.

Bart,
Another option.
A non GIS, very functional (just load the grid and precess it model)
w3.ualg.pt/~jluis/mirone
(but you better use the versions at ftp.ualg.pt/users/jluis/m_gmt/tmp)

Example:
"Draw-> import line"        // import you polygon lline (ascii)
right click on the line and select "ROI crop grid"





More information about the Gdal-dev mailing list