[gdal-dev] remap pixel values using gdalwarp

2013-01-19 Thread Martin Chapman
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; warpOptions->padfSrcNoDataImag[bandIndex] = NULL; warpOptions->padfDstNoDataReal[bandIndex] = 1; warpOptions->padfDstNoDa

Re: [gdal-dev] Neatline for USGS PDF maps

2013-01-19 Thread Even Rouault
Le samedi 19 janvier 2013 16:28:53, Even Rouault a écrit : > Le samedi 19 janvier 2013 03:38:16, Eli Adam a écrit : > > Checking over some USGS topo PDFs, the neatline reported appears too > > large. Has anyone else check this or noticed anything similar? > > Specific details below. > > Eli, > >

Re: [gdal-dev] Neatline for USGS PDF maps

2013-01-19 Thread Even Rouault
Le samedi 19 janvier 2013 03:38:16, Eli Adam a écrit : > Checking over some USGS topo PDFs, the neatline reported appears too > large. Has anyone else check this or noticed anything similar? > Specific details below. Eli, Looking more closely at those files, I see that there are various registra