If you're using a map file with 100s of layers, you really must set an EXTENT on each layer to mapserver can intelligently ignore layers that are not "in scope" for the current view.
P On Tue, Jun 24, 2014 at 10:36 PM, Malm Paul <[email protected]> wrote: > Hi, > > I’ve just started using Mapserver and have a question, that could help me to > cut corners. > > > > 1) I have a lot of S57 charts in different scale groups 1-6. > > 2) It should be simple to maintain the map data (a lot of upgrades). > > 3) Of course, it should be fast. > > > > Strategy of today: > > I have the original data stored in the original format on ram disk. I have > one map file that INCLUDEs all “layer” files (one per chart). > > The layer files defines the all the interesting chart features (layers) and > the max scale. > > I was thinking that I only shall use max scale, not min scale, because if I > don’t have a chart with a larger scale a certain position when I zoom in, > then I shall at least see a chart. Even if has a to small scale for this > zoom. I don’t have any spatial restrictions on each layer or layer file, > just for the map file -90, -180, 90, 180 (i.e no limits) > > Is it possible to have spatial limitations on a layer? > > > > When I use this strategy the map server chokes then I zoom in too much. > > > > I can see that the map configuration could be done in a lot of different > ways, > > How would your strategy be? > > > > Kind regards, > > Paul > > > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
