I'm developing an OpenLayers site where the client wants a dozen layers that can be individually turned on and off, which is a bit of a bummer in terms of performance. The data is PostGIS and static enough to cache tiles. The area is quite small geographically but requires 9 zoom levels to allow detailed views. I'm using a cached tiled base map which is fast and efficient.
I've been using Single Tile WMS layers for the other dozen layers, but am wondering if I should used Tiled, cached versions of these. There are other efficiency gains to be made by limiting the buffer, and adding sub-domains such that images can come from tiles.example.com, tiles2.example.com, etc, however all other efficiency strategies aside, I'm wondering at what point the OpenLayers performance difference is for 12 untiled layers, verses 12 tiled layers?
Said another way, at what number of tiled layers in OpenLayers will the performance degrade such that Single Tile layers are preferable? If I have 12 tiles per view, and 12 layers, can OpenLayers handle 144 tiles without bogging down?
No comments:
Post a Comment