[Gdal-dev] Re: RasterIO: replicating a value

Frank Warmerdam fwarmerdam at gmail.com
Thu Feb 17 11:57:11 EST 2005


On Wed, 16 Feb 2005 23:50:55 -0800, Carlos A. Rueda <carueda at ucdavis.edu> wrote:
> Hi Frank again,
> 
> OK, the Fill() seems to be a reasonable way to assure that
> you put some appropriate "background" value. That's OK.
> However, I'm still noticing something wrong regarding my
> original posting: replicating a value. The attached test
> program creates a 10x6 1-band raster of type byte; fills
> it with '_' and then calls RasterIO to set the upper left
> 7x3 region with 'X':
>
Carlos,

Yikes!  You are right.  This expansion is broken in GDAL and likely
has been since the beginning of time.  I have submitted a bug report
without your excellent little demonstration program. 

  http://208.24.120.44/show_bug.cgi?id=773

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list