RE [mapserver-users] mapserver tilecache

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Tue Aug 9 07:48:39 EDT 2011


htdocs instead of htodcs....
You can use firebug to see the network errors
steve





赫玄惠 <xiaoshitou1986126 at 126.com>@lists.osgeo.org 
Envoy? par : mapserver-users-bounces at lists.osgeo.org
2011-08-09 04:45

A
mapserver-users at lists.osgeo.org
cc

Objet
[mapserver-users] mapserver tilecache








I has wrote a mapfile. It can be published successfully with openlayers. 
But its speed is very slow. So I try to use tilecache to improve the 
speed.
now I have install  the tilecache, and it can run with the example.But it 
doesn't run with my mapfile. Here is the program
[road]
 type=WMS
 
url=http://localhost/cgi-bin/mapserv.exe?map=/ms4w/Apache/htodcs/file/jia1_test.map&transparent=true&
    layers=build,street
 extension=png
 bbox=-180 -90 180 90
 maxResolution=0.0439453
 srs=EPSG:4326
 level=20

the html as follow:
layer = new OpenLayers.Layer.WMS( "global", 
                    "http://localhost/tilecache-2.10/tilecache.py?",
{layers: 'build,street', 
format: 'image/png' } );
            map.addLayer(layer);

Anyone can help me,thanks!!!


_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110809/bc16273d/attachment.html


More information about the mapserver-users mailing list