View Single Post

  #4 (permalink)  
Old 05-11-2004
Winwaed's Avatar
Winwaed Winwaed is offline
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 916
Blog Entries: 11
Well, started to work with this properly and there are a couple of problems.

The first is that the image in the samples directory that gives the standard 45 colours isn't quite right. I've read the colours into my code, and five of them come up as duplicates when I try to draw MapPoint polygons with them.
For the record, they are: (RGB, byte components)

0x57,0x92,0x05 and 0x79,0xA8,0x38 both duplicate 0x80,0x80,0x00
(2 greens appear as a "muddy" colour aka dk yellow)

0x9B,0xBE,0x6A duplicates a pale grey (0x96,0x96,0x96)
0xBD,0xD4,0x9C duplicates palest grey (0xC0,0xC0,0xC0)

0xFB,0xFB,0xAB duplicates 0xFF,0xFF,0x99 (pale yellows)

5 duplicates, gives us 40 unique colours.


The next 'problem' is my attempt to duplicate MapPoint's internal colour schemes. This is flawed because these schemes use a wider range of colours than the deliberately limited "user colours".
(they're deliberately limited to minimise clashes and palette problems).

So I'm just going to come up with a handful of my own colour schemes.
Eventually the program I'm working on will allow the user to design their own colormap.

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
Reply With Quote