class_docstr: A geometry type composed of one or more line segments.
  
  A LineString is a one-dimensional feature and has a non-zero length but
  zero area. It may approximate a curve and need not be straight. Unlike a
  LinearRing, a LineString is not closed.
  
  Parameters
  ----------
  coordinates : sequence
      A sequence of (x, y, [,z]) numeric coordinate pairs or triples, or
      an array-like with shape (N, 2) or (N, 3).
      Also can be a sequence of Point objects.
  
  Examples
  --------
  Create a LineString with two segments
  
  >>> a = LineString([[0, 0], [1, 0], [1, 1]])
  >>> a.length
  2.0
code: def __geo_interface__(self):
      return {"type": "LineString", "coordinates": tuple(self.coords)}
  
file_path: shapely/shapely/geometry/linestring.py
imports: import numpy
  import shapely
  from shapely.geometry.base import BaseGeometry, JOIN_STYLE
  from shapely.geometry.point import Point
label_desc: Use image node_id 2 for calling the LineString obj's underlying member method code with example usage: obj.__geo_interface__() and returns: dict