[ka-map-users] How are the image tiles SPATIALLY Stored?

Paul Spencer pagameba at magma.ca
Tue Jun 14 21:30:28 EDT 2005


Hi Chris,

the tiles are stored in the cache directory with the following structure:

<cachedir>/<mapname>/<scale>/<group or layer or 'def'>/<meta tile>/<tile>.<ext>

cachedir is set in config.php

mapname is set in config.php

scale is set in config.php

group or layer or 'def' comes from the map file, right now only grouped layers are
requested ... all layers in the same group are drawn together and stored in a directory
named for that group. Ungrouped layers go into the 'def' directory.

meta tiles are calculated from the top, left pixel position as calculated from an
arbitrary 0,0 origin and will have names like t1000l-1000.

tiles are stored within their meta tile directory with the same convention.

Hope that helps :)

Cheers

Paul



On Jun 14, "Christopher R. Thorne" <christhorne at sympatico.ca> wrote:
> 
> Hello,
> New to list, I would like to get some information on how it works. The 
> main question:
> 
> If they are cached images how do the images stay spatially linked for 
> re-use?
> 
> Can somebody tell me where I could find this?
> 
> Best Regards,
> Chris
> 
> -- 
> Christopher R. Thorne, GIS Specialist
> -
> christhorne at sympatico.ca
> Tel:(613)523-6593, Ottawa ON Canada
> -----------------------------
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> <a
href='http://lists.maptools.org/mailman/listinfo/ka-map-users'>http://lists.maptools.org/mailman/listinfo/ka-map-users</a>
> 


More information about the ka-Map-users mailing list