Hi all,<br><br>this is the first time I use Tilecache. I&#39;m trying to
generate tiles for a Map (that I can visualize successfully in
OpenLayers with Mapserver). The .map file is as following:<br><br>----<br><br>#
<br># Start of map file
<br>#
<br>#
<br>NAME NAVSTREETS
<br>STATUS ON
<br>SIZE 600 600
<br>SYMBOLSET &quot;/var/www/maps/symbols.sym&quot;
<br>EXTENT 12 41 13 42
<br>&nbsp;<br>SHAPEPATH &quot;/var/www/shapes/&quot;
<br>IMAGETYPE png
<br>IMAGECOLOR 150 150 150
<br>&nbsp;<br>#
<br># Start of web interface definition
<br>#
<br>WEB
<br>&nbsp; #MINSCALE 2000000
<br>&nbsp; #MAXSCALE 50000000
<br>&nbsp; IMAGEPATH &quot;/tmp/ms_tmp/&quot;&nbsp;
<br>&nbsp; IMAGEURL &quot;/ms_tmp/&quot;
<br>&nbsp; METADATA
<br>&nbsp;&nbsp;&nbsp; &quot;wms_title&quot; &quot;navstreet map&quot;
<br>&nbsp;&nbsp;&nbsp; &quot;wms_onlineresource&quot; &quot;<a href="http://213.199.15.252/cgi-bin/mapserv?map=ms.map&amp;" target="_blank">http://213.199.15.252/cgi-bin/mapserv?map=ms.map&amp;</a>&quot;
<br>&nbsp; END
<br>&nbsp; TEMPLATE &quot;test.html&quot;
<br>END
<br>&nbsp;<br># Layers
<br>&nbsp;<br>LAYER
<br>&nbsp; METADATA
<br>&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &quot;queryable&quot; &quot;true&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_title&quot; &quot;GreenA&quot;
<br>&nbsp; END
<br>&nbsp;<br>&nbsp; TEMPLATE &quot;test.html&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<br>&nbsp; NAME GreenA
<br>&nbsp; TYPE POLYGON
<br>&nbsp; STATUS ON
<br>&nbsp;<br>&nbsp; DATA LandUseA
<br>&nbsp;CLASS
<br>&nbsp;&nbsp;&nbsp; NAME &quot;Streets&quot;
<br>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 255 0
<br>&nbsp;&nbsp;&nbsp; COLOR 0 255 0
<br>&nbsp; END
<br>END # layer<br><br>END # MAP<br><br>----<br><br>The following is my tilecache.cfg file:<br>
<br>
----<br>
<br>
[cache]<br>
base = /tmp/tilecache<br>
type = Disk<br>
<br>
[basic]<br>
layers = GreenA<br>
spherical_mercator = no<br>
data_extent = 12,41,13,42<br>
extension = png<br>
url = <a href="http://213.199.15.252/cgi-bin/mapserv?map=ms.map" target="_blank">http://213.199.15.252/cgi-bin/mapserv?map=ms.map</a><br>
metatile = no<br>
bbox = 12,41,13,42<br>
type = WMS<br>
<br>
----<br><br>The layer is deriving from a shapefile. Then I try the command: <br><br>python tilecache_seed.py &quot;<a href="http://213.199.15.252/cgi-bin/tilecache.cgi" target="_blank">http://213.199.15.252/cgi-bin/tilecache.cgi</a>?&quot; basic 0 5<br>

<br>and I get the error<br><br>msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.<br><br>The
point is that I don&#39;t want to project my map, so as far as I know, I
haven&#39;t to set a projection object in mapfile. Is it mandatory to
fullfill the tilecache requisites? How can I produce tiles from map
that are usable by OpenLayers?<br>
<br>Thank you all,<br><font color="#888888"><br>Damiano Morosi</font>