Integrate Stephane's trajectory.FromString