<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>[mapguide-internals] RFC required for tile caching changes?</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>A barrel of worms!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-internals-bounces@lists.osgeo.org
[mailto:mapguide-internals-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Jason Birch<br>
<b><span style='font-weight:bold'>Sent:</span></b> January 12, 2007 12:41 PM<br>
<b><span style='font-weight:bold'>To:</span></b> MapGuide Internals Mail List<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-internals]
RFC required for tile caching changes?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div id=idOWAReplyText94416>

<div>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>If you're going to change the storage
schema,&nbsp;how much work would it be to align it with&nbsp;the TMS
specification?</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a href="http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification</span></font></a><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Feel like you've opened a can of worms Chris?</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Jason</span></font><o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-internals-bounces@lists.osgeo.org on behalf of Chris Claydon<br>
<b><span style='font-weight:bold'>Sent:</span></b> Fri 2007-01-12 10:39 AM<br>
<b><span style='font-weight:bold'>To:</span></b> MapGuide Internals Mail List<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-internals] RFC required
for tile caching changes?</span></font><o:p></o:p></p>

</div>

<div>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>We have
found that problems can occur if too many cached tile images are<br>
stored in a single folder on the hard drive. For this reason, I have<br>
some changes to submit that ensure that we only store 900 tiles per<br>
folder (in 30 x 30 blocks).<br>
<br>
This changes the locations of stored tiles, by introducing new<br>
subfolders, and will thus &quot;orphan&quot; any tiles already created by the<br>
cache. Since the root folder for the tiles for any given map will not<br>
change, these orphaned tiles will be cleaned up if the user modifies the<br>
map definition or makes a call to the Clear(MgMap* map) method in the<br>
tile service API. The user could also force the cleanup simply by<br>
deleting the contents of the root cache folder when they upgrade to the<br>
version containing these changes.<br>
<br>
I'd like to treat this submission as a simple defect fix, but the<br>
requirement for the extra cleanup steps may indicate that an RFC is<br>
required, and I'd like to know the opinions of the PSC on this matter.<br>
<br>
Also, please let me know if you require any further information about<br>
this submission.<br>
<br>
Cheers,<br>
<br>
Chris Claydon.</span></font><o:p></o:p></p>

</div>

</div>

</body>

</html>