Skip to main content
Question

Line Intersect

  • February 13, 2013
  • 3 replies
  • 122 views

Hi all,

 

 

perhaps this is a very simple question but I can't find the solution. I need to intersect two line feature classes, obtaining as a result only the intersecting line portions. This is the Overlay->Intersect tool in ArcGIS, but I can't find an equivalent transformer in FME. I tried the LineToLineOverlay  but it overlays all input lines, without distinguish between input and overlay features.

 

 

Thanks
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • February 13, 2013
On suggetion:

 

 

1. Add a Counter to give each line a unique ID.

 

2. Run them through a Intersector.

 

3. On the NODE output of the Intersector - use a listexploder to make one feature per item on the list

 

4. Merge the Listexploder-features with the real lines (before the Intersector) to get the Geometry of the lines. Everything that comes out of the FeatureMerger_COMPLETE port should now be the lines which intersects. You might want to remove duplicate points etc

 

 

 


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • February 13, 2013
Use an AttributeCreator after each input line and overlay line.  Create a common attribute name between the two, such as 'intersect'.  Give a default value of 1 to the overlays, and default value of 2 to the inputs.  Feed both into the Intersector.  From the intersected port, run a test filter on the 'intersect' attribute to split them up again.

  • February 14, 2013
 To find identic common segments of two Line Features,  I use the "Chopper" with a Parameter-Value of "2"; this splits Lines into their segments.  After that I use the Spatial Relator with a created Attribute("DE9IM=1FFF0FFF2") as Parameter to find exact identical line segments, but one can use "Intersect" as well, to find other types of Intersections, too. See Attached Workbench and Result-Picture. http://www.krimpenfort.org/fme/CommonSegmentFinder_nk_FME2012.fmw 
 0684Q00000ArJSPQA3.png