Dear gdal-dev,

I'm mosaicking a series of DEMs with gdalwarp and getting a series of errors in the form:

   ERROR 2: Out of memory allocatint 428788524 byte destination buffer.

My command is (wrapped for legibility):

  gdalwarp -r bilinear -multi --config GDAL_CACHEMAX 500 -wm 500
   -ot uint16 -dstnodata 0
   y:\GeoTIFF\DEM\cded50k\\dem_105a.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105b.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105c.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105d.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105e.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105f.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105g.tif
   y:\GeoTIFF\DEM\cded50k\\dem_105h.tif
   dem_mosaic.tif

the input files in question can be nabbed from ftp://ftp.geomaticsyukon.ca/DEMs/CDED_50k/

gdalwarp --version
GDAL 1.5.3, released 2008/09/09 (on WinXPx64 SP2, osgeo4w)

Is this a bug (aside from misspelling "allocating")? If not, what am I doing wrong? I've used these options before though perhaps not in this combination.

best regards,

--
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to