The following OverpassTurbo query for train routes in Sicily, Italy, returns ten's of tiny tracks:


//Sicily: 39152
rel(39152);map_to_area -> .searchArea;


out body;
out skel qt;

I was wondering if there were a way to somehow merge them so that I end up with much fewer?

The goal is to get a GPX file that contains all the train routes displayed in the Transport Map available on OSM.org: enter image description here

Actually, it's a lot more than "ten's of tracks": The query above returns… 4,158 occurences of "<trk>".


Edit: Drawing the routes manually isn't very smart, but it does the job

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.