Hi Ali, If you open the MapBasic window in MI Pro and run an SQL query for a count, you get:
Select Count(*) from Points_tab, Polygon_tab where Points_tab.Obj Within Polygon_tab.Obj into Selection This will give you the number of points within a polygon. I hope this helps get you started. Don Mitchell -----Original Message----- From: Alireza [mailto:[EMAIL PROTECTED] Sent: September 15, 2004 9:46 AM To: [EMAIL PROTECTED] Subject: MI-L How can I count number of points in a region? Hi Does any one know how I can count number of points in a region using Mapbasic in Mapinfo?? Thanks Ali --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 13347
