Hi Andrew!

I cannot say if your proposition is feasible, but fear that it also would 
require a tedious loop process.

I am thinking of a somewhat more drastic approach (be sure to backup your 
data)

I am assuming that the current symbology can be wasted
1 Get the coordinate values for each and all points into an x and y column 
in the table (be sure to set the correct coordinate system)
2 Drop all the geographic objects
3 Make the necessary subselects and then run a CreatePoint function on 
each subselect in turn.

H�lsning/ Best regards Mats.E
________________________
FB Engineering AB
S�dra F�rstadsgatan 26
211 43 Malm�

Tel: 040-665 64 80
Mobil: 0705-27 60 27
Fax: 040-665 69 90
e-post: [EMAIL PROTECTED]
http://www.fbe.se




"Canfield, Andrew" <[EMAIL PROTECTED]> 
2004-06-01 15:58

Till
MapInfo-L <[EMAIL PROTECTED]>
Kopia

�rende
MI-L Set multiple object symbols quickly?






Is there a quick way to set the symbol for a large selection of objects
using MapBasic? 

                 Here is my problem: I have a series of tables, in each of 
these
tables I have multiple point object groups, they are grouped by a field
called "type" in my MapBasic I select all from that table where the "type"
like "x".
                 Currently I loop through the selection and set each row's 
object
symbol to what I want it to be. This is horrendously slow considering 
there
can be 100,000+ objects for each selection I run on the table and there 
can
be 15 to 20 different "type"'s within the table. 
                 So I'm wondering if there is a MapBasic statement where I 
could do
something along the lines of "Set Symbol = MakeSymbol(1,1,255) Where 
(Select
* From MyTable Where Type Like X)" 

A sort of sub query to set the symbol on a mass selection? Does something
like this exist or is there only one way to do this?

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




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

Reply via email to