Hi all,<br><br>this is the first time I use Tilecache. I'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 "/var/www/maps/symbols.sym"
<br>EXTENT 12 41 13 42
<br> <br>SHAPEPATH "/var/www/shapes/"
<br>IMAGETYPE png
<br>IMAGECOLOR 150 150 150
<br> <br>#
<br># Start of web interface definition
<br>#
<br>WEB
<br> #MINSCALE 2000000
<br> #MAXSCALE 50000000
<br> IMAGEPATH "/tmp/ms_tmp/"
<br> IMAGEURL "/ms_tmp/"
<br> METADATA
<br> "wms_title" "navstreet map"
<br> "wms_onlineresource" "<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> END
<br> TEMPLATE "test.html"
<br>END
<br> <br># Layers
<br> <br>LAYER
<br> METADATA
<br> "queryable" "true"
<br> "wms_title" "GreenA"
<br> END
<br> <br> TEMPLATE "test.html"
<br>
<br> NAME GreenA
<br> TYPE POLYGON
<br> STATUS ON
<br> <br> DATA LandUseA
<br> CLASS
<br> NAME "Streets"
<br> OUTLINECOLOR 0 255 0
<br> COLOR 0 255 0
<br> 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 "<a href="http://213.199.15.252/cgi-bin/tilecache.cgi" target="_blank">http://213.199.15.252/cgi-bin/tilecache.cgi</a>?" 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't want to project my map, so as far as I know, I
haven'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>