Skip to main content
Question

I have a table with start and end x/y and need to create line for each. I created vertexes but no line is produced. How do I create a line for each coordinate pair?


gcarmich
Participant
Forum|alt.badge.img+1

image

7 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Use 2 VertexCreators and add them in serie. In the first one create a point from begin xy, in the second one, add a point from end xy.


geomancer
Evangelist
Forum|alt.badge.img+48
  • Evangelist
  • June 1, 2023

Adding to that: probably VertexCreator_5 needs to be in mode "Replace with point".


gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • June 1, 2023

I have tried both those approaches. The first VertexCreator creates a point on the map but the second VertexCreator (as Add Point) seems to remove all geographic entities.


geomancer
Evangelist
Forum|alt.badge.img+48
  • Evangelist
  • June 1, 2023

Strange. See the attached example.

VertexCreators.pngNote that in your data there will be (at least) 304 features with start_X = end_X and start_Y = end_Y. I got rid of those in the TestFilter, but the presence of these features should not be the source of your problem.


gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • June 1, 2023

Thanks. Your workflow works as expected.

I noticed that my CreateVertex has an extra parameter under advanced that yours does not - "Closed Line Handling" I wonder why they are different and if that could be the source of the issue?:

 

imageimage


geomancer
Evangelist
Forum|alt.badge.img+48
  • Evangelist
  • June 1, 2023

I'm still using version 2020.0, where the VertexCreator has fewer settings. This should not be the source of your problems though.


gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • June 1, 2023

I exported the table and created a new workflow with a reader for the table and two vertexcreators. This process was sucessful but it still does not work in the larger/original workflow. Seems to be a bug? I'll see if I can report it.


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