title: How to get the endpoint of a LineString in Shapely
body: <pre><code>Linestring1 = LINESTRING (51.2176008 4.4177154, 51.21758 4.4178548, **51.2175729 4.4179023**, *51.21745162000732 4.41871738126533*)
  Linestring2 = LINESTRING (*51.21745162000732 4.41871738126533*, **51.2174025 4.4190475**, 51.217338 4.4194807, 51.2172511 4.4200562, 51.2172411 4.4201077, 51.2172246 4.4201654, 51.2172067 4.420205, 51.2171806 4.4202355, 51.2171074 4.4202929, 51.2170063 4.4203409, 51.2169564 4.4203641, 51.2168076 4.4204243, 51.2166588 4.4204833, 51.2159018 4.420431, 51.2154117 4.4203843)
  </code></pre>
  
  <p>Considering these two linestrings were cut from a bigger linestring, how to get the endpoint of a LineString?</p>
  
  <p><strong>- Point(51.21745162000732 4.41871738126533) removed</strong></p>
  
  <p><strong>- The new last element of linestring 1 = “ 51.2175729 4.4179023</strong></p>
  
  <p><strong>- The new first element of linestring 2 = “ 51.2174025 4.4190475</strong></p>
  
  <p>In short, I want to get the new last value of the first part (linestring1) and the new first value of the second part (linestring2), but without the point where I cut them. How can I make this work?</p>