I guess you are looking für classgroup:
LAYER
...
CLASSGROUP "group1"
...
CLASS
NAME "name1"
GROUP "group1"
...
END
see https://mapserver.org/mapfile/class.html
Jörg
Am 14.09.20 um 16:56 schrieb Cechini, Matthew F. (GSFC-423.0)[Science
Systems & Applications, Inc.]:
> Unfortunately, that’s not the functionality that I’m looking for…
>
>
>
> What I want is to support “&STYLES=default” or “&STYLES=blue” query
> parameters resulting in different styling of the same underlying data.
>
>
>
> Thanks,
>
> Matt
>
> .................................................................
>
> Matthew Cechini
>
> Contractor, Science Systems and Applications, Inc.
>
> NASA GIBS Systems/Software Engineer
>
> 410.205.6272
>
>
>
> *From: *"Lime, Steve D (MNIT)" <[email protected]>
> *Date: *Monday, September 14, 2020 at 10:49 AM
> *To: *Matthew Cechini <[email protected]>,
> "[email protected]" <[email protected]>
> *Subject: *RE: [EXTERNAL] RE: Multiple Styles for a LAYER/CLASS
>
>
>
> Names aren’t valid (or useful) at the style-level. If you remove those
> lines it should work and you’ll get stacked styles for each feature. --Steve
>
>
>
> *From:*Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications,
> Inc.] <[email protected]>
> *Sent:* Monday, September 14, 2020 7:27 AM
> *To:* Lime, Steve D (MNIT) <[email protected]>;
> [email protected]
> *Subject:* Re: [EXTERNAL] RE: Multiple Styles for a LAYER/CLASS
>
>
>
> ------------------------------------------------------------------------
>
> We’re using 7.0.1… admittedly a bit of an older version. Mapserver
> balks on NAME in the STYLE element in that version.
>
>
>
> Thanks,
>
> Matt
>
> .................................................................
>
> Matthew Cechini
>
> Contractor, Science Systems and Applications, Inc.
>
> NASA GIBS Systems/Software Engineer
>
> 410.205.6272
>
>
>
> *From: *"Lime, Steve D (MNIT)" <[email protected]
> <mailto:[email protected]>>
> *Date: *Friday, September 11, 2020 at 5:17 PM
> *To: *Matthew Cechini <[email protected]
> <mailto:[email protected]>>, "[email protected]
> <mailto:[email protected]>"
> <[email protected] <mailto:[email protected]>>
> *Subject: *[EXTERNAL] RE: Multiple Styles for a LAYER/CLASS
>
>
>
> Hi Matt: Actually that syntax is supported (except for the style NAME
> attribute) and you can have multiple styles inside a class. What version
> are you using? --Steve
>
>
>
> *From:*mapserver-users <[email protected]
> <mailto:[email protected]>> *On Behalf Of
> *Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.]
> *Sent:* Friday, September 11, 2020 2:37 PM
> *To:* [email protected]
> <mailto:[email protected]>
> *Subject:* [mapserver-users] Multiple Styles for a LAYER/CLASS
>
>
>
> ------------------------------------------------------------------------
>
> Greetings,
>
> I would like to provide multiple styles for the same LAYER/CLASS in
> our mapserver configuration. Ideally that looks something like this,
> though of course this syntax isn’t currently supported.
>
>
>
> CLASS
>
> NAME "Thermal Anomalies"
>
> STYLE
>
> NAME 'default'
>
> SYMBOL 'circle'
>
> COLOR 240 40 40
>
> OUTLINECOLOR 240 40 40
>
> SIZE 3
>
> END
>
>
>
> STYLE
>
> NAME 'blue'
>
> SYMBOL 'circle'
>
> COLOR 0 0 255
>
> OUTLINECOLOR 0 0 255
>
> SIZE 3
>
> END
>
> END
>
>
>
> How would I accomplish this given existing functionality?
>
>
>
> Thanks,
>
> Matt
>
> .................................................................
>
> Matthew Cechini
>
> Contractor, Science Systems and Applications, Inc.
>
> NASA GIBS Systems/Software Engineer
>
> 410.205.6272
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
Viele Grüße,
Jörg Thomsen
--
----------------------------------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
----------------------------------------------------------------------
Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany
Fon: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11
[email protected]
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users