changes line to route with a from-point a to-point.