I think this should be:

select * from points where CentroidX(obj) = 89 and CentroidY(obj) = 43

Regards,
Warren Vick
Europa Technologies Ltd.
http://www.europa-tech.com

-----Original Message-----
From: Ben A Greenberg [mailto:[EMAIL PROTECTED] 
Sent: 18 July 2005 21:25
To: Tom Halbrook; [email protected]
Subject: RE: MI-L Search and find by LAT-LON


You should be able to query a point using SQL.  Just use the Centroid(X) or
Centroid(Y) functions in the WHERE clause.

example:
select * from points where Centroid(X) = 89 and Centroid(y) = 43

Ben  Greenberg
GIS Coordinator
NAI MLG Commercial
262-797-9400


-----Original Message-----
From: Tom Halbrook [mailto:[EMAIL PROTECTED]
Sent: Monday, July 18, 2005 3:16 PM
To: [email protected]
Subject: MI-L Search and find by LAT-LON


Hello Listers.  Does anyone know of a MapBasic program to find a specific
LAT-LON point on a MapInfo map by entering the coordinates to initiate a
search?



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




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

Reply via email to