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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users