> ## Documentation Index
> Fetch the complete documentation index at: https://shapely.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Shapely Skeleton Pruning

>  It uses the Topological Analysis method to clean the skeleton (centreline) of a polygon. It cleans the dead-end streets, known as “spurs”, which arise from Voronoi diagrams and are not connected to the main line. 

<Note>
  \_MaxIterations : Determines how many times the pruning operation will be performed.
</Note>

### An example of transformations

<a href="/images/Shp_SkeletonPruning-1.png" target="_blank">
  <img src="https://mintcdn.com/shapely/Zmixl7owj_j1fwHG/images/Shp_SkeletonPruning-1.png?fit=max&auto=format&n=Zmixl7owj_j1fwHG&q=85&s=7924dcd3f682ab629b2f66c25cc88ef7" className="pointer-events-none" style={{ borderRadius: '0.5rem', border: '1px solid rgba(0,0,0,0.1)' }} width="1918" height="893" data-path="images/Shp_SkeletonPruning-1.png" />
</a>

<a href="/images/Shp_SkeletonPruning-2.png" target="_blank">
  <img src="https://mintcdn.com/shapely/Zmixl7owj_j1fwHG/images/Shp_SkeletonPruning-2.png?fit=max&auto=format&n=Zmixl7owj_j1fwHG&q=85&s=32d47481c51e26a0688b9afa31c74c93" className="pointer-events-none" style={{ borderRadius: '0.5rem', border: '1px solid rgba(0,0,0,0.1)' }} width="1929" height="886" data-path="images/Shp_SkeletonPruning-2.png" />
</a>

### An example of test

<Frame>
  <a href="https://github.com/DurmusCesur/docs/releases/download/Dyn/Shp_SkeletonPruning.dyn" download="Shp_SkeletonPruning.dyn">
    <button className="bg-[#16A34A] text-white px-5 py-1 rounded-md hover:bg-[#15803D] transition-colors">
      Shp\_SkeletonPruning.dyn
    </button>
  </a>
</Frame>

<Frame>
  <a href="https://github.com/DurmusCesur/docs/releases/download/Dyn/Shp_SkeletonPruning-v2.dyn" download="Shp_SkeletonPruning-v2.dyn">
    <button className="bg-[#16A34A] text-white px-5 py-1 rounded-md hover:bg-[#15803D] transition-colors">
      Shp\_SkeletonPruning-v2.dyn
    </button>
  </a>
</Frame>
