Text this: A simple method for automatic recreation of railway horizontal alignments