[Mapserver-users] using one classification for multiple layers

bartvde at xs4all.nl bartvde at xs4all.nl
Tue Nov 18 07:57:02 PST 2003


Hi Sean,

okay, I already thought this would not be possible.

What I want would mean introducing a new object called e.g. CLASSIFICATION
which is composed of several CLASS objects. Layers could then define a
CLASSIFICATION or multiple CLASS objects (as they do now).

Best regards,
Bart

> On Tuesday, November 18, 2003, at 07:35  AM, 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
>
> Bart,
>
> In a manner similar to fonts and symbols?  No, this is not possible.
>
> But it would be useful.  One way to implement this would be to extend
> the
> map file structure to allow nesting of layers, a concept that already
> exists in WMS.  Define classes in a top-level layer (kinda like a group)
> and the sub-layers inherit the classes.  However, this would involve
> significant changes to MapServer.
>
> cheers,
> Sean
>
> --
> Sean Gillies
> sgillies at frii dot com
> http://www.frii.com/~sgillies
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>




More information about the MapServer-users mailing list