Skip to main content
Solved

How to automatically reverse digitizing direction of an electric network


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.  

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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+38
  • 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.


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