[Mapserver-users] Too many layers

Thorsten Fischer thfischer at mapmedia.de
Mon Feb 24 04:49:45 PST 2003


> I tried to add more than 100 layers (raster) to a map-file and there comes this
> massege:
> 
> msLoadMap(): Unknown identifier. Too many layers defined. 
> 
> Is there a possibility to use an imagecatalog?


Yes, as described in the Tile Indexing section of the raster howto:

http://mapserver.gis.umn.edu/doc36/raster-howto.html


Alternatively, you can change the line

#define MS_MAXLAYERS 100

in the map.h header file in the source distribution and recompile.


hth,

thorsten

-- 
Thorsten Fischer        thfischer at mapmedia.de

MapMedia - Kartographie und raumbezogene Informationssysteme
Heilbronner Straße 10
D-10711 Berlin
http://www.mapmedia.de tel: +49 (0)30 89 06 82 70





More information about the MapServer-users mailing list