[Mapserver-users] Layer Problem
Paul Spencer
spencer at dmsolutions.ca
Thu Jul 3 04:36:27 PDT 2003
edit this line in map.h and rebuild mapserver.
#define MS_MAXLAYERS 100 /* maximum number of layers in a map file */
Cheers,
Paul
James Anderson wrote:
>
> Hi Everybody,
>
> I seem to have a big problem ......
> I am using mapserver on Red Hat 8 Linux.
> MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> I have many vector layers and some raster layers too. At the moment my
> map file has over 100 layers in it. My problem is that when I have
> tried adding some more layers, I get the error
>
> msLoadMap(): Unknown identifier. Too many layers defined.
>
> Now this is a problem as I need to have all these layers. I got so many
> layers that its too many to count the exact amount. But this is a
> problem, and my project is going to fail if I cannot find a way to get
> mapserver to support/accept more layers. Can anyone give me an idea of
> what the maximum number of layers is, and how I can go about increasing
> the amount of layers that is supported. I have an idea that I am going
> to have to recompile the mapserver. Please anybody, Please Help !!
>
> Thanks,
>
> James.
>
--
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the MapServer-users
mailing list