I have a dataset of pairs of parallel linear features (railway tracks) and I need to simplify each pair into its central/median line. This could be achieved by computing a skeleton as suggested in this question but I am looking for a simpler solution: a line being the "average" of the two input lines would be a fair approximation. For example:
Would such transformation be implemented in any mainstream GIS software or library?