Skip to main content
Question

Finding lines that are parallel and at a certain distance from each other

  • Mar 9, 2023 10:46 AM UTC
  • 1 reply
  • 477 views

arash_hokm
Contributor
Forum|alt.badge.img+8

Hello FME community,

I have two feature classes with line type. I would like to find the lines in Feature Class 1 that are parallel to other lines in Feature Class 2 at a certain distance.

 

I calculate the angles of lines and with NeighborFinder I create a list of lines that are near but I don't know how to find the lines that have the same angles to feature class 1 (with about 10 degrees difference).

 

1 reply

ebygomm
Evangelist
Forum|alt.badge.img+54
  • Evangelist
  • Mar 9, 2023 11:00 AM UTC

Have you looked at the custom transformer FuzzyParallelLineFinder?