MapFile for 250 layers (MS_MAXLAYERS)

Gabriel Cloutier gabriel.cloutier at RNCAN.GC.CA
Tue Jul 5 09:10:36 PDT 2005


Hi Abe,
Yes I used tile4ms to join my thousand of shapefiles in a ShapeFile index.
But it's a good idea to try to fusion some light ShapeFile and to put an
attribute for the distinction.  With this attribute I can make the
distinction between two class in the same layer.
My fear is about the filter.  This option definitly affect negatively the
performance.
Thank for your help!

-Gab


-----Original Message-----
From: Abe Gillespie [mailto:abe.gillespie at gmail.com]
Sent: 5 juillet 2005 11:46
To: Gabriel Cloutier
Subject: Re: [UMN_MAPSERVER-USERS] MapFile for 250 layers (MS_MAXLAYERS)


Can you consolidate any layers by putting them into an index?  For
instance, do you have a grid of layers that are one logical layer
(usually this is aerial photography)?

This might not solve your problem, but it help me make hundreds of
smaller layers one logical one.

-Abe

On 7/5/05, Gabriel Cloutier <gabriel.cloutier at rncan.gc.ca> wrote:
> Hi list,
>  I need an advice about the management of up to 250 layers and 200 symbols
> in a MapFile.
> My first idea was to change the constant value in the source code
> (MS_MAXLAYERS, MS_MAXSYMBOLS).
>
> 1 ) Does someone know if changing this constants will affect the performance ?
>
> 2 ) Does someone have a FGS Linux Installer package with the values of this
> constant changed to fit with my case ?
>
> 3 ) Do you know better solutions for my problem ?
>
> Thank you in advance!
>
> ----------------------------------------------------------------
> Gabriel Cloutier
> Natural Resources Canada
> Centre for Topographic Information
> Web Services Team
> 2144 King West Street, s. 010
> Sherbrooke, Quebec  J1J 2E8
> E-Mail:  Gabriel.Cloutier at NRCan.gc.ca
> Tel:  (819) 564-5600 #295
> Fax:  (819) 564-5698
>



More information about the MapServer-users mailing list