Mike, When I do this using SQL select, it selects all the data inside the polygon, but when I save it and map it, it is only the polygon itself. There is no selected data to be shown, except polygon.
Could you or someone from list let me know what I have forgotten to do? Thanks Ali _____ From: Mike Tonge [mailto:[EMAIL PROTECTED] Sent: 19 September 2005 17:08 To: Ali Zolfaghari Subject: Re: MI-L selecting and triming a rectangular from a tab file You can use a SQL query to select all objects within a polygon which you've drawn into another table (or cosmetic layer) and then save the selection as another table. The commands are: Menu - Query/SQL select Then the options are: Select Columns: * from Tables: Table1, Table2 where Condition:Table1.obj Contains Table2.obj Group by Columns: Order by Columns: intoTableNamed: Selection Where: Table1 is the table with your polygon in. Table2 is the table with the objects that you want to select from. Selection is the name that you want to give to the table containing your trimmed values. Then once you've done the SQL query simply use save copy as to save the new table. Hope this helps Mike Ali Zolfaghari <[EMAIL PROTECTED]> wrote: Hi list, Does anyone know how I can trim some part of a tab file which is fitted in a rectangular or generally any shape? Imagine I have a tab file in MapInfo and want to do analysis on a small area of this tab file, so I need to trim this rectangular, the desired area, from this tab and save it in another table file. Thanks Al --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 17922 _____ To help you stay safe and secure online, we've developed the all new <http://us.rd.yahoo.com/mail/uk/taglines/gmail/security_centre/*http:/uk.sec urity.yahoo.com/> Yahoo! Security Centre.
