add LineString support