Hi @philippe33, probably I don't understand the situation correctly, but if you want to prevent that the LineJoiner connects specific two lines having a common end node, this approach might be applicable.
- Save the first line geometry as an attribute with the GeometryExtractor.
- Remove the last vertex from the first line with the CoordinateRemover.
- Apply the LineJoiner to do something.
- Restore the original geometry with the GeometryReplacer.
Actually I'm unclear what the 2 "big" lines is. What do you mean?
Hi @philippe33, probably I don't understand the situation correctly, but if you want to prevent that the LineJoiner connects specific two lines having a common end node, this approach might be applicable.
- Save the first line geometry as an attribute with the GeometryExtractor.
- Remove the last vertex from the first line with the CoordinateRemover.
- Apply the LineJoiner to do something.
- Restore the original geometry with the GeometryReplacer.
Actually I'm unclear what the 2 "big" lines is. What do you mean?
Hi,
it's for airspaces writing in AIXM Format.
i explain: in some case my airspace begin with a line then follows an arc and finally a line with the end point at the beginning of the first line. Close area.
in my workbench i extract arcs and write an XML template to describe them. For the lines i do the same thing and write a description of them with the succeeding position of the points ( linejoiner and geom: get -point (yx) In a templater Xml ).
but by making such linejoiner with the terminate point at the same position than the first point that is not what i want when the airspace is described by ( lines, arc, lines). I have to separe the 2 lines and linejoiner connect the first point of the first line with the end point of the ending line ( description : line, arc, line).
in other description of airspace ( line, arc, line, arc or arc, line, arc, line) no problem .
just problem when first is line and end is line with end point equal to first point. I can remove the ending point of the last line such that it doesn't be at the same position that the first point of the first line but when i retrieved the description of the second line with geom:get-point (yx) i lost the ending point. If i make a linecloser the geom:get-point retrieves the whole with the arc in the middle part. Not good for me
any idea ? It's only for the retrieving of position with get-point (yx)