Skip to main content
Question

Line on Line Overlay - Comparing one feature set to another

  • September 3, 2013
  • 6 replies
  • 107 views

Forum|alt.badge.img
I think this is a simple one, but for the life of me i cant seem to figure it out.   

 

 

I am running a line on line overlayer and only want to compare 1 feature dataset to another (i.e. i dont want features from the same input dataset to self intersect).

 

 

Thanks in advance.  I am running FME2011.

 

 

6 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • September 3, 2013
Hi,

 

 

Check ou the matcher or change detector for geometric copmparisons.

takashi
Influencer
  • September 4, 2013
Hi,

 

 

I guess you have two line feature groups (datasets) and you are trying to split lines at intersections between a group and another group (except intersections of lines belonging to the same group).

 

If my understanding is correct, this article could be helpful for you: Find intersecting lines that have different attribute values http://fmepedia.safe.com/AnswersQuestionDetail?id=906a0000000cnYWAAY   After finding the intersections, you can split lines at them using a PointOnLineOverlayer.

 

Hope this helps.

 

 

Takashi

Forum|alt.badge.img
  • Author
  • September 5, 2013
Thanks for all the repsonses.   I tried a few things still with no success based on your suggestions.  I guess i should have explained my issue in a little more detail.

 

 

I have 2 input line feature datasets (dataset1 and dataset2).

 

 

I would like to create a point feature dataset in all instances where the features from dataset1 intersect the features from dataset2 (but not within each dataset).

 

 

Intersector (and some suggestion above) would work perfectly except the lines in dataset1 have in certain instances millions and millions of self intersections (dont ask) and cause the intersector to run for hours, and in some instances, days!

 

 

As the one post says, i really need a "do not group by" option in the intersector.

 

 

Thanks in advance.

 

 

 


sammy
Supporter
Forum|alt.badge.img+17
  • Supporter
  • May 7, 2025

Has anyone come up with a solution to this problem?

 

I would also like to get the intersection points between Feature Class A and Feature Class B.

I do not want to get intersection points between various lines within Feature Class A.

I do not want to use Line Combiner to join all of Feature Class A into one line because sometimes I have two lines in Feature Class A meeting along a line in Feature Class B at the same point so I want both of those intersection points.

 

This has been frustrating as I can do this in one step in ArcGIS Pro but have not been able to figure out how to replicate in FME.


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • May 7, 2025
sammy wrote:

Has anyone come up with a solution to this problem?

 

I would also like to get the intersection points between Feature Class A and Feature Class B.

I do not want to get intersection points between various lines within Feature Class A.

I do not want to use Line Combiner to join all of Feature Class A into one line because sometimes I have two lines in Feature Class A meeting along a line in Feature Class B at the same point so I want both of those intersection points.

 

This has been frustrating as I can do this in one step in ArcGIS Pro but have not been able to figure out how to replicate in FME.

TopologyBuilder may be your best bet. There are ways within that transformer to create lists based on what contributed to the topology, including which feature class it original was apart of (fme_feature_type). After that you can filter out the nodes that were built from both feature classes.


sammy
Supporter
Forum|alt.badge.img+17
  • Supporter
  • May 7, 2025

@dustin Thanks! I will check out topology builder to see if this works better than my current work around.

What I am doing for now is:

  • LineOnLineOverlayer (defaut settings) - to get all the intersection points
  • LineOnLineOverlayer, Group By: fme_feature_type - to get only the intersections within each feature class
  • Matcher - reading in the output points from the previous two LineOnLineOverlayers. The results from the NotMatched port seem to be giving me the points that I want (no intersections from within the same feature class)

Please upvote this idea for adding the “exclude intersections with same feature class” to the LineOnLineOverlayer transformer:

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings