Title: Message
Chris,
 
You can always create a polygon from your circle and use this to select the objects with. This can be done thru SQL:
 
oCircle = Buffer(CreatePoint(X,Y), 24, fRadius, "m")
 
Select * From MYTABLE
    Where OBJ Within oCircle
    Into Selection
 
You can of course use Entirely Within or Intersects in stead of Within - depending on your requirements.
 
As far as I remember you can also thru MapX (and MapXtreme2004 ?) do a dynamic selection with a circle, where the selection changes when you make the circle smaller og bigger

Peter Horsbøll Møller
GIS Developer, MTM
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis

"For enden af regnbuen..." - hvordan kommer man dertil og er det overhovedet muligt?
Læs mere om årets MapInfo konference på www.cowi.dk/mapinfokonference

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christophe Brabant
Sent: Tuesday, July 25, 2006 4:32 PM
To: [email protected]
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
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to