Switched boundaries to linestring