Skip to main content
Solved

how could i convert the function of pointonlineOverlayer and neighbor finder transformer to work with both of coordinates,minimum and max. coordinate instead of only minimum coordinate


gogopotter90
Contributor
Forum|alt.badge.img+13

 

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

Best answer by virtualcitymatt

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.

 

 

View original
Did this help you find an answer to your question?

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+39

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.

 

 


gogopotter90
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • April 2, 2020
virtualcitymatt wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings