retrieve waypoints and shape data