Title: Message

Why not converttoregion(circle) and search with resulting polygon?

 

Jacques

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Driver, Greg 9434
Sent: 26 juillet 2006 04:20
To: 'Christophe Brabant'; mapinfo-l@lists.directionsmag.com
Subject: RE: [MI-L] SerachInfo, SearchRect and SearchPoint or .....something else ?

 

Chris,

 

You could always use the MBR of the circle and then use this in the SearchRect() function.  You can then use SearchInfo() function to return the Table/RowID of objects found within the search area and then test to see if these objects do fall within the radius of circle.

 

Greg Driver

System Administrator
Applications Support
ICT
NOT PROTECTIVELY MARKED

-----Original Message-----
From: Christophe Brabant [mailto:[EMAIL PROTECTED]
Sent: 25 July 2006 15:32
To: mapinfo-l@lists.directionsmag.com
Subject: [MI-L] SerachInfo, SearchRect and SearchPoint or .....something else ?

Hi

 

There are at least 4 selection modes on a map :

 

- by clicking a point (SearchPoint(x,y))

- by selecting a rectangle (SearchRectangle(x1,y1,x2,y2)

- by selecting all the objects included into a closed polygon

- by selecting a circle with a variable radius : in this case, how to query (by program) the objects included into the circle ? Not with SearchPoint, not with SearchRect, ????????????????

 

Thank you

 

Chris



Internet communications are not secure and therefore Surrey Police does not accept legal responsibility for the contents of this message. This email and any attachments may be confidential. They may contain privileged information and are intended for the named addressee (s) only. They must not be distributed without our consent. If you are not the intended recipient, please notify us immediately and delete the message and any attachments from your computer, do not disclose, distribute, or retain this email or any part of it. Unless expressly stated, opinions in this email are those of the individual sender, and not of Surrey Police. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking. Surrey Police reserves the right to monitor all email communications through their networks.



_______________________________________________
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to