I have a shapefile where there are polygons perfectly fitting, I created contour lines from all of the polygons so I have a shape containing only the lines. My problem is as the polygons were fitting, most of the lines cover each other. I cannot merge them because I need to keep the attributes of the lines.
What is the best way to get rid of the unnecessary second lines? ArcGIS or QGIS usage is preferred.