Frank As a side, does the unix build of FWTools work on cygwin? -----Original Message----- From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Behalf Of Frank Warmerdam Sent: Friday, January 20, 2006 9:05 AM To: [email protected] Subject: Re: [UMN_MAPSERVER-USERS] gdaltindex for tif files residing on multiple subdirectories in windows enviroment
On 1/20/06, Jukka Sirviö <[EMAIL PROTECTED]> wrote: > Hello! > Our customer have raster material stored in centralized place on their > network. One of the material's that will be used among others in our > project contains ~4.5 gb tif files residing on multiple subdirectories. > How can I make only ONE shp indexfile for mapserver from this material > without copying the whole dataset into one single folder? > > Does gdaltindex understand any wildcard options for subdirectories? > gdaltindex drive:/??/*.tif Jukka, The wildcarding is not part of gdaltindex itself. On Unix it is done by the commandline shell, and could handle this. On Windows, you can optionally built the Microsoft wildcard handling into the program (which I do for FWTools), but I see it can't handle wildcards of this sophistication. Only wildcards at the filename portion of the path. You could download cygwin and invoke the normal windows gdaltindex from that as Cygwin will expand command line arguments for the program in the normal fashion. eg. gdaltindex n:/data/*/*.tif Alternatively, you could invoke gdaltindex manually for each directory as it will append to an existing index if invoked multiple times. Best regards, -- ---------------------------------------+------------------------------------ -- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent
