Skip to main content
Question

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

  • February 27, 2017
  • 2 replies
  • 198 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.

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.

2 replies

david_r
Celebrity
  • 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+26
  • 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.