[Gdal-dev] Re: gdal_merge.py hdf aster dem

Andrey Kiselev dron at ak4719.spb.edu
Tue Nov 16 01:02:33 EST 2004


On Mon, Nov 15, 2004 at 10:19:02PM +0100, Maciek Sieczka wrote:
> > > 1 these DEMs are not taken as georeferenced and all the input files are
> > >    being overlayed one on another in the output file which is not
> > >    georeferenced either
> > > 2 if 20 or more files are input an error occures:
> > >
> > > [ziutek at localhost ziutek]$ gdal_merge.py -o /home/ziutek/aster.tif -of
> > > GTiff -n -150 /mnt/windows/gisdane/aster/dupa/*.hdf
> > > ERROR 2: CPLMalloc(): Out of memory allocating -4 bytes.
> 
> > Hmm, this is odd.  This doesn't look like a real out of memory
> > issue. More likely a problem with negative window sizes being used
> > somewhere resulting in a negative memory request.
> >
> > I will need some sort of configuration that I can use to reproduce
> > this in order to fix it.
> 
> I can email you the data set tomorrow about noon, but it's 420 MB
> zipped, do you want it? I'm sorry but I can't put for download
> anywhere.
> 
> Or you may obtain a similar dataset of "Aster relative DEM" for any
> area via the http://edcimswww.cr.usgs.gov/pub/imswelcome/, free of
> charge. It takes about 0,5-1 hour before they inform you by email that
> the product is ready for download via their ftp.
> 
> > Hmm, I seem to remember a problem vaguely like this before.  You
> > might want to make sure you are using recent code (perhaps GDAL
> > 1.2.4) before going to all the effort of submitting a bug report.
> 
> I'm currently using CVS 2004_11_13. Should be fresh enough?

Maciek,

Please, submit a bugreport assigned to me. That is likely my problem.

							Andrey


-- 
Andrey V. Kiselev
Home phone:  +7 812 5970603  ICQ# 26871517



More information about the Gdal-dev mailing list