Skip to main content

Hi everyone,

I have this gdb with about 14'000 lines (alwas only 2 points). In the gdb there is an attribute for every coordinate of the points of the line (E_left, N_left, E_right, N_right).

My problem is that the lines need to be generated from left to right which is not the case at the moment. How can I change the geometry "IFMELine (2coordinates)" so that the start point "coordinate 0" of the line is defined by the attributes E_left and N_left and the end point "coordinate 1" is defined by E_right and N_Right?

Thank you very much,

Davide

hi @davidealbertini, i think 2 vertexcreators can do the job: in the first one you set the mode to "Replace with Point" and select the left coordinates. This way you replace the existing lines with a new point. Afterwards you add a new vertexcreator this time with mode "Add Point" and set the coordinates to the right ones, that wil add a second point and so create a line.

Hope this helps!


Hi @davidealbertini, you can use the Orientor transformer (Orientation Type: Reverse) to reverse the direction of line geometries.


Reply