Skip to main content
Draw connectors to point

I have a polygon with a pole and demand points. I want to draw lines from pole point to demand points in that polygon as shown in the image.

Any help please
  1. Extract the coordinates of the poles (CoordinateExtractor)
  2. Add the coordinates of the poles to the polygons (PointOnAreaOverlayer, merge attributes)
  3. Add these coordinates to the points (PointOnAreaOverlayer, merge attributes)
  4. Turn the points into lines by adding a new starting point (VertexCreator, insert point at index 0)

Poles_and_points_reverse


Hi,

 

It did not work.

Screenshot 2022-07-21 185739


If the attributes with the coordinates (that you created in the CoordinateExtractor) are not available in the VertexCreator, you did not correctly set 'Merge Attributes' in one (or both) of the PointOnAreaOverlayer transformers.

POAO_parameters


If the attributes with the coordinates (that you created in the CoordinateExtractor) are not available in the VertexCreator, you did not correctly set 'Merge Attributes' in one (or both) of the PointOnAreaOverlayer transformers.

POAO_parameters

Thank you very much


Reply