[gdal-dev] Re: Cropping raster by vector files

2011-04-28 Thread canduc17
Ok. But if I have a separate shapefile (.shp) and a GEOTiff image, which command line tool can I use to obtain the first image of your howto? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cropping-raster-by-vector-files-tp5271977p6312752.html Sent from the GDAL - Dev ma

[gdal-dev] Re: Cropping raster by vector files

2011-01-24 Thread jorgepsantos2002
Hi, Another option is make a subset by mask with GDAL using three algorithms: gdal_translate, gdal_rasterize and gdalwarp. 1 - Original Full Raster + ROI in shapefile format: http://osgeo-org.1803224.n2.nabble.com/file/n5954709/ftolls0.png 2 - Generate a Raster Black with gdal translate: In

[gdal-dev] Re: Cropping raster by vector files

2010-07-09 Thread Hermann Peifer
On 08/07/2010 23:06, michal_drozdz wrote: Hi! I have a beginers problem. How to crop collar from scanned map with GDAL? I have set of georeferenced topo maps and polygon layer with boundaries of each sheet. I used gdalwarp with -cutline and -cl parameters and it worked but as a result I got map