Converts the LinearRing to a LineString.
LineString toLineString() { return LineString(coordinates); }