[OpenLayers-Users] Mapserver vs WMS.layer

David William Bitner david.bitner at gmail.com
Fri Dec 28 11:54:00 EST 2007


It's still using MapServer, so changing layer type shouldn't make a
difference.  Tuning your MapServer by creating indexing, scale dependent
layering, generalizing, etc. will be the things that will make your
MapServer faster.  Alternatively (or in addition) you could look into a
tiling engine like TileCache to prerender tiles.

On Dec 28, 2007 10:47 AM, Maria Panagou <snowdrop at ath.forthnet.gr> wrote:

>
> I've declared a wms layer using the following syntax, which works fine.
>
>  var quakes = new OpenLayers.Layer.WMS( "Earthquakes",
>                        "http://127.0.0.1:80/cgi-bin/mapserv.exe?",
>                        { map: '../htdocs/mpanagou/Quakes original.map',
>                          transparent:'true',
>                          layers: 'Quakes',
>                          'format':'png'},
>                          {'reproject': true});
>
> I want to test this, using Mapserver layer instead so I replace new
> OpenLayers.Layer.WMS with new OpenLayers.Layer.Mapserver, but the map
> won't
> show at all. Do I need to use different parameters for the mapserver
> layer?
>
> The reason I want to test that is that WMS layer is too slow. I tried the
> untiled or singletile:'true' options but I see no difference.
>
> --
> View this message in context:
> http://www.nabble.com/Mapserver-vs-WMS.layer-tp14528042p14528042.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
************************************
David William Bitner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071228/b3ef16f7/attachment.html


More information about the Users mailing list