Skip to main content
Solved

Line Builder not working correctly?


Hi, I have a non-spatial SQL dataset containing a unique identifier along with 2 sets of coordinates (start x and y, end x and y). I am using 2 vertex creators to spatially enable the data and then want to draw lines between the coordinates, separated by each unique identifier. However, using the LineBuilder the output is only coming out of the Point port and nothing is coming out of the Line output port. The workspace worked previously using Desktop 2018, the only difference now is I am using 2020 with updated SQL data, though the data type is unchanged.

Best answer by takashi

Hi @lifeinabox​ , if each feature has two sets of coordinates - start (x, y) and end (x, y), and you need to create a single line segment connecting the start point and the end point, you can do it just using two VertexCreators (Replace with Point mode and Add Point mode) connected in a series.

vertexcreator-vertexcreator"Add Point" is available too in the first VertexCreator, since the input feature from Non-Spatial SQL doesn't have any geometry in this case. 

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

2 replies

takashi
Contributor
Forum|alt.badge.img+21
  • Contributor
  • Best Answer
  • February 2, 2022

Hi @lifeinabox​ , if each feature has two sets of coordinates - start (x, y) and end (x, y), and you need to create a single line segment connecting the start point and the end point, you can do it just using two VertexCreators (Replace with Point mode and Add Point mode) connected in a series.

vertexcreator-vertexcreator"Add Point" is available too in the first VertexCreator, since the input feature from Non-Spatial SQL doesn't have any geometry in this case. 


  • Author
  • February 2, 2022
takashi wrote:

Hi @lifeinabox​ , if each feature has two sets of coordinates - start (x, y) and end (x, y), and you need to create a single line segment connecting the start point and the end point, you can do it just using two VertexCreators (Replace with Point mode and Add Point mode) connected in a series.

vertexcreator-vertexcreator"Add Point" is available too in the first VertexCreator, since the input feature from Non-Spatial SQL doesn't have any geometry in this case. 

Hi @Takashi Iijima​, thank you, that worked


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