Paul,

Have a read regarding TILEINDEXes (http://mapserver.org/optimization/tileindex.html). It may be useful to have one TILEINDEX (and one layer) per scale group (so a total of 6 layers). The TILEINDEX will provide a spatial limitation [min/max x/y] per file.

Best Regards,
Brent Fraser

On 6/24/2014 11:36 PM, Malm Paul 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

Reply via email to