[OpenLayers-Dev] Performance question

Ludwig M Brinckmann ludwigbrinckmann at gmail.com
Sat Jul 28 09:29:13 EDT 2007


>
>
> In general, I would advise against having 11 seperate layers on a map.
> It's possible that this really is neccesary, but in general, 11 layers
> is more likely to confuse the user: You're the map maker, make some
> decisions about how the map should look, and combine some of the layers.


Well, I think there are many situations where one would want to give a user,
which might not be the general public, a _lot_ of layers and I would argue
that OL should should support this.

I could be wrong, especially in the case of analysis, but in general,
> I've found that as you add more layers, users feel less comfortable,
> rather than more, despite the addtional level of control it offers.
>
> > When I zoom in the performances are very very poor and when I go to the
> > max zoom level I can see that the requests send to the web server are
> > about 1000.


I have found that with mapserver vector layers it is often better to just
have a single tile as the effort creating the tile lies in the DB or
shapefile access and because Mapserver will, depending on setting, either
discard elements at the edges of tiles (which would be in the middle of an
OL tiled window), or the symbols do not line up well or a duplicated on more
than one tile.

I have still an experimental version of my OL at
www.yunnanexplorer.com/yunnanmap.html. Move the red sliders to make a layer
visible, sort stacking order by dragging and dropping, or flicker a layer
with the check-box.

The earthquake layers towards the bottom are single tile mapserver tiles
against PostGIS.

Ludwig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070728/fe85301a/attachment.html


More information about the Dev mailing list