Forgotten to read attributes in ReferenceLine
attributes must be read, because otherwise the previous are stored and then the orientation will not be found or might be wrong.
attributes must be read, because otherwise the previous are stored and then the orientation will not be found or might be wrong.