Fascinating, thanks for sending the link! Since you state that you only get blank images when you try it out, perhaps it is a projection mis-match? It appears that your mapfile extents are defined in meters, which would match spherical mercator, but your layer is in EPSG 4326. What if you make your extents be in lat/lon instead?<br>
<br>Roger<br>--<br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 10:29 AM, Chad Clabaugh <span dir="ltr"><<a href="mailto:cclabaugh@centwire.com">cclabaugh@centwire.com</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;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks for your reply Roger. The spec for tilemode is at </span><a href="http://mapserver.org/output/tile_mode.html" target="_blank">http://mapserver.org/output/tile_mode.html</a>
<span style="font-size: 11pt; color: rgb(31, 73, 125);">But
I'll definitely look into TileCache as well.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Roger André
[mailto:<a href="mailto:randre@gmail.com" target="_blank">randre@gmail.com</a>] <br>
<b>Sent:</b> Monday, January 19, 2009 12:03 PM<br>
<b>To:</b> Chad Clabaugh<br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] google tiles</span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<p style="margin-bottom: 12pt;">Hi Chad,<br>
<br>
I wasn't aware that "tile" is a valid mode of operation for
Mapserver. I looked on <a href="http://mapserver.org/cgi/controls.html" target="_blank">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. In any case, the way I'm familiar with
generating google map tiles is via the use of Tilecache. 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. I
think this might be the solution you're looking for, <a href="http://tilecache.org/" target="_blank">http://tilecache.org/</a>.<br>
<br>
Best of luck,<br>
<br>
Roger<br>
--</p>
<div>
<p>On Mon, Jan 19, 2009 at 6:50 AM, Chad Clabaugh <<a href="mailto:cclabaugh@centwire.com" target="_blank">cclabaugh@centwire.com</a>> wrote:</p>
<div>
<div>
<p>Greetings,</p>
<p>I have been trying to generate google tiles from shapefiles using
mapserver. 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&mode=map" target="_blank">http://0.0.0.0/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&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&mode=tile&tile=4+6+4" target="_blank">http://172.18.154.186/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&mode=tile&tile=4+6+4</a>
I receive only empty images, regardless of tile specified.</p>
<p> </p>
<p>Thanks for any help!</p>
<p> </p>
<p>MAP</p>
<p> NAME COVERAGE</p>
<p> STATUS ON</p>
<p> SIZE 1400 900</p>
<p> EXTENT 639000.000000 4535300.000000 689900.000000 4582600.000000 </p>
<p> UNITS METERS</p>
<p> SHAPEPATH "shapefiles"</p>
<p> IMAGECOLOR 220 220 220</p>
<p> </p>
<p> IMAGETYPE PNG</p>
<p> </p>
<p> PROJECTION</p>
<p> "init=epsg:4326"</p>
<p> END </p>
<p> </p>
<p> LAYER</p>
<p> NAME CoverageMap</p>
<p> TYPE POLYGON</p>
<p> STATUS DEFAULT</p>
<p> DATA notforchad</p>
<p> </p>
<p> CLASS</p>
<p> STYLE</p>
<p> OUTLINECOLOR 255 128 128</p>
<p> COLOR 225 0 0 </p>
<p> END</p>
<p> END</p>
<p> </p>
<p> END</p>
<p>END</p>
<p> </p>
<p><span style="font-size: 14pt; color: rgb(54, 95, 145);">Chad Clabaugh</span></p>
<p><span style="font-size: 9pt;">Technical Support, Engineering</span></p>
<p><span style="font-size: 9pt;">Office: 260.760.6398</span></p>
<p><span style="font-size: 9pt;">Mobile: 260.466.8861</span></p>
<p> </p>
</div>
</div>
<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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></p>
</div>
<p> </p>
</div></div></div>
</div>
</blockquote></div><br>