RE: MI-L MI7:Selecting objects with same color attribute

2003-03-17 Thread Young Andrew
Axel,

The basic sql statements depend on wether you are querying lines or polygons.
The basic query command is Str$(ObjectInfo(Obj,x))=y)
For x - use 2 to query the line style and 3 to query the fill style
For y - Use either:
Pen(a,b,c) for line queries, where a=width (1 being the narrowest), b=pattern (1-77 
corresponding to the patterns on the linestyle menu), c=colour (0=black, 16711680=red)
or
Brush(a,b,c) for polygon queries, where a=pattern, b=foreground colour, c=background 
colour.

The easiest way to find out the codes for your colours, patterns etc is to label your 
objects using the expression Str$(ObjectInfo(Obj,2))

Hope this helps
Andrew Young
Durham City Council

-Original Message-
From: Bergmann, Axel [mailto:[EMAIL PROTECTED]
Sent: 13 March 2003 15:52
To: '[EMAIL PROTECTED]'
Subject: MI-L MI7:Selecting objects with same color attribute


Hi group,

is there any chance (sql-statement?) to select multiple objects in a MapInfo
7 table, that have no other similarities than the same color?
Any help will be appreciated

With kind regards,

Axel Bergmann
[EMAIL PROTECTED]

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

This email and its attachments are intended for the addressee only and may be 
confidential or the subject of legal privilege. If this email and its attachments have 
come to you in error,  you must take no action based on them, nor must you copy them, 
distribute them or show them to anyone. Please contact the sender to notify us of the 
error.  

Durham City Council accept no liability for, and shall not be legally bound by, the 
contents of this email. No assurances are given as to the authority of the sender to 
act on the Council’s behalf and the views expressed within this email may not be 
official Council policy but instead the personal views of the distributor. 
This email and any attached files have been scanned for the presence of computer 
viruses however, you are advised that Durham City Council bears no liability for 
attachments and you therefore open any attachments at your own risk.


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

MI-L MI7:Selecting objects with same color attribute

2003-03-13 Thread Bergmann, Axel
Hi group,

is there any chance (sql-statement?) to select multiple objects in a MapInfo
7 table, that have no other similarities than the same color?
Any help will be appreciated

With kind regards,

Axel Bergmann
[EMAIL PROTECTED]

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



MI-L RE : MI-L MI7:Selecting objects with same color attribute

2003-03-13 Thread Simon Roy
The mbx select by drawing style is very useful for that kind of query, but
you can query only one table at the same time.

I think you can find it on the directions mag web site.

Simon Roy

GIS Specialist
Carto-Média, Environnement Illimité
Montreal, Qc.
tel.:514-849-7281
fax.:514-849-6770
email : [EMAIL PROTECTED]




-Message d'origine-
De : Bergmann, Axel [mailto:[EMAIL PROTECTED] 
Envoyé : 13 mars, 2003 10:52
À : '[EMAIL PROTECTED]'
Objet : MI-L MI7:Selecting objects with same color attribute


Hi group,

is there any chance (sql-statement?) to select multiple objects in a MapInfo
7 table, that have no other similarities than the same color?
Any help will be appreciated

With kind regards,

Axel Bergmann
[EMAIL PROTECTED]

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




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