[FWTools] gdal_merge for 174 images :realy impossible ?

Frank Warmerdam warmerdam at pobox.com
Mon Oct 29 11:37:03 EDT 2007


cocro wrote:
> Hello, 
> 
> I wish to aggregate 174 georeferences jpg images of 10 Mb each there only
> one image.
> I launched the command gdal_merge on my directory but I do not obtain the
> expected result
> I made out a will with three iamges, formulae of aggregation and it works.
> ( Gdal_merge-o MesDalles.jpg co TFW=YES dalle1.jpg dalle2.jpg dalle3.jpg) 
> 
> Gdal_merge is it limited in numbers of images in entrance and\or in sizes
> images? Is it limited for embellish with images it destination?
> 
> How may I resolve my problem? 
> Then, I have to cut my image result according to the outlines of my 64
> polygons (shape)
> 
> Thanks for your help
> Corinne

Corinne,

Generally gdal_merge should support an essentially unlimited number of
input files, as long as no one input file is terribly large (ie. hundreds
of megabytes). It's fine for the output file to be very large.

What error are you seeing?  Perhaps you are just running into a commandline
length limitation?  If so, listing all the input files in a text file, and
using the "--optfile filelist.txt" commandline option may help you work around
commandline length problems.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the FWTools mailing list