Lars MapX has a layer property that gives you this info as a FeatureTypeConstant - try that instead of MI/MapBasic if thats all you're doing.
You can also use begin/end transaction to loop the features in a layer more quickly. If you HAVE to use MapBasic how about a query on the layer grouping by Object type? HTH Paul Crisp Syntegra Innovation Place Delta Bank Road Newcastle NE11 9DJ Tel 0191 461 4522 Fax 0191 460 1987 -----Original Message----- From: Lars V. Nielsen [mailto:[EMAIL PROTECTED]] Sent: 29 November 2002 14:21 To: [EMAIL PROTECTED] Subject: MI-L Dominant feature type ? Hi List, Has anyone developed a performance efficient way of determining the dominant feature type of a table ? I'm moving MI data to the Arc'ish side, and need to automatically convert into single-topology layers. Querying with Area() and ObjectLen() is not an option. It's simply too slow and ineffeicient. Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg, Odense Denmark http://www.hvm.dk ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ********************************************************************
