Simon - 

We do exactly this by building up MapBasic Shade statements by looping a
table and retrieving the style values into a string - then issuing 'Run
Command' (actually the VB equiv.) Don't know if you can do it directly as
you are outlining - however the speed is fine and its simple to debug.

HTH

Paul Crisp

Syntegra
Innovation Place Delta Bank Road Newcastle NE11 9DJ
Tel 0191 461 4522 Fax 0191 460 1987


-----Original Message-----
From: Simon Helyar [mailto:[EMAIL PROTECTED]]
Sent: 17 December 2002 10:43
To: [EMAIL PROTECTED]
Subject: MI-L Help With Thematic Mapping


Hi,

Does anyone know if it possible to create thematics based on a set of Symbol
defintions within a table or array ?

I am trying to write a MapBasic routine to create thematic maps based on
objects with PointInd values but 
using a set of predefined symbols (stored in a table or array) to represent
the Symbol styles.  For example, the 
following information exists within a table :

TABLE 1 : Data
Column A        Column B
A               TYPE A
B               TYPE B
C               TYPE C
D               TYPE A
E               TYPE B

I want to create the thematics based on Column B, where the Symbol styles
are taken from the definition
within a seperate table, in this example Symbol Styles below.  

Table 2 : Symbol Styles
Column A        Column B
TYPE A          RED TRIANGLE            (Style - 36, 16711680, 12)
TYPE B          BLUE SQUARE             (Style - 32, 255 ,12)
TYPE C          GREEN CIRCLE    (Style - 34, 65280, 12)

The ultimate goal being for the user to be able to edit the Symbol Styles
table, define the symbol styles in Column B
and thereby create their own customised thematics.

Does anyone know if this is possible ??

Regards,

S Helyar





---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4572


********************************************************************

This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.syntegra.com

********************************************************************

Reply via email to