my little tile service wish list:<br><br>1. a do not purge header setting for mapdefinition's<br>2. don't purge the tile cache when updating a db feature source definition<br>3. add basic cache headers for tiles<br>
4. a HasTile function something along the lines of a http head which doesn't trigger rendering<br>5. PutTile for pushing tiles around between a cluster of servers<br>6. Meta tiling (generating bigger tiles and slicing them into smaller ones)<br>
7. Base layer group specific image formats ( ie make raster JPG and my carto PNG8)<br><br>1. is desperately need <a href="http://trac.osgeo.org/mapguide/ticket/729">http://trac.osgeo.org/mapguide/ticket/729</a><br>2. is being worked on <a href="http://trac.osgeo.org/mapguide/ticket/642">http://trac.osgeo.org/mapguide/ticket/642</a><br>
<br>3,4,5 can be done via scripts and exposing the tile cache via http which I<br>have been doing myself for a while (nginx is super fast and lightweight)<br><br>6. is a huge performance win, i did some mucking around with imagemagik convert<br>
and a php and it was quite compelling. What was impractical is the fact the tile size <br>is a server wide setting so you don't really want to do this unless the server is <br>dedicated just for meta tiling (coz all mapguide clients assume 300px sq tiles)<br>
<br>z<br><br><div class="gmail_quote">On Wed, Oct 29, 2008 at 2:58 AM, Jason Birch <span dir="ltr"><<a href="mailto:Jason.Birch@nanaimo.ca">Jason.Birch@nanaimo.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So, if you modify the runtime map, the tile cache no longer pulls images<br>
from Repositories/TileCache, but starts storing tiles under the session?<br>
That's bizarre.<br>
<br>
I know that RFC11 tried to move away from using the session repository<br>
for anything tile-based, but I wonder if the line "if a map's tile cache<br>
is cleared or its MapDefinition changed, the corresponding MgMap<br>
serialized form will be removed from the cache" has anything to do with<br>
the behaviour you are seeing.<br>
<br>
<a href="http://trac.osgeo.org/mapguide/wiki/MapGuideRfc11" target="_blank">http://trac.osgeo.org/mapguide/wiki/MapGuideRfc11</a><br>
<br>
In general, the MapGuide tile cache could definitely stand some<br>
improvements, especially in making it easier to develop persistent tile<br>
caches that can be shared by multiple maps (including runtime maps) and<br>
without fear of invalidating the cache.<br>
<font color="#888888"><br>
Jason<br>
</font><div class="Ih2E3d"><br>
-----Original Message-----<br>
From: gingerbbm<br>
Subject: [mapguide-users] TileCache, dynamic layers, and the Session<br>
<br>
If I'm dynamically adding a session-specific layer to a map that employs<br>
base layer groups (i.e. tiles), is there any way to avoid having a<br>
session-specific tile cache generated?<br>
<br>
The dynamic layer is served via a separate request<br>
(GETDYNAMICMAPOVERLAYIMAGE) as a separate image - so in theory I should<br>
be<br>
able to have one tile cache used by all sessions.<br>
<br>
If this isn't possible it rather defeats the object of having a tile<br>
cache<br>
at all.<br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer -<br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a> (My Blog)<br>+61 405 847 168<br>