Hi,

See the -cutline option in gdal warp.

http://www.gdal.org/gdalwarp.html

Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc. 
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112  Fax: 514.381.4995
www.archeotec.ca

On Jul 3, 2015 00:15, user gdal <[email protected]> wrote:
Dear friends I have an ERDAS INAGINE img file and an ESRI polygon shape file. How to programmatically clip (or irregular subset) the input img file using the shape file? Can the GDAL tools help in this regard? If you have code that can be shared with us, it'll be very nice.

With thanks,

                                                                                                                  Yours sincerely,
                                                                                                                      B. Ramesh
                                                                                                         [email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to