[Mapserver-users] using one classification for multiple layers

Eric Bridger eric at gomoos.org
Tue Nov 18 05:34:24 EST 2003


So what is the difference between the 20 layers?  Is it only the DATA
source?  You can reset the $layer->{data} = "$data_source_one" in
mapscript or as a cgi parameter: map_layer_0_data=data_source_one.

On Tue, 2003-11-18 at 14:35, bartvde at xs4all.nl wrote:
> Hi list,
> 
> is it possible to define a classification once and then re-use it for more
> than one layer? I have 20 layers which all use the same classification,
> but now I am redefining all the CLASS objects all the time in every LAYER.
> 
> I could not find anything about this in the Mapfile reference.
> 
> Best regards,
> Bart
 




More information about the mapserver-users mailing list