Re: [pmapper-users] Mapfile in pmapper
Brought to you by:
arminburger
From: Armin B. <arm...@gm...> - 2006-11-08 08:01:54
|
As I said, the maximum number can be changed only at compile time: in 'map.h' #MS_MAXLAYERS. The default value in the sources is 200, so I guess that's also so for the compiled version under Windows (see also http://mapserver.gis.umn.edu/docs/error/error-maximum-classes) Do you really use more than 200 layers in 1 application??? If you need to do so, you can either * use Linux/FreeBSD etc. and compile it by yourself, increasing the max value * ask somebody like DM Solutions or Howard Butler etc. to do that for you on Windows (I've never compiled MS and all libs for Win, but it seems to require some sound knowledge...), but I guess that'll not be for free Otherwise consider using less layers... armin -------- Original-Nachricht -------- Datum: Wed, 8 Nov 2006 00:25:50 -0500 (EST) Von: "Radhika" <rad...@in...> An: pma...@li... Betreff: [pmapper-users] Mapfile in pmapper > > Hi Armin, > As per your suggestion I tried test_mapfile.phtml. > I got the following errors........ > > Warning: [MapServer Error]: msLoadMap(): Maximum number of layers > reached. in D:\ms4w\apps\maplab-2.2 > \workshop\php\test_mapfile.phtml on line 29 > > Warning: Failed to open map file d:/ms4w/apps/maplab- > 2.2/workshop/php/config/pmapper_demo.map in > D:\ms4w\apps\maplab-2.2\workshop\php\test_mapfile.phtml on > line 29 > > Fatal error: Call to a member function on a non-object in > D:\ms4w\apps\maplab-2.2\workshop\php\test_mapfile.phtml on > line 36 > > Please suggest me how can i increase the maximum number of layers > in mapfile or if any other way to solve this problem. > > Thanks & Regards > radhika. > > > > -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |