Skip to main content
Question

Compare two polyline datasets and remove lines that don't intersect

  • February 27, 2017
  • 2 replies
  • 100 views

I have two polyline datasets for rivers and streams. Dataset A and Dataset B. Dataset A is very old and the line work is not spatially accurate. Dataset B was created using more accurate methods.

I wish to compare Dataset A with Dataset B, keeping only the lines in Dataset B that intersect or are located near Dataset A. I do not wish to merge the attributes. I have tried nearest neighbor, but that merges the attributes. I have tried line on line overlay and intersector, but that doesn't appear to do what I want either (unless I am doing something wrong). The datasets do share a common attribute field (NAME), but due to the existence of duplicate names of streams within the data, matching by list does not work.

Any help would be appreciated.

2 replies

david_r
Evangelist
  • February 27, 2017

Maybe try using the NeighborFinder with a group-by on NAME and setting a reasonable search radius?


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • February 27, 2017

I would try using the SpatialFilter transformer. First you could buffer dataset A to find "close by" features in dataset B.


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