Ok, I think there is a misunderstanding on how the commands work:

[set of shapefiles] -> tile4ms -> one shapefile with pointers to the set

[set of images] -> gdaltindex -> one shapefile with pointers to the set

What you are trying to do is:

multiple [sets of images] -> to multiple shapefiles
then concatentate your multiple shapefiles into a single index.

Mapserver does not support indexes of indexes of files. tile4ms does not concatenate the files into a single file it creates a tileindex.

You can take your multiple tif tileindexes and create a tile index for that and it can be used to display the bbox for each of the images by specifying the LAYER TYPE POLYGON in the mapfile. BUT you can not use it to display the TIF images.

If you want to create one large tileindex of all your TIF files the just process them all through gdaltindex into a new tile index that contains all the original images.

-Steve

On 6/9/2011 11:58 AM, Fuchs Juan Carlos wrote:
Hi Steve,
Yes, that´s the point!
We are traying to tile a set of tiles that refer each to a diferent Tif
image
We first tile each image with re-tile.py
we obtain a shp file with a dbf with field LOCATION pointing to a piece of
the Tif image
Next we use tile4ms to put those first tiles (shp´s) in a only one tile,
obtaining a new shp
why will this not work? after all, we are puting a group of shp´s in a tile.

_JC

-----Mensaje original-----
De: Stephen Woodbridge [mailto:[email protected]]
Enviado el: Jueves, 09 de Junio de 2011 11:47 a.m.
Para: [email protected]
Asunto: Re: [mapserver-users] Fwd: Tile of tiles with tif images




tile4ms only works with shapefiles as input.
gdaltindex is probably what you want for TIF images.

-Steve W

On 6/9/2011 10:47 AM, Juan Carlos Fuchs wrote:
Subject: Tile of tiles with tif images
Dear Gentleman:

Situation
We have a collection of images tiled with re-tile.py.
each record of our .dbf points to a diferent part of one tiff image.

Now we want to put them together (the Tiles),
   say, first,  all the tiles from the images of the same province,
   and later, all the tiles from the provinces of the same projection.

when we run tile4ms we get the following weird error
Aborted. Unable to open

DBF:/home/jfuch/public_html/wms/Fase8/cbers-2b-cordoba-laborde-168-b-137-4-0
2-may-09-img-img-tif

If we get things right, each record in our tile file point to a
different part of one tiff image, but the shp file has an geometric
extend for each image
so, why didn´t this work??

Is there an other way to get an accelerated access to very huge tiffs
file, sprengled over an big extension?

Thanks in advance
Cheers
JC

--
Juan Carlos Fuchs, arqto&  mgtr.





--
Juan Carlos Fuchs, arqto&  mgtr.



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to