Geographic Information Systems Asked on January 19, 2021
I am trying to create a polyline shapefile from two overlapping polylines that contains only the different line segments between the two original polyline files. The two files are nearly identical except one file contains line segments that the other does not. I want to be able to preserve those differing line segments in a new shapefile.
I have tried merging the two files and then use the desired polyline file as a clipping mask but it has not produced the desired results. Clipping seems to remove the desired data rather than preserve it.
The above picture shows brown polylines that are desired. The brown polylines also include line segments that lie directly beneath the black polylines. Essentially I want a shapefile of the difference between these two polyline files.
Any ideas?
It sounds like what you want is the "Erase" tool in the Analysis toolbox. Erase allows you to take two datasets, and erase features from dataset A that exist in dataset B. The end result is only the features existing in dataset A that did not exist in dataset B.
https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/erase.htm
In your case, the dataset with the extra linework would be your input feature, and the erase feature would be your other dataset.
Answered by John on January 19, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP