[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
CROPPED.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
folder<https://www.dropbox.com/sh/t1thka9wdl7ojf6/CxlYC_K-lG>
.

Thanks in advance for your help,
George
-------------- 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