Hi Tyler,<br><br>I wonder if the &quot;projection&quot; line in your tilecache.cfg might be causing problems?  From what you show below, it looks like your &quot;vias&quot; data is in EPSG:4326 natively, and that you then force MapServer to reproject it to a custom mercator - which you say works fine.<br>
<br>I think the &quot;projection&quot; and &quot;srs&quot; lines are conflicting with each other in your tilecache.cfg.<br>In my setup, I have my data&#39;s native projection defined in the mapfile like you do, as &#39;PROJECTION &quot;init=epsg:4326&quot; END&#39;.  But in my tilecache.cfg, I only specify what output projection I want, in this case EPSG:900913.<br>
<br>[v2_20m_global]<br>type=MapServerLayer<br>mapfile=/var/www/mapfiles/v2_20m_global/v2_20m_global.map<br>metaTile=true<br>metaSize=2,2<br>metaBuffer=0,500<br>layers=imagery<br>spherical_mercator=true<br>srs=EPSG:900913<br>
<br>My suggestion would be to remove the &quot;projection line entirely and see if you get tiles generated in EPSG:4326 correctly.  If that works, try specifying a different EPSG code.  If you get reprojected tiles that way, you can try fiddling with the &quot;projection&quot; parameter in the tilecache.cfg, or add a new projection line to your /share/proj/epsg file with your custom parameters and point to its code in the tilecache.cfg &quot;srs&quot; line.<br>
<br>Best of luck,<br><br>Roger<br>--<br><br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 10:52 AM, Tyler Durden <span dir="ltr">&lt;<a href="mailto:tylersticky@gmail.com">tylersticky@gmail.com</a>&gt;</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;">Hi all,<br>
I&#39;m new to MapServer, until now I&#39;ve used Mapnik to generate my tiles.<br>
But I want to try MapServer and I can&#39;t figure out what I&#39;m doing<br>
wrong.<br>
If I run via WEB interface it renders fine, but with Tilecache the<br>
tiles appears blank.<br>
Any idea what I&#39;m doing wrong?<br>
<br>
Thanks in advance.<br>
<br>
MAP<br>
 NAME &quot;test&quot;<br>
 EXTENT         -961006 5034756 -955378 5036634<br>
<br>
 IMAGECOLOR 255 255 0<br>
 IMAGETYPE JPEG<br>
 SIZE 256 256<br>
 STATUS ON<br>
 UNITS METERS<br>
 MAXSIZE 5000<br>
<br>
 SHAPEPATH      &quot;/home/tyler/Projects/Python/mapserver/tilecache/vias/&quot;<br>
<br>
  PROJECTION<br>
        &quot;proj=merc&quot;<br>
        &quot;a=6378137&quot;<br>
        &quot;b=6378137&quot;<br>
        &quot;lat_ts=0.0&quot;<br>
        &quot;lon_0=0.0&quot;<br>
        &quot;x_0=0.0&quot;<br>
        &quot;y_0=0&quot;<br>
        &quot;k=1.0&quot;<br>
        &quot;units=m&quot;<br>
        &quot;nadgrids=@null&quot;<br>
        &quot;wktext&quot;<br>
        &quot;no_defs&quot;<br>
  END<br>
<br>
  LAYER<br>
        NAME vias<br>
        TYPE LINE<br>
        DATA vias<br>
        STATUS default<br>
        OFFSITE 0 0 0<br>
        PROJECTION<br>
          &quot;init=epsg:4326&quot;<br>
        END<br>
        CLASS<br>
          NAME &quot;Countries&quot;<br>
          OUTLINECOLOR 0 0 0<br>
        END<br>
    TRANSFORM true<br>
END<br>
<br>
tilecache.cfg:<br>
<br>
[cache]<br>
type=Disk<br>
base=/home/tyler/Projects/Python/mapserver/tilecache/cache<br>
<br>
[base]<br>
type=MapServerLayer<br>
layers=vias<br>
mapfile=/home/tyelr/Projects/Python/mapserver/tilecache/vias.map<br>
projection=+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0<br>
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over<br>
bbox=-20037508,-20037508,20037508,20037508<br>
maxResolution=2000<br>
srs=EPSG:4326<br>
levels=12<br>
extension=jpeg<br>
size=256,256<br>
metaTile=yes<br>
metaBuffer=512<br>
metaSize=5,5<br>
debug=on<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><br>
</blockquote></div><br>