use linestring instead of waypoint objects