[QGIS-trac] Re: [Quantum GIS] #3066: GdalTools: clipping based on a shapefile mask

Quantum GIS qgis at qgis.org
Tue Nov 30 15:08:28 EST 2010


#3066: GdalTools: clipping based on a shapefile mask
----------------------------------------------------------+-----------------
   Reporter:  brushtyler                                  |              Owner:  brushtyler   
       Type:  enhancement                                 |             Status:  new          
   Priority:  major: does not work as expected            |          Milestone:  Version 1.6.0
  Component:  Python plugins and bindings                 |            Version:               
   Keywords:  gdaltools, clip, rasterize, shapefile mask  |   Platform_version:               
   Platform:  All                                         |           Must_fix:  No           
Status_info:  0                                           |  
----------------------------------------------------------+-----------------

Comment(by lutra):

 apparently there is also a way to do it with gdalwarp, and adding at the
 same time the alpha channel to the output raster, ex:


 {{{
 gdalwarp -of GTiff -r lanczos -dstalpha -cutline shapefile.shp
 raster_input.tif raster_output.tif
 }}}


 would be nice too to add this options too in gdalwarp

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3066#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list