Hi everyone,
I am working in FME and would like to orient the flow direction of a gas network.
Data:
-
main supply lines
-
service lines connected to gas connections
-
Destination points – representing the gas service connection locations
Objective:
My goal is to ensure that all Service lines are oriented towards the Gas Service connection points.
If a line is digitized in the opposite direction, it should be automatically reversed.
Additionally, some lines connected to Service Connection points are split into multiple segments. I need all connected segments to have a consistent direction towards the same Service Connection points .
What I tried:
-
I used the NetworkFlowOrientor transformer
-
I applied a Anchoredsnapper beforehand to ensure that each Service connections point lies exactly on the endpoint of the corresponding Service lines
Problem:
-
The NetworkFlowOrientor returns no output
Questions:
-
What is the correct workflow to ensure that all Service line segments are consistently oriented toward the destination points?
-
I am not using Group By. Should I use it, or do I need to define a source (supply)?
Could someone please share a working sample workflow that uses NetworkFlowOrientor to help me understand how it works?
Any help or suggestions would be greatly appreciated.
FME 2021
Thanks in advance!

