[gdal-dev] Problems using gdalwarp -cutline

George grub80 at gmail.com
Fri Mar 29 12:34:50 PDT 2013

Hi there,

sorry for the newbie question, but I couldn't figure out my problem reading
documentation and examples on the web. Here is my problem:

- I have a Landsat raster image
- I have a ESRI sahpefile representing a fire perimeter
- I need to crop the raster using the fire perimeter

Following the gdalwarp page <http://www.gdal.org/gdalwarp.html>, I did this
from my terminal:
gdalwarp -cutline Santiago2007_reporj.shp  LT50400372008225PAC01_B1.TIF

But the result is a black raster, completely misplaced. I also tried to add
the -cl layername option but didn't do any better.

Please find the raster and shape files in my Dropbox public

Thanks in advance for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130329/c229fdb4/attachment.html>

More information about the gdal-dev mailing list