Jump to content

Change color for TMA boundaries


Jan Naslund (812053)

Recommended Posts

Jan Naslund (812053)

Hi,

I have tried to change the color for the TMA Boundaries in Sweden ESAA. At the moment the lines are a dark blue and i have a little trouble seeing them correctly so i thought i'd change the color to something brighter. 
I identified that the TMA boundaries are under ARTCC high boundary in the display settings dialog and i unchecked the box for all of them and they disappeared from my screen. I check the box and they are back.
I go to the Symbology dialog and i select "line" under ARTCC high boundary and i change the color to red. Just to test it but when i click Apply, nothing has changed. The lines are still dark blue. I restarted ES as well but it's still the same.

Is there something i am missing?
 

Display_settings_ARTCC_High_Boundary.png

Symbology_settings_ARTCC_High_Boundary.png

Link to comment
Share on other sites

Hakan Schulz (937154)

Colors are hardcoded in the EuroScope sectorfile.

For example ESAA-Sweden_2031102221019-231101-0002.sct

#define COLOR_TMA 10770263

image.png.c7aa74614ffefb5a4cc3d2b44b557ac8.png

The value is calculated using the formula:

        (BLUE x 65536) + (GREEN x 256) + RED

If you want a certain color you can use:
https://webtools.kusternet.ch/color

to pick the color you want and read the Int value.

image.png.4ca6681d379a74dfcc8d9d7328f900e4.png

The value needs to be typed into the sectorfile:

#define COLOR_TMA 15000804

The sectorfile needs to be saved and EuroScope restarted to see the change.

image.png.033a9a640a50201f184eec1b792a5d41.png

When the sector file is updated the changes are set back to the hardcoded default values again.

 

Link to comment
Share on other sites

Jan Naslund (812053)

Tack Håkan!

Mycket tacksam! :)

EDIT: Hittade den här sajten Hex Color picker - Color Picker (colors-picker.com)

Där kan man välja färg från en palett och få fram hex-koden. Sen kan man lägga in hex-koden i https://webtools.kusternet.ch/color
och få fram integer-värdet som man kan skriva in i .sct filen.

Mvh /Janne

Edited by Jan Naslund (812053)
Link to comment
Share on other sites

Martin Loxbo (811805)

Glöm bara inte att uppdatera sektorfilen när nya filer kommer. Det sker ju mer eller mindre varje månad.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

When visiting this site, only cookies that are strictly necessary for you to use the website is being used, unless you have provided further consent. Read more in our Privacy Policy