Le vendredi 29 mars 2013 20:34:50, George a écrit : > 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
Make sure that the projection of the shapefile and the TIF is the same (and remove the CROPPED.TIF between 2 attempts) > > 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 _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev