[Mapserver-users] Distributed location of tiled images ?
Richard Greenwood
rich at greenwoodmap.com
Sun Dec 8 08:50:15 PST 2002
--=======4A181F86=======
Content-Type: text/plain; x-avg-checked=avg-ok-31E95539; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit
I can not tell you exactly how the paths work. But I would point out that
if you want to work with relative paths be sure to pre-pend ./ to the path
in the tile index. For example, if you have a DATA directory and you have
an IMAGE directory below it, in your tile index you should specify:
./IMAGE/filename.tif
not simply:
IMAGE/filename.tif
Rich
At 05:33 PM 12/8/2002 +0100, you wrote:
>Hi List,
>
>I'm trying to get a grip on the paths to tiled images. But the only setups
>that seems to work for me is either having everything
>cramped into the SHAPEPATH directory, or putting full paths into the index
>file/table, both of which is not really desirable.
>
>There are three setup factors: SHAPEPATH, TILEINDEX and DATA (in the tiled
>layer), plus a possible path (relative or absolute) in
>the tile index file/table records (i.e. field Location).
>
>Having a index table (without path) + raster in a seperate subdirectory
>doesn't work. It seems tiles are not relative to the
>tilindex table itself. Adding a DATA with absolute or relative path to the
>subdirectory doesn't help. I've also tried more elaborate
>setups, but listing those will probably obscure the point of this mail.
>
>Can anyone tell me exactly how the tiled image location is calculated
>using the above parameters ?
>I'm NOT looking for a way to dynamically change locations, I just want to
>have the rasters distributed in a suitable tree structure.
>
>I have "RTFM" :-) , but the documentation of this feature seems a little
>vague:
><<
>TILEINDEX [filename]
>Full filename for the index or tile definition for this layer. Similar to
>an ArcInfo library index, this shapefile contains polygon
>features for each tile. The item that contains the location of the tiled
>data is given using the TILEITEM parameter. If the DATA
>parameter contains a value then it is added to the end of the location. If
>DATA is empty then the location should contain the entire
>filename.
> >>
>
>Is that SHAPEPATH+TILEINDEX+DATA+Location, or
>SHAPEPATH+DATA+TILEINDEX+Location, or SHAPEPATH+TILEINDEX+Location+DATA,
>or always
>just SHAPEPATH or Location ??
>
>Best regards/Med venlig hilsen
>Lars V. Nielsen
>GisPro, Denmark
>http://www.gispro.dk/
>http://hjem.get2net.dk/lars-online/
>WGS84: 10.20'40"E 55.20'20"N
>
Richard W. Greenwood, PLS
(307) 733-0203
Rich at GreenwoodMap.com
www.GreenwoodMap.com
--=======4A181F86=======--
More information about the MapServer-users
mailing list