Smooths a Polygon or MultiPolygon, based on Chaikin's algorithm.
turf polygon smooth module
Converts a bounding box to a GeoJSON polygon.
Checks if a point is inside an area, like a city boundary.
Calculates the distance from a point to the edges of a polygon or multi-polygon.
Calculates the geodesic area in square meters of one or more polygons.
Takes a kinked polygon and returns a feature collection of polygons that have no kinks.
Creates line segments from a GeoJSON feature.
Tesselates a polygon or multipolygon into a collection of triangle polygons using earcut.
Takes a feature or set of features and returns all positions as points.
Takes polygons or multipolygons and an optional mask, and returns an exterior ring polygon with holes.
Rewind using Shoelace Formula.
Takes a polygon and return true or false as to whether it is concave or not.
Takes any number of features and returns a rectangular Polygon that encompasses all vertices.
Finds the tangents of a polygon from a point.
Polygonizes a set of lines that represents edges in a planar graph.
Determines the geometric center of a polygon or shape.
Takes a Feature or FeatureCollection and returns a Point guaranteed to be on the surface of the feature.
Converts line(s) to polygon(s).
Converts a polygon to a line string.
Takes any LineString or Polygon GeoJSON and returns the intersecting point(s).
Finds points that fall within polygon(s).
Finds the “balance point” of irregular shapes, like a country outline.
Takes a GeoJSON feature and returns points at all self-intersections.