Hello Agustin

Try using...

        CentroidX(A.obj)=CentroidX(B.obj) And CentroidY(A.obj)=CentroidY(B.obj)

       ...on Where clause of SQL select.

Regards,
        Anssi

At 10:53 1.3.1999 +0100, you wrote:
>Hi everybody,
>
>I have two lists:
>- list A are polylines (land cover boundaries)
>- list B are points (codes for the land cover characteristics, these points
are located in the same position as the centroids of polylines from list A)
>
>I nee to select the polylines from attributes in the points list. I was
using SQL, selecting the B.obj's that contain A.obj's with the desired
attributes. The results: no element was selected. I believe no elements were
returned because polylines are "open" and not contain anything.
>
>Does anybody knows how I can select these polylines based on points attributes?
>
>Thanks for your help.
>
>Agustin
>______________________________________
>Prof. Agustin Estrada-Pena
>Dept. of Animal Pathology (Parasitology)
>University of Zaragoza (Spain)
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
><HTML>
><HEAD>
>
><META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
><META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
></HEAD>
><BODY bgColor=#ffffff>
><DIV><FONT color=#000000 face=Arial size=2>Hi everybody,</FONT></DIV>
><DIV><FONT color=#000000 face=Arial size=2></FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2>I have two lists:</FONT></DIV>
><DIV><FONT face=Arial size=2>- list A are polylines (land cover 
>boundaries)</FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2>- list B are points (codes for the land cover 
>characteristics, these points are located in the same position as the
centroids 
>of polylines from list A)</FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2>I nee to select the polylines from attributes in 
>the points list. I was using SQL, selecting the B.obj's that contain A.obj's 
>with the desired attributes. The results: no element was selected. I
believe no 
>elements were returned because polylines are &quot;open&quot; and not contain 
>anything.</FONT></DIV>
><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2>Does anybody knows how I can select these
polylines 
>based on points attributes?</FONT></DIV>
><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2>Thanks for your help.</FONT></DIV>
><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
><DIV><FONT face=Arial size=2>Agustin</FONT></DIV>
><DIV><FONT color=#000000 face=Arial 
>size=2>______________________________________<BR>Prof. Agustin 
>Estrada-Pena<BR>Dept. of Animal Pathology (Parasitology)<BR>University of 
>Zaragoza (Spain)</FONT>&nbsp;</DIV>
><DIV><FONT color=#000000 face=Arial
size=2><BR></FONT>&nbsp;</DIV></BODY></HTML>
>

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to