|
On 11/30/2013 11:21 AM, anna zanchetta
wrote:
Hi everybody,
probably an old and known question:
is there a way in Grass to cut rasters by a polygon (i.e.
vector)?
This is possible in Qgis, but not for multiple images (as
Landsat bands for example),
while in Grass I could do it on a series of images with
r.mapcalc, masking one raster by another one.
It would be comfortable, anyway, to use a polygon
sometimes, especially in case of not-rectangular shapes.
Does anyone have a hint?
The gdal uitlity "gdalwarp" has a -cutline option to clip a raster
by a polygon. Maybe that will help. Not directly in GRASS, but it's
easy to script and use within a GRASS session.
This mail was received via Mail-SeCure System.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
This mail was received via Mail-SeCure System.
--
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il
|
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user