[Mapserver-users] tile tif in muliple dir's

Frank Warmerdam warmerdam at pobox.com
Tue Mar 16 07:42:25 PST 2004


Gijs Epping wrote:
> Hello,
> 
> I want to tile multiple tif files into one shp file (this allready works
> for one directory), the problem is that they are in 8 different
> directory's, i did see it in the mailing list yesterday but i can't find
> it anymore.
> 
> Could somebody tell me how?
> 
> Now I call this string for one dir:
> ./gdaltindex top25.shp /var/www/html/datalocal/top25/*.tif
> 
> I need something like this:
> ./gdaltindex top25.shp /var/www/html/datalocal/top25/*.*.tif
> 
> Thanks in advance

Gijs,

You can run gdaltindex multiple times (with different directories for instance)
or list multiple directories on a single commandline.  If the directories are
all simple subdirectories of top25 you might be able to do something like:

./gdaltindex top25.shp /var/www/html/datalocal/top25/*/*.tif

The key is that you have to provide all the directory seperators in your
wildcarded expansion.

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 MapServer-users mailing list