Skip to main content
Computes the straight skeleton of a polygonal geometry. The straight skeleton is a method of representing a polygon by a topological skeleton, formed by a continuous shrinking process where each edge moves inward in parallel at a uniform speed. This function uses the weighted straight skeleton algorithm based on Felkel’s approach. This function may have significant performance limitations when processing polygons with a very large number of vertices. For very large polygons (e.g., 10,000+ vertices), applying vertex reduction or simplification is essential to achieve practical computation times.

Signatures

Parameters

geom
Geometry
required
The input geometry.

Return type

The resulting geometry.

Examples

ST_StraightSkeleton

Simple Square