Skip to main content

Hi

I need to calculate the angle between lines in a network (red angle in the picture) I mean the angle between the side road and the main road

 

Thx

Francesco

Hi @checcosisani​ I don't see any picture, but if I'm imagining this correctly you can get the angles of each line at a node if you 'Generate List From Input Edges' on the Nodes in the TopologyBuilder. The list attributes will be sorted by angle, increasing counter-clockwise from East. The angle between lines (first segments from the node) can be calculated something like this: (@Value(edges{1}.fme_arc_angle) - @Value(edges{0}.fme_arc_angle) )


Hi @checcosisani​ I don't see any picture, but if I'm imagining this correctly you can get the angles of each line at a node if you 'Generate List From Input Edges' on the Nodes in the TopologyBuilder. The list attributes will be sorted by angle, increasing counter-clockwise from East. The angle between lines (first segments from the node) can be calculated something like this: (@Value(edges{1}.fme_arc_angle) - @Value(edges{0}.fme_arc_angle) )

Angle


Reply