<div dir="ltr"><div><div><div><div>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. <br><br></div>With thanks,<br><br></div>                                                                                                                  Yours sincerely,<br></div>                                                                                                                      B. Ramesh<br></div>                                                                                                         <a href="mailto:userofgdal@gmail.com">userofgdal@gmail.com</a><br></div>