Added centroid for polyline