Skip to main content

 

i have lines and points ,both of them as input .

i want to find which lines intersectes with points and which not

and show me the id of each station that line intersected so i tried by point on line layer and neighbor finder

and it find correct data of overlapped point but i have still problem,

when one line intersected with two points ,the output that i got only id of this line and and overlap 2 and name one of the two station .it did not show me the 2 stations that line intersected

so i noticedthat it checked only by xmin and ymin of the line which point intersected . this is the station that it has chosen and another point at end of the line ,it did not show me bcs it is xmax and ymax

but the line intersected with 2 point as the output said 2 overlap,so how could i solve this problem .

and i get id of each 2 point

and i tried also neighbor finder but both of them works with xmin ymin close candidate

how could i let both of them work with xmin ymin and also x max y max

bcs it means also if i have point intersects in three lines some of them it considered some not bcs one of them may be is xmax y max not xmin ymin .

 

i hope if someone can help me ,how could i solve this problem

Thanks alot

I think what you want is to allow lists to be generated. Use the NeigborFinder, Set number Neigbors to find to be empty, set distance as you like (0.01) and then at the bottom under Attribute Accumulation check Generate List and select the attributes form the points you want included (e.g., StationID). It's a little slow but this should give you what you want.

 

You can then use the ListExploder to get the individual points with the matching Line IDs.

 

 


I think what you want is to allow lists to be generated. Use the NeigborFinder, Set number Neigbors to find to be empty, set distance as you like (0.01) and then at the bottom under Attribute Accumulation check Generate List and select the attributes form the points you want included (e.g., StationID). It's a little slow but this should give you what you want.

 

You can then use the ListExploder to get the individual points with the matching Line IDs.

 

 

thanks alot for ur answer


Reply