@turf/point-to-line-distance(latest: 7.4.0) Calculates the distance between a given point and the nearest point on a line.
@turf/meta(latest: 7.4.0) Provides tools for iterating over and manipulating GeoJSON objects.
@turf/bearing(latest: 7.4.0) Takes two points and finds the geographic bearing between them.
@turf/helpers(latest: 7.4.0) Provides helper functions to create GeoJSON features, like points, lines, or areas on a map.
@turf/distance(latest: 7.4.0) Measures the straight-line distance between two points, like cities or landmarks.
@turf/invariant(latest: 7.4.0) Lightweight utility for input validation and data extraction in Turf.js. Ensures GeoJSON inputs are in the correct format and extracts specific components like coordinates or geometries.
@turf/projection(latest: 7.4.0) Provides tools for conversion between geographic coordinates and projected coordinates.
@turf/rhumb-bearing(latest: 7.4.0) Takes two points and finds the bearing angle between them along a Rhumb line.
@turf/rhumb-distance(latest: 7.4.0) Calculates the distance along a rhumb line between two points.
@turf/rhumb-destination(latest: 7.4.0) Calculates the destination point having travelled the given distance along a Rhumb line.
@turf/turf(latest: 7.4.0) a JavaScript library for performing geospatial operations with GeoJSON
@turf/tag(latest: 7.4.0) Takes a set of points and a set of polygons and/or multipolygons and performs a spatial join.
@turf/tin(latest: 7.4.0) Takes a set of points and creates a Triangulated Irregular Network.
@turf/area(latest: 7.4.0) Calculates the geodesic area in square meters of one or more polygons.
@turf/flip(latest: 7.4.0) Takes input features and flips all of their coordinates.
@turf/mask(latest: 7.4.0) Takes polygons or multipolygons and an optional mask, and returns an exterior ring polygon with holes.
@turf/along(latest: 7.4.0) Calculates a point along a line at a specific distance
@turf/kinks(latest: 7.4.0) Takes a GeoJSON feature and returns points at all self-intersections.
@turf/union(latest: 7.4.0) Combines two or more polygons into a single polygon.
@turf/buffer(latest: 7.4.0) Creates a buffer around a GeoJSON feature.
@turf/center(latest: 7.4.0) Finds the central point of a GeoJSON feature, like a city or a park. Ideal for placing labels or markers.
@turf/circle(latest: 7.4.0) Takes a point and calculates the circle polygon given a radius.
@turf/random(latest: 7.4.0) Generates random points, lines, or polygons for testing.
@turf/rewind(latest: 7.4.0) Rewind using Shoelace Formula.
@turf/sample(latest: 7.4.0) Takes a FeatureCollection and returns a FeatureCollection with given number of features at random.
@turf/sector(latest: 7.4.0) Creates a circular sector of a circle.
@turf/collect(latest: 7.4.0) Merges a specified property from a FeatureCollection of points into a FeatureCollection of polygons.
@turf/combine(latest: 7.4.0) Combines a FeatureCollection of Point, LineString, or Polygon features into MultiPoint, MultiLineString, or MultiPolygon features.
@turf/concave(latest: 7.4.0) Creates a concave hull around points.
@turf/ellipse(latest: 7.4.0) Takes a Point and calculates the ellipse polygon given two semi-axes expressed in variable units and steps for precision.
@turf/explode(latest: 7.4.0) Takes a feature or set of features and returns all positions as points.
@turf/flatten(latest: 7.4.0) Flattens any GeoJSON to a FeatureCollection
@turf/voronoi(latest: 7.4.0) Takes a collection of points and a bounding box, and returns a collection of Voronoi polygons.
@turf/clusters(latest: 7.4.0) Group points into clusters based on their spatial proximity or properties.
@turf/dissolve(latest: 7.4.0) Dissolves a FeatureCollection of Polygon features.
@turf/envelope(latest: 7.4.0) Takes any number of features and returns a rectangular Polygon that encompasses all vertices.
@turf/line-offset(latest: 7.4.0) Takes a line and returns a line at offset by the specified distance.
@turf/boolean-equal(latest: 7.4.0) Determine whether two geometries of the same type have identical X,Y coordinate values
@turf/clean-coords(latest: 7.4.0) Removes redundant coordinates from a GeoJSON Geometry.
@turf/center-of-mass(latest: 7.4.0) Finds the “balance point” of irregular shapes, like a country outline.
@turf/midpoint(latest: 7.4.0) Takes two points and calculates a point midway between them geodesically.
@turf/simplify(latest: 7.4.0) Reduces the number of points in a shape while keeping its overall look.
@turf/boolean-valid(latest: 7.4.0) Checks if the geometry is a valid according to the OGC Simple Feature Specification.
@turf/nearest-point(latest: 7.4.0) Finds the nearest point from a FeatureCollection of Features with Point geometries to a given point.
@turf/boolean-clockwise(latest: 7.4.0) Takes a ring and return true or false whether or not the ring is clockwise or counter-clockwise.
@turf/unkink-polygon(latest: 7.4.0) Takes a kinked polygon and returns a feature collection of polygons that have no kinks.
@turf/bbox-clip(latest: 7.4.0) Takes a Feature and a bbox and clips the feature to the bbox using lineclip.
@turf/boolean-parallel(latest: 7.4.0) Determine whether each segment of a line is parallel to the correspondent segment of another line.
@turf/distance-weight(latest: 7.4.0) Calculate the influence or weight of points over an area based on their distances.
@turf/boolean-concave(latest: 7.4.0) Takes a polygon and return true or false as to whether it is concave or not.
@turf/moran-index(latest: 7.4.0) Measures patterns of attribute values associated with features. Reveals whether similar values tend to occur near each other, or whether high or low values are interspersed
@turf/polygon-smooth(latest: 7.4.0) Smooths a Polygon or MultiPolygon, based on Chaikin's algorithm.
@turf/isobands(latest: 7.4.0) Takes a grid of values (GeoJSON format) and a set of threshold ranges. It outputs polygons that group areas within those ranges, effectively creating filled contour isobands.
@turf/center-median(latest: 7.4.0) Takes a FeatureCollection of points and calculates the median center.
@turf/center-mean(latest: 7.4.0) Takes a Feature or FeatureCollection and returns the mean center.
@turf/jsts(latest: 2.7.2) A treeshaken subset of JSTS functions for use within
@turf/bbox-polygon(latest: 7.4.0) Converts a bounding box to a GeoJSON polygon.
@turf/quadrat-analysis(latest: 7.4.0) Quadrat analysis lays a set of equal-size areas(quadrat) over the study area and counts the number of features in each quadrat and creates a frequency table.
@turf/tesselate(latest: 7.4.0) Tesselates a polygon or multipolygon into a collection of triangle polygons using earcut.
@turf/clusters-dbscan(latest: 7.4.0) Takes a set of points and partition them into clusters according to DBSCAN's data clustering algorithm.
@turf/isolines(latest: 7.4.0) Generate contour lines from a grid of data.
@turf/difference(latest: 7.4.0) Finds the difference between multiple polygons by clipping the subsequent polygon from the first.
@turf/transform-rotate(latest: 7.4.0) Rotates a geometry around its center or a given point.
@turf/angle(latest: 7.4.0) Finds the angle formed by two adjacent segments.
@turf/clusters-kmeans(latest: 7.4.0) Takes a set of points and partition them into clusters using the k-means algorithm.
@turf/bezier-spline(latest: 7.4.0) Smooths a line into a curve using Bézier splines, great for visualizing routes.
@turf/nearest-neighbor-analysis(latest: 7.4.0) Calculates an index based the average distances between points in the dataset, thereby providing inference as to whether the data is clustered, dispersed, or randomly distributed within the study area.
@turf/shortest-path(latest: 7.4.0) Returns the shortest path from start to end without colliding with any Feature in obstacles.
@turf/transform-scale(latest: 7.4.0) Changes the size of a geometry by scaling it up or down.
@turf/line-arc(latest: 7.4.0) Creates a circular arc, of a circle of the given radius and center point, between two bearings.
@turf/planepoint(latest: 7.4.0) Takes a triangular plane as a polygon and a point within that triangle, and returns the z-value at that point.
@turf/line-slice(latest: 7.4.0) Useful for extracting only the part of a route between waypoints.
@turf/polygonize(latest: 7.4.0) Polygonizes a set of lines that represents edges in a planar graph.