<br><br><div class="gmail_quote">On Tue, May 18, 2010 at 11:05 AM, Stefan Schwarzer <span dir="ltr"><<a href="mailto:stefan.schwarzer@grid.unep.ch">stefan.schwarzer@grid.unep.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi there,<br>
<br>
as far as I know there is no limit in respect to the numbers of layers in the mapfile anymore, no? We're running 5.2.1, and it seems that somewhere between 45 and 50 layers, it returns me that error. Anyone knows why? Anything I can do?<br>

<br>
Thanks for any tips!<br>
<br>
Stefan<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br><br>in documentation<br><br>• For MapServer versions < 5, there was a default maximum of 200 layers per mapfile (there is no layer limit with<br>MapServer >= 5). This can be changed by editing the map.h file to change the value of MS_MAXLAYERS to<br>
the desired number and recompiling. Here are other important default limits when using a MapServer version <<br>5:<br>