Skip to main content

I have Roads which are at the borders of municipalities (polygons). But for many of these road segments, the LEFT/RIGHT municipality fields values are wrong. I am looking to rectify that data. I have looked into using LeftRightSpatialCalculator and NeighborFinder transformers but they don’t seem to be helpful for identifying which municipalities are on the LEFT and RIGHT side of each segment.

 

Please suggest, how do I accomplish this?

Try TopologyBuilder, but make sure the polygon edges are snapped together first with Snapper.

The Edges Output Port will have the Left and Right Polygon “Face” IDs for the common Edges between the roads and Municipalities.


Reply