I have two line-type shapfiles A and B that have different sizes, but some of them go through the same alignment as the other. These two shapefiles have an attribute table with a column called ident
.
I would like to extract the lines from shapefile A that pass in exactly the same alignment as B and have the same value for ident
.
shp A
shp B
Line 1A is aligned with line 1B, but line 2A crosses line 1B (I don't want to). So I would like to extract only line 1A if it has the same ident
value for both, that is, ident
=1A=1B
Update: I added the files from question: https://github.com/wesleysc352/wesleysc352.github.io/raw/master/files_1.zip