[gdal-dev] updates on masking raster data
Dylan Beaudette
dylan.beaudette at gmail.com
Thu May 8 20:13:12 EDT 2008
On Friday 02 May 2008, Frank Warmerdam wrote:
> Dylan Beaudette wrote:
> > anyone know if there has been any work related to this ticket:
> >
> > http://trac.osgeo.org/gdal/ticket/1599
> >
> > I was hoping to mask out a large section of raster data while warping, or
> > possibly in a second-pass with gdal_translate or the like.
>
> Dylan,
>
> gdal_rasterize can mask off areas of a raster inside or outside of a
> polygon. Other than that, nothing has been done to the best of my
> knowledge.
>
> Best regards.
Thanks Frank. Short of some fancy python-GDAL goodness, I came up with some
bash + GRASS scripting to solve the problem:
http://casoilresource.lawr.ucdavis.edu/drupal/node/613
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
More information about the gdal-dev
mailing list