Adding basic path-to-polyline implementation.