MI MB: intersecting line with polygon

2000-06-08 Thread Jean-Francois Lepine



Hi,
 
I have a table with many polygons and an object 
variable containing a polyline. I'd like to know, for each polygon intersected 
by the polyline, the length of the part of the line that falls within 
it.
 
Is it possible to achieve that through 
MB?
 
thanks in advance,
 
Jeff Lepine
[EMAIL PROTECTED]


MI: Overlapping labels problem

2000-05-04 Thread Jean-Francois Lepine



Hello, Is there a 
function in MB that can determine if a label object overlap another one (kind of 
a boolean function)? I'm asking 'cause I have a 
layer with overlapping labels and don't want to show them(I know that I can set 
overlapping to off, but then one of the two or three overlapping labels will 
still be visible, exactly what I'm trying to avoid). In fact, the only visible 
labels I want are those who don't overlap with any other. In my idea, if I can use a true/false function, I can 
then use a condition in which I would specify to show only the labels with a 
false value. I tried to read through the MB 
docs, but didn't find anything satisfying. So, if you have any idea how to 
achieve that (or have another way to achieve the same result), it would be 
gladly appreciated. Thanks in advance for 
answering, Jeff 
Lepine


MI MB: Querying overlapping labels

2000-04-28 Thread Jean-Francois Lepine



Hello,
 
Is there a function in MB that can determine if a 
label object overlap another one (kind of a boolean function)?
 
I'm asking 'cause I have a layer with overlapping 
labels and don't want to show them(I know that I can set overlapping to off, but 
then one of the two or three overlapping labels will still be visible, exactly 
what I'm trying to avoid). In fact, the only visible labels I want are those who 
don't overlap with any other.
 
In my idea, if I can use a true/false function, I 
can then use a condition in which I would specify to show only the labels with a 
false value.
 
I tried to read through the MB docs, but didn't 
find anything satisfying. So, if you have any idea how to achieve that (or have 
another way to achieve the same result), it would be gladly 
appreciated.
 
Thanks in advance for answering,
 
Jeff Lepine


MI/MB: Text object orientation

2000-04-27 Thread Jean-Francois Lepine



Hi,
 
I had to import a .e00 file containing text 
objects. Many of them had an orientation. Now, I need to know this orientation 
so I can put it in a new field which will be used later for labeling 
purpose (in order to give the labels the same orientation as the text objects). 

 
So, my question is: How can I achieve that through 
MapInfo or MapBasic?
 
Thanks in advance for your answers,
Jeff Lepine
[EMAIL PROTECTED]