Skip to main content
Tweeted twitter.com/#!/StackGIS/status/570094924399550465
edited title
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

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

Source Link
Fezter
  • 22k
  • 11
  • 71
  • 126

FME - Calculate distance from all points to all lines within 10km

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?