Skip to main content

Hi guys,

 

I am trying to create " cross lines" between 2 points. I just got the lines in black that u can see in the capture. But I wan to get the red lines. Can u help out please?

 

Hi @delgadojeaneth,

Have you already had a look at the LineBuilder transformer? Part 2 from this tutorial shows the LineBuilder in action. You'll want to first filter out Point A and B, either by a Tester to filter for those points, or if your points don't already have an ID, you can use a Counter to create unique IDs for each point before building the line. Hope that helps!


Hi @delgadojeaneth,

Have you already had a look at the LineBuilder transformer? Part 2 from this tutorial shows the LineBuilder in action. You'll want to first filter out Point A and B, either by a Tester to filter for those points, or if your points don't already have an ID, you can use a Counter to create unique IDs for each point before building the line. Hope that helps!

Thanks for your advice. However, I have two problems.

1.I have a "old version" 2016.1 of FME, so I do no have LineBuilder tool.

2. . I have an ID in my data, however the ID does not help to build the lines that I want. Because at the end I do not want only build line (crossing lines) between A and B, but all along the road that u see. So, how you create the ID exactly, because I tried this before, but the results was not good.

Thanks,

 


Thanks for your advice. However, I have two problems.

1.I have a "old version" 2016.1 of FME, so I do no have LineBuilder tool.

2. . I have an ID in my data, however the ID does not help to build the lines that I want. Because at the end I do not want only build line (crossing lines) between A and B, but all along the road that u see. So, how you create the ID exactly, because I tried this before, but the results was not good.

Thanks,

 

@delgadojeaneth,

I'm not 100% sure, but is there a PointConnector transformer in FME 2016? I noticed this older post on connecting points that may help where they recommended the transformer.

 

I believe you would need to create some information on connectivity to be able to tell FME which attributes to group by. Such as connectivity for A and B are both 1, so the line breaks after connecting A and B because points C and D have connectivity of 2 for example (new line).

@delgadojeaneth,

I'm not 100% sure, but is there a PointConnector transformer in FME 2016? I noticed this older post on connecting points that may help where they recommended the transformer.

 

I believe you would need to create some information on connectivity to be able to tell FME which attributes to group by. Such as connectivity for A and B are both 1, so the line breaks after connecting A and B because points C and D have connectivity of 2 for example (new line).

Yes, I have that transformer. However, until now I can not find a rational way to create my connectivity. I had used azimut, ID (sorter)......but I am missing something I can not really build this connection A and B. If you have any idea, it would be wonderful.


Reply