Color schemes thread

These forums are specific to the Waze mobile app. Post here if you experienced a problem while using the app, have a question about the app functionality or a feature such as navigation or search.

Moderators: Unholy, bextein

Re: Color schemes thread

Postby Dave2084 » Tue Oct 02, 2012 7:40 pm

I've been playing with some colour schemes today for the first time in over a year now that I've worked out how to upload them onto an un-jailbroken iOS6 iPhone ...

After poking around I have a question:

Most colours are RGB hex like this:
Code: Select all
Ramps.Color2: #f8f8f8


However a small number have 8 digits:
Code: Select all
Ramps.Color1: #bfc9bd00


What do the extra two digits do (transparency?) and is the RGB the first or last 6?
iPhone 6S Plus (Jailed) • iOS 9.3.3 • Waze 4.10
Level 6 Editor • Lincolnshire Area Manager • UK Country Administrator • iOS Beta Tester
UK WikiUK ForumWaze UK on FacebookBecome a UK Area ManagerWaze Status
Dave2084
Global Champs Localizers
Global Champs Localizers
 
Posts: 2411
Joined: Tue Feb 09, 2010 12:58 am
Location: Lincoln, UK
Has thanked: 384 times
Been thanked: 372 times

Re: Color schemes thread

Postby gerben » Tue Oct 02, 2012 11:12 pm

IIRC, the last 2 digits of the 8-digit one are always zero. Not sure what the difference is...
Nokia Lumia 920 (WP8 3.7.6 client)
Countrymanager The Netherlands
ImageImageImageImage
gerben
 
Posts: 4783
Joined: Sun Dec 13, 2009 10:42 pm
Location: Almelo
Has thanked: 33 times
Been thanked: 194 times

Re: Color schemes thread

Postby AlanOfTheBerg » Wed Oct 03, 2012 3:35 am

Dave2084 wrote:What do the extra two digits do (transparency?) and is the RGB the first or last 6?

I asked this a long time ago and got a not-very definitive answer. I'll go look to see if I have it anywhere, but I rather doubt it.

EDIT: Here is the answer I was given by Dror. I don't think he asked anyone, so this could be completely wrong:
Dror wrote:As far as I know, adding the "00" at the end of the color code, deactivate the parameter. For example, cities and airports defined under "Stations", therefore there is no use of the specific color for each - they get the same gray as "stations".
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Country Manager | iPhone6 - VZ - iOS 9.3.2 | Waze v4.7.0.1
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23480
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1085 times
Been thanked: 4610 times

Re: Color schemes thread

Postby Dave2084 » Wed Oct 03, 2012 5:25 am

If did find some notes by shalafi from a post in May 2010 in a text file I had:

shalafi wrote:some properties also have an alpha value specified (Cities #xxxxxx00, changing the alpha to #xxxxxxff will show the City area)


So, one could deduce that 00=off and ff=on ...

However in the new day colour scheme for the v3.5 beta we have the following value:
Code: Select all
Labels.BgColor: #faf8f5dd


And Map editors had:
Code: Select all
Labels.BgColor: #ffffffbf


Does the Labels.BgColor get used in the v3.x client?
iPhone 6S Plus (Jailed) • iOS 9.3.3 • Waze 4.10
Level 6 Editor • Lincolnshire Area Manager • UK Country Administrator • iOS Beta Tester
UK WikiUK ForumWaze UK on FacebookBecome a UK Area ManagerWaze Status
Dave2084
Global Champs Localizers
Global Champs Localizers
 
Posts: 2411
Joined: Tue Feb 09, 2010 12:58 am
Location: Lincoln, UK
Has thanked: 384 times
Been thanked: 372 times

Re: Color schemes thread

Postby shalafi » Wed Oct 03, 2012 5:54 pm

The last two digits are definitely some kind of opacity / alpha controls.

Labels.BgColor is used - it's the font outline for Road names, City names, etc.

You can try changing the Labels.BgColor from FF0000FF to FF000000 in a few steps and observe the red outlines fade away in the client.
CM Slovakia / L6
Image
shalafi
Beta tester
Beta tester
 
Posts: 1772
Joined: Wed Nov 25, 2009 2:08 pm
Location: Bratislava / Levice, Slovakia
Has thanked: 268 times
Been thanked: 207 times

Re: Color schemes thread

Postby FreeMan12 » Thu Oct 04, 2012 6:08 pm

OK, I must be missing something pretty big.

I just copied in AlanOfTheBerg's scheme that was posted back on pg 3. I carefully cut'n'pasted just the color definition lines, and carefully matched up parameter names so I could ensure that I was getting them in the right places, but my screen looks nothing like his.
CAP201210041355.png
CAP201210041355.png (131.72 KiB) Viewed 5641 times

Note, something odd is happening to the colors when they're posted here - they don't look anywhere near so sickly green either on my device or when I look at them from the PC. It even looks ugly when I uploaded it to Photobucket. Not sure what's going on. Net result, I'm not getting blue interstates, etc as AOTB showed in his pics.

Now, I did leave the *.DeltaX: values and *.Thickness: values alone. I wanted to see how the colors looked with the current road widths before I made them narrower, but the colors don't seem to be showing up as changed.

Here is the schema file, in case I've done something very obviously (to everyone else) wrong.
Code: Select all
############################
#                          #
#      NIGHT SCHEME        #
#                          #
############################

# GENERAL ###########

Map.Background: #021E23
Labels.Color: #D1D0A6
Labels.BgColor: #163349

Console.Foreground: #000000
Console.Background: #e6f3fb



# ROADS ##############

Freeways.Class: Road
Freeways.Color: #6F8988
Freeways.Color1:#516C6D
Freeways.Color2: #555e69
Freeways.Declutter: 2147483647
Freeways.Delta1: -4
Freeways.Delta2: -4
Freeways.Thickness: 8

Primary.Class: Road
Primary.Color: #4D6B6B
Primary.Color1: #405759
Primary.Color2: #555e69
Primary.Declutter: 4000
Primary.Delta1: -4
Primary.Delta2: -4
Primary.Thickness: 6

Secondary.Class: Road
Secondary.Color: #4D6B6B
Secondary.Color1: #405759
Secondary.Color2: #555e69
Secondary.Declutter: 1500
Secondary.Delta1: -4
Secondary.Delta2: -4
Secondary.Thickness: 5

Ramps.Class: Road
Ramps.Color: #4D6B6B
Ramps.Color1: #405759
Ramps.Color2: #555e69
Ramps.Declutter: 160
Ramps.Delta1: -2
Ramps.Delta2: -2
Ramps.Thickness: 3

Exit.Class: Road
Exit.Color: #4D6B6B
Exit.Color1: #405759
Exit.Color2: #555e69
Exit.Declutter: 350
Exit.Delta1: -2
Exit.Delta2: -2
Exit.Thickness: 3

Highways.Class: Road
Highways.Color: #4D6B6B
Highways.Color1:#405759
Highways.Color2: #555e69
Highways.Declutter: 350
Highways.Delta1: -5
Highways.Delta2: -5
Highways.Thickness: 4

Streets.Class: Road
Streets.Color: #557882
Streets.Color1: #162F33
Streets.Color2: #555e69
Streets.Declutter: 120
Streets.Delta1: -2
Streets.Delta2: -2
Streets.Thickness: 2

Pedestrian.Class: Road
Pedestrian.Color: #1E393A
Pedestrian.Declutter: 160
Pedestrian.Delta1: 0
Pedestrian.Thickness: 1

4X4 Trails.Class: Road
4X4 Trails.Color: #1E393A
4X4 Trails.Declutter: 160
4X4 Trails.Delta1: 0
4X4 Trails.Thickness: 1

Trails.Class: Road
Trails.Color: #1E393A
Trails.Declutter: 160
Trails.Delta1: 0
Trails.Thickness: 1

Walkway.Class: Road
Walkway.Color: #1E393A
Walkway.Declutter: 160
Walkway.Delta1: 0
Walkway.Thickness: 1


# AREAS ##############

Stations.Class: Area
Stations.Color: #23383F
Stations.Delta1: 0
Stations.Thickness: 1
Stations.LabelDeclutter: 100
Stations.LabelColor: #247190

Cities.Class: Area
Cities.Color: #ff000000
Cities.Color1: #ff000000
Cities.Declutter: 2147483647
Cities.Delta1: 1
Cities.Thickness: 100
Cities.LabelColor: #fffff1

Airports.Class: Area
Airports.Color: #bebebe
Airports.Declutter: 200
Airports.Delta1: 0
Airports.Thickness: 1

Hospitals.Class: Area
Hospitals.Color: #fffa73
Hospitals.Declutter: 200
Hospitals.Delta1: 0
Hospitals.Thickness: 1

Malls.Class: Area
Malls.Color: #ff000000
Malls.Color1: #ff000000
Malls.Declutter: 2147483647
Malls.Delta1: 1
Malls.Thickness: 100

Parks.Class: Area
Parks.Color: #5B724E
Parks.Declutter: 200
Parks.Delta1: 0
Parks.Thickness: 1
Parks.LabelDeclutter: 100
Parks.LabelColor: #60a831

Lakes.Class: Area
Lakes.Color: #38869E
Lakes.Declutter: 1300
Lakes.Delta1: 0
Lakes.Thickness: 1

Sea.Class: Area
Sea.Color: #38869E
Sea.Declutter: 2147483647
Sea.Delta1: 0
Sea.Thickness: 1
Sea.LabelDeclutter: 100
Sea.LabelColor: #b2d8ff

Shore.Class: Feature
Shore.Color: #5c95cd
Shore.Declutter: 2147483647
Shore.Delta1: 0
Shore.Thickness: 2

Rivers.Class: Feature
Rivers.Color: #38869E
Rivers.Declutter: 300
Rivers.Delta1: 0
Rivers.Thickness: 3


# OTHER ##############

Navigation.RouteColor: #BF5CFF
Navigation.PossibleRouteColor: #00ccff
Navigation.StopPointColor: #ff8cf6


This file is: \mnt\sdcard\waze\skins\default\night\schema

Also, I noticed the *.Declutter: values. Interstates are set to a huge number which seems to indicate that they'll never go away. If I play with the numbers for streets, will they stick around at higher speeds? Where I live, we have a lot of county roads that really shouldn't be anything more than "street", yet the speed limits are 45-55MPH, and are commonly traveled faster than that. Of course, they disappear at those speeds. I'd like to make 'em come back again! ;)
Samsung Galaxy S5 w/root

