TileIndexes and Paths - YAP (yet another proposal)

Brent Fraser bfraser at GEOANALYTIC.COM
Thu Dec 9 13:50:30 PST 2004


Tile Indexers,

  I'd like to resolve the tile-index problem soon (v4.6?).  To briefly re-state the problem:


The Current Situation:
=================
Paths to tiles are currently constructed by Mapserver by appending various strings:
        mapfile path + SHAPEPATH + tile item value + DATA 
If any of the first three strings contain an absolute path, the ones to the left of it are ignored.

This makes for not a very flexible (or portable) data arrangement if you've got more than one index..


A Choice of Enhancements for a Solution:
==============================
1.  Mapserver would use the same absolute-path rule as above, but if it doesn't resolve to an existing file, would also try
        mapfile path + tile index path + tile item value + DATA 

OR

2. Add another keyword to the LAYER object: TILEPATHPREFIX (or something better)
  if present in the data LAYER, construct the path as:
        mapfile path + TILEPATHPREFIX + tile item value + DATA 
(the same absolute-path rule would apply)


Either solution would not break existing site and should accomodate my wish to spread my data across  file systems and Steve W's to have the tileindex in the same spot as the data.  Any thoughts? preferences?

Brent Fraser
GeoAnalytic Inc.
Tel:(403) 213-2700
bfraser at geoanalytic.com
www.geoanalytic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041209/ed2512b1/attachment.htm>


More information about the MapServer-users mailing list