Hi Frank,
 
I have got to approximately 256 colours automatically but even then they
start to look the same.
As I am sure that you know Mapinfo colours consist of Red/Green/Blue
combinations.  Red can be 0-255, Green 0-255 Blue 0-255.  Using the BCD
method (Binary Coded Decimal) method allowing each colour to be either 0,
64, 128, 255 that is 4 states per colour.  So now imagine your colour table
 
Red    Green    Blue
0        0            0
0        0            64
0        0            128
0        0            255
0        64            0
0        64           128
.        .              .
.        .              .        And so on.    
If you expand on that concept it may work for you.  I use 3 variables and
rotate through those to get the combinations.  In my application I do not
know how many different colours are needed until it runs, so the code
automatically picks16, 32, 64, 128 or 256 options with the widest variation
of colours for each.
 
Hope this helps,
Mark Crompton

-----Original Message-----
From: Frank Tanser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 07, 1999 1:20 AM
To: [EMAIL PROTECTED]
Subject: MI automatic assigning of different symbols



I have a file consisting of about 16000 objects with about 600 different
qualitative values in one particular field.  Does anyone know of an
application that will automatically assign each group of objects a different
coloured symbol based on its value in the field.  If the application can
assign a random colour to each group of objects without me having to select
a colour each time so much the better.

 

Any help appreciated.

 

Frank

______________________________________________________________

Frank Tanser

GIS Specialist

Africa Centre for Population Studies and Reproductive Health

PO Box 198

Mtubatuba

3935

South Africa

 

Tel: +27-35-5500158

Fax: +27-35-5501674

E-mail: [EMAIL PROTECTED]

 

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to