[Mapserver-users] Layer Problem

James Anderson james at danisat.net
Thu Jul 3 08:03:04 EDT 2003


Thanks very much.  How high do u think I can take it ?

Regards,

James.

----- Original Message -----
From: "Paul Spencer" <pagameba at magma.ca>
To: "James Anderson" <james at danisat.net>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, July 03, 2003 1:36 PM
Subject: Re: [Mapserver-users] Layer Problem


| 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