Skip to main content
Question

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


Forum|alt.badge.img
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

4 replies

geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • July 21, 2022
  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


Forum|alt.badge.img

Hi,

 

It did not work.

Screenshot 2022-07-21 185739


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • July 21, 2022

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


Forum|alt.badge.img
geomancer wrote:

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


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