Hi,
 
Is it sure that gdaltindex passes the full file paths to .dbf file? I have done 
something like this only once, but then I had to edit .dbf file manually to put 
a full and valid path there. I suppose that if the IMAGEPATH in the map-file is 
something else than where the images actually are, then you need to have a full 
path to images in shape file properties.
 
Regards,
 
-Jukka Rahkonen-

________________________________

Lähettäjä: UMN MapServer Users List puolesta: Frank Warmerdam
Lähetetty: pe 20.1.2006 16:04
Vastaanottaja: [email protected]
Aihe: 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

Reply via email to