API-2478 add linestring support