<div dir="ltr"><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 7.5pt;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">Group,</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 7.5pt;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">I am bit struggling with the MapServer + Tile Cache. </span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 7.5pt;line-height:15pt;background-image:initial;background-repeat:initial">Please anyone can help me.</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 7.5pt;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">My detailed configurations are as follow</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif"><b>1) Map File (tm.map)</b></span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">MAP</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        IMAGETYPE       PNG</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        EXTENT          -180 -90 180 90</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        SIZE            800 600</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        SHAPEPATH       "C:/Temp/"</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        IMAGECOLOR      255 255 255</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">        PROJECTION</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                "init=EPSG:4326"</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">        END</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        WEB</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">                METADATA</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">                        "ows_enable_request"   "*"</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">                        "wms_title"             "WMS Street"</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">                        "wms_onlineresource"    "<a href="http://localhost:1080/cgi-bin/mapserv.exe?map=c:/ms4w/maps/tm.map&" target="_blank">http://localhost:1080/cgi-bin/mapserv.exe?map=c:/ms4w/maps/tm.map&</a>"</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">                        "wms_srs"               "EPSG:4326"</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">                END</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">        END</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                       </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                        LAYER</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                DATA "Street.shp"</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                NAME Streetview</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                TYPE POLYGON</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                CLASS</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                            STYLE</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                                        color 255 0 0</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                                        WIDTH 1</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                                        #MINSCALEDENOM 508342</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                            END</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                            METADATA</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                                                    "wms_title"     "Streetview"</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                                                    "wms_srs"       "EPSG:4326"</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                            END                                         </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                                                END</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">                        END</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt 0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">END</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p>
<span style="font-size:9pt;line-height:13.800000190734863px;font-family:Tahoma,sans-serif"><br clear="all"></span><span style="font-family:arial,sans-serif;font-size:13px"></span><p class="MsoNormal" style="font-family:arial,sans-serif;font-size:13px">
<span style="font-size:9pt;line-height:13.800000190734863px;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif"> <br><b>2) tilecache.cfg is –.</b></span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">[cache]</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">type=Disk</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">base=C:\Inetpub\wwwroot\tilecache\Cache</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">[Streetview]</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">size=256,256</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">srs=EPSG:4326</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">type=WMS</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">url=<a href="http://localhost:1080/cgi-bin/mapserv?map=c:/ms4w/maps/tm.map" target="_blank">http://localhost:1080/cgi-bin/mapserv?map=c:/ms4w/maps/tm.map</a></span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">layers=Streetview</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">mapfile=c:/ms4w/maps/tm.map</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">bbox=-180 -90 180 90</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">extension=png</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">mime_type=image/png</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">maxresolution=234.375</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">extent_type=loose</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">levels=20</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt 0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">expire=3600</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif"> </span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0in 0in 0.0001pt;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif"><b>3) Tile Generater Command</b></span></p>
<p style="font-family:arial,sans-serif;font-size:13px;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">tilecache_seed.py Streetview 04 09 -b "-180, -90, 180, 90" -p 1 -f -c c:\Inetpub\wwwroot\TileCache\tilecache.cfg</span></p>
<p style="font-family:arial,sans-serif;font-size:13px;line-height:15pt;background-image:initial;background-repeat:initial"><span style="font-size:9pt;font-family:Tahoma,sans-serif">Error</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">Traceback (most recent call last):</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">  File "C:\Inetpub\wwwroot\TileCache\tilecache_seed.py", line 9, in ?</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">    TileCache.Client.main()</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">  File "C:\Inetpub\wwwroot\TileCache\TileCache\Client.py", line 166, in main</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">    layer = svc.layers["Streetview"]</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="font-size:9pt;font-family:Tahoma,sans-serif">KeyError: 'Streetview'</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin-left:0.5in;line-height:15pt;background-image:initial;background-repeat:initial">
<span style="line-height:15pt"><br></span></p><pre style="white-space:pre-wrap"><br></pre></div>