Hello,
I'm working with Ordnance Survey data, in particular their OS MasterMap Highways Network RoadLink and RoadNode datasets. This is a topologically correct link and node dataset. I'm looking for a way to segment the RoadLink polyline dataset at 25m intervals up to 100m starting from RoadNode points marked as roundabouts, as shown in the example image below.
My intention is to merge all lines with the same road name and road number using the LineCombiner transformer and then use the Chopper transformer to segment the lines at the required intervals. However for this to work, I need to be able to orientate the direction of digitisation of the lines away from the roundabouts nodes, as the chopper will do it's chopping in the same direction as digitisation. I can then chop them starting from the roundabout point and up the line away from this point.
My main question is, is there a way to use a point that lies on the end of a line and identify if the line is digitised toward this point or away from it. Once I know this, I can orient the line correctly and chop the lines in the right direction.
After this, I will also need to continue segmentation as the road branches. Any suggestions on how to tackle this would be much appreciated. My current method involves merging the road segments with the same attributes, so I can segment these at the right intervals from the roundabout. This will not work for those roads with different names or numbers and join further up the road, but within 100m from the roundabout. Is there a way to segment consecutive line segments within a network like this within FME from a given starting point?
Any help with this would be much appreciated!
Sam