I have a Point Between Two Line , I need to Convert those point into Line of certain lenght
- Home
- Forums
- FME Form
- Transformers
- Convert Point into Line between two line
Convert Point into Line between two line
- September 1, 2017
- 15 replies
- 17 views
15 replies
- Enthusiast
- 295 replies
- September 1, 2017
Maybe you can try the PointConnector.
- 7563 replies
- September 1, 2017
- Contributor
- 125 replies
- September 1, 2017

- Enthusiast
- 295 replies
- September 1, 2017

- Author
- 18 replies
- September 1, 2017
Maybe you can try the PointConnector.
Want to Convert Green Point into Line
- Contributor
- 125 replies
- September 1, 2017
I have created an example workspace for you. In the workspace, ignore the creators - I am just using them to create the 2 original lines and a point in the middle. I have created an numeric user parameter for the length.
Then used an AttributeCreator to calculate the offset using the Pythagorean Theorem. Then offset the point in 2 directions, and used the LineBuilder to connect the points.
Here is the result!
NOTE: This will only work for horizontal lines. You will need to modify it to work for lines with a different orientation.
See attached for the workspace.
-Courtney
- Author
- 18 replies
- September 2, 2017
I have created an example workspace for you. In the workspace, ignore the creators - I am just using them to create the 2 original lines and a point in the middle. I have created an numeric user parameter for the length.
Then used an AttributeCreator to calculate the offset using the Pythagorean Theorem. Then offset the point in 2 directions, and used the LineBuilder to connect the points.
Here is the result!
NOTE: This will only work for horizontal lines. You will need to modify it to work for lines with a different orientation.
See attached for the workspace.
-Courtney
Thanks @ courtney_m
Your File is working fine , but when i tried with my shape file ,result is nor Coming .Will you please check it wih my shape File is attached
- 7563 replies
- September 2, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
- Author
- 18 replies
- September 2, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
- Author
- 18 replies
- September 4, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
Thanks @takashi workbench is working fine ,but in some case it not working please see in image. sample shape file attached .
- 7563 replies
- September 4, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
If a switch-point that matches just one bus-bar should also be transformed into a line, clarify what kind of shape is finally required.
- Author
- 18 replies
- September 4, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
2) Switch between Two HTCABLE
3) Switch between one busbar and One HTCALBLE
4) Switch connected one side busbar or HTCABLE
- 7563 replies
- September 4, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?

However, 4) is a completely different condition from others, and you didn't mention any requirement on this condition before. In the case 4), should the switch-point transform into what shape? If you need to create a line segment from the point, should connect between from where to where? Can find no answer unless you specify the requirements exactly.
- Author
- 18 replies
- September 4, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
1)Switch between Two busbar
2) Switch between Two HTCABLE
3) Switch between one busbar and One HTCALBLE
4) Switch connected one side busbar or HTCABLE
5)Nothing is Connected at both end.
- 7563 replies
- September 4, 2017
Your image is not enough to illustrate the conditions and requirements, so I try presuming.
- A switch-point touches end nodes of just two bus-bar line.
- Original two bus-bar lines related to the same switch-point are on the same straight line.
- Length of bus-bar lines should not be changed though the processing.
- End nodes of bus-bar lines opposite to switch-point should not be moved through the processing.
In this image, for example, L1 and L2 (gray lines) are the original bus-bar lines, and L1' and L2' (blue lines) are the lines after inserting a switch-line (red line) that has a certain length.
Here, L1 and L2 are on the same straight line, and the lengths of L1' and L2' are the same as L1 and L2 for each.
Have I presumed your requirement exactly?
However, in the condition 4), it's unclear how the direction of the resulting line should be determined. What is the rule to determine the direction of your desired switch-line, in the condition 4)?
Reply
Related Topics
Is the Admin Portal down for maintenance?icon
Admin Portal & Account ManagementMaintenanceicon
Admin Portal & Account ManagementAre you having an outage right now?icon
Admin Portal & Account ManagementI would like to receive critical updates - I am not the DEFAULT system adminicon
Admin Portal & Account ManagementHow can I upgrade my admin portal account to get the filmstrip view when hosting a webinar?icon
Admin Portal & Account Management
Helpful Members This Week
- takashi
33 votes
- crutledge
22 votes
- david_r
19 votes
- ebygomm
16 votes
- geomancer
15 votes
- danilo_fme
15 votes
- redgeographics
14 votes
- liamfez
13 votes
- tnarladni
9 votes
- TandraAtSafe
8 votes
Recently Solved Questions
Neighbourfinder - One to one Relationship
5 RepliesAutomatically change year in new attribute
1 ReplyFME 2025 SpatialRelator removes Requestor attributes (BUG?)
5 RepliesHow To Switch Workflow Base on the Attribute Valye
2 RepliesHow to merge the closest end or node of a line to a single point?
3 Replies
Community Stats
- 31,018
- Posts
- 117,563
- Replies
- 38,795
- Members
Latest FME
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Scanning file for viruses.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
OKThis file cannot be downloaded
Sorry, our virus scanner detected that this file isn't safe to download.
OKCookie 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
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.