title: Using shapely to return co ordinates of multilinestring that intersect
body: <p>I've generated random streets using Shapely's LineString function using the following code:</p>
  
  <pre><code>class StreetNetwork():
  
  def __init__(self):
      self.street_coords = []
      self.coords = {}
  
  def gen_street_coords(self, length, coordRange):
      min_, max_ = coordRange
      for i in range(length): 
          street = LineString(((randint(min_, max_), randint(min_, max_)),
                    (randint(min_, max_), randint(min_,max_))))
          self.street_coords.append(street)
  </code></pre>
  
  <p>If I use: </p>
  
  <p><code>street_network = StreetNetwork()
  street_network.gen_street_coords(10, [-50, 50])</code></p>
  
  <p>I get an image like so: <a href="https://i.stack.imgur.com/aEYg3.png" rel="nofollow noreferrer">Simple</a></p>
  
  <p>I've been looking at the following <a href="https://gis.stackexchange.com/questions/203048/split-lines-at-points-using-shapely">question</a> which seems similar. I now want to iterate through my list of street_coords, and split streets into 2 if they cross with another street but I'm finding it difficult to find the co-ordinates of the point of intersection. However, as I am unfamiliar with using Shapely, I am struggling to use the "intersects" function. </p>