[Gdal-dev] Strange GeoTIFF error/gdal_merge.py
Markus Neteler
neteler at itc.it
Fri Mar 26 10:46:51 EST 2004
On Thu, Mar 18, 2004 at 05:10:23PM -0700, Simon Perkins wrote:
> On Thu, 2004-03-18 at 10:39, Frank Warmerdam wrote:
>
> > It had been my intention that GDAL would gracefully handle strips or
> > tiles that have an offset and size of zero as "auto-nodata". Apparently
> > I did not complete that properly. I will look into this. Currently
> > preinitializing to zero should resolve the problem but I realize that is
> > not so easy to do.
Sorry to be ignorant, but how to preinitialize to zero?
I was using:
gdal_merge.py -f GTiff -n -9999 -o lomb20m.tif \
`find /cdimage/DEM/grid | grep w001001x`
to do the mosaiking.
> I've only just joined this discussion so I might have missed something,
> but the GDAL C API does contain a GDALFillRaster() function which allows
> you to fill a band with a particular constant value. There's a
> corresponding GDALRasterBand::Fill() C++ method as well.
>
> I don't know if there are any python bindings for this function though
> if that's what you need..
>
> Cheers,
>
> Sy
Still appreciating help :-)
Markus
More information about the Gdal-dev
mailing list