Skip to main content
2 of 2
edited title
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Calculate distance from all points to all lines within 10km using FME?

I have a polyline shapefile and a point shapefile. The points are along the polylines. There are over 100 lines and over 10,000 points. I want to calculate the perpendicular distance from every point to every line within 10km except for the line that the point is on.

I'm happy to calculate lines representing these distances. My first thought was to use the NeighborFinder transformer. However, this only seems to calculate the nearest line which is the line that the point is on (zero distance).

Sample image of data: enter image description here

Is there a way to have the NeighborFinder find all of the closest lines within 10km? How else can I accomplish this? Perhaps a looper?

Fezter
  • 22k
  • 11
  • 71
  • 126