[MapServer-users] How to define/declare often used color definitions is a "centralized" file
Philippe Ghesquiere
philippe.ghesquiere at airbus.com
Wed Jun 4 04:38:12 PDT 2025
Sorry I was not clear enough.
I would like to specify the color value with a constant variable defined
"somewhere". Something like symbol definitions in a file defined by
SYMBOLSET.
On Wed, Jun 4, 2025 at 1:06 PM Rahkonen Jukka <
jukka.rahkonen at maanmittauslaitos.fi> wrote:
> Hi,
>
> Please clarify what you mean by "...COLOR can be defined by either RGB or
> hexa strings.It can also be defined as: COLOR [MyAttribute] where
> MyAttribute is an attribute of the processed vector objet.In our usecase,
> this last option does not work.
>
> Do you mean that you have tried to get the color from an attribute, but it
> does not work even it is documented to work
> https://mapserver.org/mapfile/style.html.
> Or do you mean that in your project you cannot add a color attribute into
> you vector data?
>
> -Jukka Rahkonen-
>
>
> ________________________________________
> Lähettäjä: MapServer-users <mapserver-users-bounces at lists.osgeo.org>
> käyttäjän Philippe Ghesquiere via MapServer-users <
> mapserver-users at lists.osgeo.org> puolesta
> Lähetetty: Keskiviikko 4. kesäkuuta 2025 12.22
> Vastaanottaja: mapserver-users at lists.osgeo.org <
> mapserver-users at lists.osgeo.org>
> Aihe: [MapServer-users] How to define/declare often used color definitions
> is a "centralized" file
>
> Dear allI am using SYMBOLSET to define often used symbols in my
> Mapfiles.In our environment, we have a limited set of colors, which are
> used for vector portrayal.For example : Brown1245-21 is defined by #F2E9C4I
> have been looking for a similar way as SYMBOLSET to define "variables" for
> often used colors.I noticed that COLOR can be defined by either RGB or hexa
> strings.It can also be defined as: COLOR [MyAttribute]where MyAttribute
> is an attribute of the processed vector objet.In our usecase, this last
> option does not work.Is there a way to declare a set of often used colors
> ?ThanksPhilippeThe information in this e-mail is confidential. The contents
> may not be disclosed or used by anyone other than the addressee. Access to
> this e-mail by anyone else is unauthorised.If you are not the intended
> recipient, please notify Airbus immediately and delete this e-mail.Airbus
> cannot accept any responsibility for the accuracy or completeness of this
> e-mail as it has been sent over public networks. If you have any concerns
> over the content of this message or its Accuracy or Integrity, please
> contact Airbus immediately.All outgoing e-mails from Airbus are checked
> using regularly updated virus scanning software but you should take
> whatever measures you deem to be appropriate to ensure that this message
> and any attachments are virus free.
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20250604/c3e2c7d3/attachment-0001.htm>
More information about the MapServer-users
mailing list