title: how to convert geojson to shapely polygon? (solved)
body: <p>i have a geoJSON</p>
  <pre><code>geo = {'type': 'Polygon',
   'coordinates': [[[23.08437310100004, 53.15448536100007],
     [23.08459767900007, 53.15448536100007],
     [23.08594514600003, 53.153587050000056],
     (...)
     [23.08437310100004, 53.15448536100007]]]}
  </code></pre>
  <p>and i want to use these coordinates as an input to <code>shapely.geometry.Polygon</code>. The problem is that Polygon only accepts <code>tuple</code> values, meaning i have to convert this geojson to a polygon.  When i try to input this type of data into a Polygon there's an error <code>ValueError: A LinearRing must have at least 3 coordinate tuples</code></p>
  <p>I tried this:</p>
  <pre><code>[tuple(l) for l in geo['coordinates']]
  </code></pre>
  <p>but this dosen't quite work since it only returns this</p>
  <pre><code>[([23.08437310100004, 53.15448536100007],
    [23.08459767900007, 53.15448536100007],
    (...)
    [23.08437310100004, 53.15448536100007])]
  </code></pre>
  <p>and what i need is this (i think it's a tuple)</p>
  <pre><code>([(23.08437310100004, 53.15448536100007),
    (23.08459767900007, 53.15448536100007),
    (...)
    (23.08437310100004, 53.15448536100007)])
  </code></pre>
  <p>is there a function for this?</p>