Skip to main content
Solved

How to automatically reverse digitizing direction of an electric network

  • May 1, 2025
  • 2 replies
  • 90 views

gennine
Contributor
Forum|alt.badge.img+4

I would like to automatically number an electrical network as shown in the diagram below.
If the digitization direction of the features is correct, then I get the correct numbering. I used the NetworkTopologyCalculator and TopologyBuilder transformers to perform the automatic numbering.
If the direction is reversed, then the numbering is incorrect.
Is there a solution to this problem?
Thanks in advance.

 

 

Best answer by ebygomm

The NetworkFlowOrientator will turn all the lines in the wrong direction, i.e. all flowing towards the transformer, once they’re all in the wrong direction you can use the orientor to switch the orientation of all lines and that should mean that all lines are away from the transformer.  

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+45
  • Influencer
  • Best Answer
  • May 1, 2025

The NetworkFlowOrientator will turn all the lines in the wrong direction, i.e. all flowing towards the transformer, once they’re all in the wrong direction you can use the orientor to switch the orientation of all lines and that should mean that all lines are away from the transformer.  


gennine
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • May 1, 2025

Thank you very much ebygomm for your quick response. It works perfectly.

However, I need to change the polygon shp of the substations to a centroid point in order to use it as a destination in NetworkFlowOrientor.