Skip to main content

My requirement is to calculate the distance in meters from points to nearest road in FME, end output should be one new field should be added in point layer with distance to each points. i have tried to do this with NeighborFinder transformer but i am not getting my desired output. i don’t where i am doing mistake. can any one help me.

Hi ​@nareshgoura ,

I think using NeighborFinder is a right way.

i am not getting my desired output

Can you please explain what problems are in the output?


NieghbourFinder would be the best way to do it. Your points would be the Candidate and the lines the Base.

What is the output you’re currently seeing and what are you expecting? Are you using a meters based coordinate system?

Can you share some sample data?


You may need to run both the points and lines through their own reprojectors first, projecting into a coordinate system that is in meters.