Martin Sprenz asked:
> I'm looking for a Query that would select all the polygons that border a
> selected or given polygon.  Is there a function that could achieve this
result?

The answer you need is

select * from My_Table where obj intersects (select obj from selection)

The operator for geographic selection [from MapBasic help] are defined as
follows
objectA  Contains  objectB first object contains the centroid of second
object
objectA  Contains Part  objectB first object contains part of second object
objectA  Contains Entire objectB first object contains all of second object
objectA  Within objectB first object's centroid is within the second object
objectA  Partly Within objectB part of the first object is within the second
object
objectA  Entirely Within  objectB the first object is entirely inside the
second object
objectA  Intersects  objectB the two objects intersect at some point [my
defination is "touch" at some point"

Trey Pattillo
[EMAIL PROTECTED]
http://www.wa3.com



----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to