-Original Message-
From: Travis Kirstine [mailto:traviskirst...@gmail.com]
Sent: Tuesday, November 22, 2011 1:16 PM
To: Jay Jennings
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Making a "hole" in existing image
gdal_rasterize can be used to create a hole using a
gdal_rasterize can be used to create a hole using a polygon from a
vector datasource.
gdal_rasterize -burn 0 -b 1 -b 2 -b 3 -l my_polygon my_image.tif my_polygon.shp
regards
On 22 November 2011 11:22, Jay Jennings wrote:
> Hi List,
>
> I’m looking for a slick way, using GDAL utilities, to make
Jay,
You can use the VRT format to do this. Create patches of the image
surrounding the hole. Make sure the nodata is set to zero.
Your VRT file should contain four SimpleSource elements for each band.
First create a simple vrt file using gdalbuildvrt, edit it and then use
gdal_translate to creat
Hi List,
I'm looking for a slick way, using GDAL utilities, to make a NoData "hole" in
an existing image : I'd like to set value 0 (which is this image's NoData
value) for each band of the image within the rectangle denoted by minX, minY,
maxX, maxY. I looked at 'gdal_translate' and 'gdalwarp'