Hello Jae, Actually, I'm not sure you should rely on this query in MapBasic! The IntersectNodes() function changed after v4.5 of Pro (when they tinkered with the map object processing). It used to give you a nice polyline representing the topological relationship between two objects and taking the length of the result would make sense. However, it was subsequently changed and now the returned polyline can only be considered a set of points. As such, any object length you can out of it has no meaning and indeed could be unpredictable.
If I've understood what you want to do, wouldn't an "overlap" test be better (assuming you're working with regions)? Regards, Warren Vick Europa Technologies Ltd. http://www.europa-tech.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Behrmann, Jae Sent: 07 June 2006 23:18 To: [email protected] Subject: [MI-L] MapBasic Code to ESRI Conversion MapInfo and ESRI gurus: I'm trying to convert a MapBasic statement to ESRI: select * from theTable where ObjectLen(IntersectNodes(theTable.obj,theObj,INCL_COMMON),"mi")>0.001 'Note theTable is a mappable table and theObj is a variable (graphical object) 'The statement selects all records in the the mappable table that are touching theObj variable, but excludes those records that are just barely touching theObj variable. Please respond if you know how to write this statement within ArcGIS. Any assistance would be appreciated. Thanks, Jae Behrmann **************************************************************************** *********************** The information in this email is confidential and may be legally privileged Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. **************************************************************************** *********************** _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
