number of layers in mapfile

Eric Lemoine eric.c2c at GMAIL.COM
Thu Aug 30 02:27:41 EDT 2007


On 8/27/07, Fawcett, David <David.Fawcett at state.mn.us> wrote:
> I think that the summary is that conclusion is that a map file with 500
> layers is going to be significantly more expensive than a map file with
> five layers.  Even with all of the possible optimization tricks.
>
> If you really need to have a map file with 500 layers (e.g. you need all
> 500 layers to draw one map), you will likely have to deal with slower
> performance.
>
> The bigger question to me is, do you really need 500 layers?!  I can't
> imagine a lot of applications that would.
>
> There are people who have lot's of possible data layers, but really only
> need a dozen or so at a time.  They are using the INCLUDE option or a C
> pre-processor to custom build map files on the fly.
>
> I would first try to figure out if you really needed such a giant map
> file.

Hi,

Yes, I should be able to split my mapfile into multiple mapfiles. I
just wanted to check with the list that having lots of layers in the
mapfile can effectively cause performance issues.

Thx,

--
Eric



More information about the mapserver-users mailing list