Indiana
FreeMan12
 
Posts: 178
Joined: Sun Jul 11, 2010 4:53 am
Has thanked: 1 time
Been thanked: 0 time

Re: Color schemes thread

Postby shalafi » Thu Oct 04, 2012 6:17 pm

depends on what your display type is - tft, slcd, amoled, samoled .. the color presentation can vary wildly between the display types and even between different displays of the same type.

=sent from my OneS=
CM Slovakia / L6
Image
shalafi
Beta tester
Beta tester
 
Posts: 1772
Joined: Wed Nov 25, 2009 2:08 pm
Location: Bratislava / Levice, Slovakia
Has thanked: 268 times
Been thanked: 207 times

Re: Color schemes thread

Postby AlanOfTheBerg » Thu Oct 04, 2012 6:20 pm

FreeMan12 wrote:OK, I must be missing something pretty big.

I just copied in AlanOfTheBerg's scheme that was posted back on pg 3. I carefully cut'n'pasted just the color definition lines, and carefully matched up parameter names so I could ensure that I was getting them in the right places, but my screen looks nothing like his.

Did you use the post from September? Because that is the right one. The other one, I don't know what happened.
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Country Manager | iPhone6 - VZ - iOS 9.3.2 | Waze v4.7.0.1
AlanOfTheBerg
Waze Global Champs
Waze Global Champs
 
Posts: 23480
Joined: Sat Aug 28, 2010 8:48 pm
Location: US Country Manager - Oregon, USA
Has thanked: 1085 times
Been thanked: 4610 times

Re: Color schemes thread

Postby gerben » Thu Oct 04, 2012 11:23 pm

IIRC, Declutter affects the number of roadnames visible on the screen. It does nothing about the amount of segments that are shown at different zoom levels.
Nokia Lumia 920 (WP8 3.7.6 client)
Countrymanager The Netherlands
ImageImageImageImage
gerben
 
Posts: 4783
Joined: Sun Dec 13, 2009 10:42 pm
Location: Almelo
Has thanked: 33 times
Been thanked: 194 times

Re: Color schemes thread

Postby FreeMan12 » Fri Oct 05, 2012 12:34 am

AlanOfTheBerg wrote:
FreeMan12 wrote:OK, I must be missing something pretty big.

I just copied in AlanOfTheBerg's scheme that was posted back on pg 3. I carefully cut'n'pasted just the color definition lines, and carefully matched up parameter names so I could ensure that I was getting them in the right places, but my screen looks nothing like his.

Did you use the post from September? Because that is the right one. The other one, I don't know what happened.


Aargh! That was it, I grabbed the Feb post. I've got a copy of the Sept post now, and I'll feed that in.
Samsung Galaxy S5 w/root

Indiana
FreeMan12
 
Posts: 178
Joined: Sun Jul 11, 2010 4:53 am
Has thanked: 1 time
Been thanked: 0 time

PreviousNext

Return to Waze App

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]