[Gdal-dev] gdal_merge fails to merge more than 4 input files

Sarah Clapham sbclaph at ftgrp.com
Thu Feb 3 11:47:56 EST 2005


Frank, Sorry for the delay in reply - direct python access worked fine.
Bug report entered into FWTools Bugzilla this morning but looks like you
have already addressed the issue.  Will look forward to the new fwtools
release!  Many thanks for your great work! Regards, Sarah

-----Original Message-----
From: Frank Warmerdam [mailto:fwarmerdam at gmail.com]
Sent: Thursday, February 03, 2005 10:52 AM
To: Julien Demaria
Cc: sbclaph at ftgrp.com; gdal-dev at xserve.flids.com
Subject: Re: [Gdal-dev] gdal_merge fails to merge more than 4 input
files


On Thu, 03 Feb 2005 09:27:50 +0100, Julien Demaria <dem at acri-st.fr> wrote:
> Frank,
>
> the next DOS code passes all command line arguments to the python script :
>
> rem Parse arguments
> set args=
> :loopargs
> if !%1==! goto launch
> set args=%args% %1
> shift
> goto loopargs
> :launch
>
> python "%FWTOOLS_DIR%\pymod\gdal_merge.py" %args%

Julien,

Neat! I didn't realize something like that could be done in a BAT file.
Gillian also mentioned to me that %* means all arguments, so I have
modified all the bat files in the FWTools tree to just use %* instead
of the long list of %1 %2 etc.   This will appear in the next FWTools
release.

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    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list