Handle LineString, add unit test