Overpass query to merge parallel railway lines into one

I'm new to Overpass Turbo QL and I have searched everywhere about this but unable to merge parallel railway lines/railroads into one in the Map

I found that tracks tag may work but unable to find the right syntax. I have tried this query so far but it is showing all the tracks individually.

This question is marked "community wiki".

asked 19 Jan, 13:01

agnivdebsikdar's gravatar image

agnivdebsikdar
1112
accept rate: 0%

I don't know if Overpass supports this for lines, but here is a similar question about areas. Where the answer was basically to do it was a post-processing step.

(20 Jan, 01:16) InsertUser