<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        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","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

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

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for your reply Roger.  The spec for tilemode is at </span><a
href="http://mapserver.org/output/tile_mode.html">http://mapserver.org/output/tile_mode.html</a>
<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But
I&#8217;ll definitely look into TileCache as well.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Roger André
[mailto:randre@gmail.com] <br>
<b>Sent:</b> Monday, January 19, 2009 12:03 PM<br>
<b>To:</b> Chad Clabaugh<br>
<b>Cc:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] google tiles<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi Chad,<br>
<br>
I wasn't aware that &quot;tile&quot; is a valid mode of operation for
Mapserver.&nbsp; I looked on <a href="http://mapserver.org/cgi/controls.html">http://mapserver.org/cgi/controls.html</a>
and didn't see it referenced there, but its entirely possible that it exists
and that I've just missed it.&nbsp; In any case, the way I'm familiar with
generating google map tiles is via the use of Tilecache.&nbsp; Tilecache works
as in intermediary between Mapserver and your Google map. It make the appropriate
request to Mapserver for a tile, and then returns the tile to your map.&nbsp; I
think this might be the solution you're looking for, <a
href="http://tilecache.org/">http://tilecache.org/</a>.<br>
<br>
Best of luck,<br>
<br>
Roger<br>
--<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Jan 19, 2009 at 6:50 AM, Chad Clabaugh &lt;<a
href="mailto:cclabaugh@centwire.com">cclabaugh@centwire.com</a>&gt; wrote:<o:p></o:p></p>

<div>

<div>

<p>Greetings,<o:p></o:p></p>

<p>I have been trying to generate google tiles from shapefiles using
mapserver.&nbsp; I have been able to successfully generate maps by calling the
url <a
href="http://0.0.0.0/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&amp;mode=map"
target="_blank">http://0.0.0.0/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&amp;mode=map</a>
. but when I attempt to use the url <a
href="http://172.18.154.186/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&amp;mode=tile&amp;tile=4+6+4"
target="_blank">http://172.18.154.186/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&amp;mode=tile&amp;tile=4+6+4</a>&nbsp;
I receive only empty images, regardless of tile specified.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>Thanks for any help!<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>MAP<o:p></o:p></p>

<p>&nbsp; NAME COVERAGE<o:p></o:p></p>

<p>&nbsp; STATUS ON<o:p></o:p></p>

<p>&nbsp; SIZE 1400 900<o:p></o:p></p>

<p>&nbsp; EXTENT 639000.000000 4535300.000000 689900.000000 4582600.000000 <o:p></o:p></p>

<p>&nbsp; UNITS METERS<o:p></o:p></p>

<p>&nbsp; SHAPEPATH &quot;shapefiles&quot;<o:p></o:p></p>

<p>&nbsp; IMAGECOLOR 220 220 220<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>&nbsp; IMAGETYPE PNG<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>&nbsp; PROJECTION<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<o:p></o:p></p>

<p>&nbsp; END <o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>&nbsp; LAYER<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; NAME CoverageMap<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; TYPE POLYGON<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; STATUS DEFAULT<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; DATA notforchad<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; CLASS<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 128 128<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 225 0 0 <o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp; END<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>&nbsp; END<o:p></o:p></p>

<p>END<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p><span style='font-size:14.0pt;color:#365F91'>Chad Clabaugh</span><o:p></o:p></p>

<p><span style='font-size:9.0pt'>Technical Support, Engineering</span><o:p></o:p></p>

<p><span style='font-size:9.0pt'>Office: 260.760.6398</span><o:p></o:p></p>

<p><span style='font-size:9.0pt'>Mobile: 260.466.8861</span><o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>