Re: [gdal-dev] Pixel remap using the warp api question

2013-02-09 Thread Martin Chapman
en Rouault [mailto:even.roua...@mines-paris.org] Sent: Saturday, February 09, 2013 6:36 AM To: gdal-dev@lists.osgeo.org Cc: Martin Chapman Subject: Re: [gdal-dev] Pixel remap using the warp api question Le vendredi 08 février 2013 23:35:26, Martin Chapman a écrit : > I asked the following a couple of weeks

Re: [gdal-dev] Pixel remap using the warp api question

2013-02-09 Thread Even Rouault
Le vendredi 08 février 2013 23:35:26, Martin Chapman a écrit : > I asked the following a couple of weeks ago and never got a reply. Frank, > can you comment on this please? > > > > . > > > > I am trying to remap all "0" value pixels in the source images to the > value "1" in the output image

[gdal-dev] Pixel remap using the warp api question

2013-02-08 Thread Martin Chapman
I asked the following a couple of weeks ago and never got a reply. Frank, can you comment on this please? . I am trying to remap all "0" value pixels in the source images to the value "1" in the output image using gdalwarp like so: warpOptions->padfSrcNoDataReal[bandIndex] = 0; warpOp