licenses.dev

@turf/turf v7.4.0

a JavaScript library for performing geospatial operations with GeoJSON

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

MIT129
PackageRelationDependenciesPublished
@turf/along • 7.4.0Calculates a point along a line at a specific distanceDIRECT7
@turf/angle • 7.4.0Finds the angle formed by two adjacent segments.DIRECT6
@turf/area • 7.4.0Calculates the geodesic area in square meters of one or more polygons.DIRECT4
@turf/bbox-clip • 7.4.0Takes a Feature and a bbox and clips the feature to the bbox using lineclip.DIRECT4
@turf/bbox-polygon • 7.4.0Converts a bounding box to a GeoJSON polygon.DIRECT3
@turf/bbox • 7.4.0Generates a bounding box around a GeoJSON feature.DIRECT4
@turf/bearing • 7.4.0Takes two points and finds the geographic bearing between them.DIRECT4
@turf/bezier-spline • 7.4.0Smooths a line into a curve using Bézier splines, great for visualizing routes.DIRECT4
@turf/boolean-clockwise • 7.4.0Takes a ring and return true or false whether or not the ring is clockwise or counter-clockwise.DIRECT4
@turf/boolean-concave • 7.4.0Takes a polygon and return true or false as to whether it is concave or not.DIRECT4
@turf/boolean-contains • 7.4.0Determines whether the second geometry is completely within the first geometry.DIRECT21
@turf/boolean-crosses • 7.4.0Checks if two geometries cross each other.DIRECT15
@turf/boolean-disjoint • 7.4.0Checks if two geometries have no overlapping areas.DIRECT12
@turf/boolean-equal • 7.4.0Determine whether two geometries of the same type have identical X,Y coordinate valuesDIRECT7
@turf/boolean-intersects • 7.4.0Checks if two geometries overlap in any way.DIRECT13
@turf/boolean-overlap • 7.4.0Checks if two geometries have an area of overlap without one being completely contained inside the other.DIRECT19
@turf/boolean-parallel • 7.4.0Determine whether each segment of a line is parallel to the correspondent segment of another line.DIRECT9
@turf/boolean-point-in-polygon • 7.4.0Checks if a point is inside an area, like a city boundary.DIRECT6
@turf/boolean-point-on-line • 7.4.0Checks if a point lies directly on a line, like a path or road.DIRECT4
@turf/boolean-touches • 7.4.0Determine whether none of the points common to both geometries intersect the interiors of both geometries.DIRECT8
@turf/boolean-valid • 7.4.0Checks if the geometry is a valid according to the OGC Simple Feature Specification.DIRECT31
@turf/boolean-within • 7.4.0Determines whether the first geometry is completely within the second geometry.DIRECT22
@turf/buffer • 7.4.0Creates a buffer around a GeoJSON feature.DIRECT13
@turf/center-mean • 7.4.0Takes a Feature or FeatureCollection and returns the mean center.DIRECT5
@turf/center-median • 7.4.0Takes a FeatureCollection of points and calculates the median center.DIRECT9
@turf/center-of-mass • 7.4.0Finds the “balance point” of irregular shapes, like a country outline.DIRECT13
@turf/center • 7.4.0Finds the central point of a GeoJSON feature, like a city or a park. Ideal for placing labels or markers.DIRECT5
@turf/centroid • 7.4.0Determines the geometric center of a polygon or shape.DIRECT4
@turf/circle • 7.4.0Takes a point and calculates the circle polygon given a radius.DIRECT5
@turf/clean-coords • 7.4.0Removes redundant coordinates from a GeoJSON Geometry.DIRECT5
@turf/clone • 7.4.0Returns a cloned copy of the passed GeoJSON Object, including possible 'Foreign Members'.DIRECT3
@turf/clusters-dbscan • 7.4.0Takes a set of points and partition them into clusters according to DBSCAN's data clustering algorithm.DIRECT9
@turf/clusters-kmeans • 7.4.0Takes a set of points and partition them into clusters using the k-means algorithm.DIRECT7
@turf/clusters • 7.4.0Group points into clusters based on their spatial proximity or properties.DIRECT4
@turf/collect • 7.4.0Merges a specified property from a FeatureCollection of points into a FeatureCollection of polygons.DIRECT11
@turf/combine • 7.4.0Combines a FeatureCollection of Point, LineString, or Polygon features into MultiPoint, MultiLineString, or MultiPolygon features.DIRECT4
@turf/concave • 7.4.0Creates a concave hull around points.DIRECT11
@turf/convex • 7.4.0Creates a convex hull around pointsDIRECT10
@turf/destination • 7.4.0turf destination moduleDIRECT4
@turf/difference • 7.4.0Finds the difference between multiple polygons by clipping the subsequent polygon from the first.DIRECT7
@turf/directional-mean • 7.4.0Calculates the average angle of a set of lines, measuring the trend of it.DIRECT10
@turf/dissolve • 7.4.0Dissolves a FeatureCollection of Polygon features.DIRECT9
@turf/distance-weight • 7.4.0Calculate the influence or weight of points over an area based on their distances.DIRECT6
@turf/distance • 7.4.0Measures the straight-line distance between two points, like cities or landmarks.DIRECT4
@turf/ellipse • 7.4.0Takes a Point and calculates the ellipse polygon given two semi-axes expressed in variable units and steps for precision.DIRECT13
@turf/envelope • 7.4.0Takes any number of features and returns a rectangular Polygon that encompasses all vertices.DIRECT6
@turf/explode • 7.4.0Takes a feature or set of features and returns all positions as points.DIRECT4
@turf/flatten • 7.4.0Flattens any GeoJSON to a FeatureCollectionDIRECT4
@turf/flip • 7.4.0Takes input features and flips all of their coordinates.DIRECT5
@turf/geojson-rbush • 7.4.0GeoJSON implementation of RBushDIRECT7
@turf/great-circle • 7.4.0Calculate great circles routes as LineString or MultiLineString.DIRECT5
@turf/helpers • 7.4.0Provides helper functions to create GeoJSON features, like points, lines, or areas on a map.DIRECT2
@turf/hex-grid • 7.4.0Creates a honeycomb-like grid of hexagons within a bounding box.DIRECT10
@turf/interpolate • 7.4.0Creates an interpolated grid of points using the Inverse Distance Weighting method.DIRECT37
@turf/intersect • 7.4.0Finds the shared area between two polygons.DIRECT7
@turf/invariant • 7.4.0Lightweight 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.DIRECT3
@turf/isobands • 7.4.0Takes 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.DIRECT11
@turf/isolines • 7.4.0Generate contour lines from a grid of data.DIRECT6
@turf/kinks • 7.4.0Takes a GeoJSON feature and returns points at all self-intersections.DIRECT3
@turf/length • 7.4.0 Calculates the length of a line, perfect for paths or routes.DIRECT6
@turf/line-arc • 7.4.0Creates a circular arc, of a circle of the given radius and center point, between two bearings.DIRECT6
@turf/line-chunk • 7.4.0Divides a LineString into chunks of a specified length.DIRECT10
@turf/line-intersect • 7.4.0Takes any LineString or Polygon GeoJSON and returns the intersecting point(s).DIRECT5
@turf/line-offset • 7.4.0Takes a line and returns a line at offset by the specified distance.DIRECT5
@turf/line-overlap • 7.4.0Takes any LineString or Polygon and returns the overlapping lines between both features.DIRECT14
@turf/line-segment • 7.4.0Creates line segments from a GeoJSON feature.DIRECT5
@turf/line-slice-along • 7.4.0Useful for extracting only the part of a route between two distances.DIRECT7
@turf/line-slice • 7.4.0Useful for extracting only the part of a route between waypoints.DIRECT7
@turf/line-split • 7.4.0Split a LineString by another GeoJSON Feature.DIRECT16
@turf/line-to-polygon • 7.4.0Converts line(s) to polygon(s).DIRECT7
@turf/mask • 7.4.0Takes polygons or multipolygons and an optional mask, and returns an exterior ring polygon with holes.DIRECT7
@turf/meta • 7.4.0Provides tools for iterating over and manipulating GeoJSON objects.DIRECT3
@turf/midpoint • 7.4.0Takes two points and calculates a point midway between them geodesically.DIRECT7
@turf/moran-index • 7.4.0Measures patterns of attribute values associated with features. Reveals whether similar values tend to occur near each other, or whether high or low values are interspersedDIRECT7
@turf/nearest-neighbor-analysis • 7.4.0Calculates 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.DIRECT12
@turf/nearest-point-on-line • 7.4.0Finds the nearest point on a line to a given pointDIRECT6
@turf/nearest-point-to-line • 7.4.0Returns the closest point, of a collection of points, to a line.DIRECT13
@turf/nearest-point • 7.4.0Finds the nearest point from a FeatureCollection of Features with Point geometries to a given point.DIRECT7
@turf/planepoint • 7.4.0Takes a triangular plane as a polygon and a point within that triangle, and returns the z-value at that point.DIRECT4
@turf/point-grid • 7.4.0Creates a grid of points within a bounding box.DIRECT23
@turf/point-on-feature • 7.4.0Takes a Feature or FeatureCollection and returns a Point guaranteed to be on the surface of the feature.DIRECT14
@turf/point-to-line-distance • 7.4.0Calculates the distance between a given point and the nearest point on a line.DIRECT12
@turf/point-to-polygon-distance • 7.4.0Calculates the distance from a point to the edges of a polygon or multi-polygon.DIRECT17
@turf/points-within-polygon • 7.4.0Finds points that fall within polygon(s).DIRECT8
@turf/polygon-smooth • 7.4.0Smooths a Polygon or MultiPolygon, based on Chaikin's algorithm.DIRECT4
@turf/polygon-tangents • 7.4.0Finds the tangents of a polygon from a point.DIRECT26
@turf/polygon-to-line • 7.4.0Converts a polygon to a line string.DIRECT4
@turf/polygonize • 7.4.0Polygonizes a set of lines that represents edges in a planar graph.DIRECT11
@turf/projection • 7.4.0Provides tools for conversion between geographic coordinates and projected coordinates.DIRECT5
@turf/quadrat-analysis • 7.4.0Quadrat 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.DIRECT33
@turf/random • 7.4.0Generates random points, lines, or polygons for testing.DIRECT3
@turf/rectangle-grid • 7.4.0Creates a grid of rectangular polygons with width and height consistent in degrees.DIRECT15
@turf/rewind • 7.4.0Rewind using Shoelace Formula.DIRECT7
@turf/rhumb-bearing • 7.4.0Takes two points and finds the bearing angle between them along a Rhumb line.DIRECT4
@turf/rhumb-destination • 7.4.0Calculates the destination point having travelled the given distance along a Rhumb line.DIRECT4
@turf/rhumb-distance • 7.4.0Calculates the distance along a rhumb line between two points.DIRECT4
@turf/sample • 7.4.0Takes a FeatureCollection and returns a FeatureCollection with given number of features at random.DIRECT3
@turf/sector • 7.4.0Creates a circular sector of a circle.DIRECT8
@turf/shortest-path • 7.4.0Returns the shortest path from start to end without colliding with any Feature in obstacles.DIRECT20
@turf/simplify • 7.4.0Reduces the number of points in a shape while keeping its overall look.DIRECT8
@turf/square-grid • 7.4.0Creates a square grid within a bounding box.DIRECT16
@turf/square • 7.4.0Takes a bounding box and calculates the minimum square bounding box that would contain the input.DIRECT5
@turf/standard-deviational-ellipse • 7.4.0Takes a collection of features and returns a standard deviational ellipse.DIRECT20
@turf/tag • 7.4.0Takes a set of points and a set of polygons and/or multipolygons and performs a spatial join.DIRECT9
@turf/tesselate • 7.4.0Tesselates a polygon or multipolygon into a collection of triangle polygons using earcut.DIRECT5
@turf/tin • 7.4.0Takes a set of points and creates a Triangulated Irregular Network.DIRECT3
@turf/transform-rotate • 7.4.0Rotates a geometry around its center or a given point.DIRECT10
@turf/transform-scale • 7.4.0Changes the size of a geometry by scaling it up or down.DIRECT12
@turf/transform-translate • 7.4.0Moves a shape or location in a specific direction.DIRECT7
@turf/triangle-grid • 7.4.0Creates a triangular grid within a bounding box.DIRECT10
@turf/truncate • 7.4.0Truncates precision of GeoJSON coordinates.DIRECT4
@turf/union • 7.4.0Combines two or more polygons into a single polygon.DIRECT7
@turf/unkink-polygon • 7.4.0Takes a kinked polygon and returns a feature collection of polygons that have no kinks.DIRECT11
@turf/voronoi • 7.4.0Takes a collection of points and a bounding box, and returns a collection of Voronoi polygons.DIRECT7
@types/d3-voronoi • 1.1.12TypeScript definitions for d3-voronoiINDIRECT0
@types/earcut • 2.1.4TypeScript definitions for earcutINDIRECT0
@types/geojson • 7946.0.16TypeScript definitions for geojsonDIRECT0
@types/kdbush • 3.0.5TypeScript definitions for kdbushDIRECT0
bignumber.js • 9.3.1A library for arbitrary-precision decimal and non-decimal arithmeticINDIRECT0
commander • 2.20.3the complete solution for node.js command-line programsINDIRECT0
fast-deep-equal • 3.1.3Fast deep equalINDIRECT0
geojson-equality-ts • 1.0.2Check two valid geojson geometries for equality.INDIRECT1
geojson-polygon-self-intersections • 1.2.2A very simple script to compute all self-intersections in a GeoJSON polygon.INDIRECT2
point-in-polygon-hao • 1.2.4A point in polygon based on the paper Optimal Reliable Point-in-Polygon Test and Differential Coding Boolean Operations on PolygonsINDIRECT1
point-in-polygon • 1.1.0determine if a point is inside a polygon with a ray intersection counting algorithmINDIRECT0
polyclip-ts • 0.16.8Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.INDIRECT2
rbush • 2.0.2High-performance 2D spatial index for rectangles (based on R*-tree with bulk loading and bulk insertion algorithms)INDIRECT1
rbush • 3.0.1High-performance 2D spatial index for rectangles (based on R*-tree with bulk loading and bulk insertion algorithms)INDIRECT1
skmeans • 0.9.7Super fast simple k-means and k-means++ clustering for unidimiensional and multidimensional data. Works in node and browserINDIRECT0
ISC8
PackageRelationDependenciesPublished
concaveman • 1.2.1Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)INDIRECT5
earcut • 2.2.4The fastest and smallest JavaScript polygon triangulation library for your WebGL appsINDIRECT0
internmap • 1.0.1Map and Set with automatic key interningINDIRECT0
quickselect • 1.1.1A tiny and fast selection algorithm in JavaScript.INDIRECT0
quickselect • 2.0.0A tiny and fast selection algorithm in JavaScript.INDIRECT0
tinyqueue • 2.0.3The smallest and simplest JavaScript priority queueINDIRECT0
topojson-client • 3.1.0Manipulate TopoJSON and convert it to GeoJSON.INDIRECT1
topojson-server • 3.0.1Convert GeoJSON to TopoJSON for smaller files and the power of topology!INDIRECT1
non-standard3
PackageRelationDependenciesPublished
@turf/jsts • 2.7.2A treeshaken subset of JSTS functions for use withinINDIRECT1
jsts • 2.7.1A JavaScript library of spatial predicates and functions for processing geometryINDIRECT0
splaytree-ts • 1.0.2A splay tree typescript libraryINDIRECT0
BSD-3-Clause3
PackageRelationDependenciesPublished
d3-array • 2.12.1Array manipulation, ordering, searching, summarizing, etc.INDIRECT1
d3-geo • 2.0.2Shapes and calculators for spherical coordinates.INDIRECT2
d3-voronoi • 1.1.2Compute the Voronoi diagram of a set of two-dimensional points.INDIRECT0
Unlicense2
PackageRelationDependenciesPublished
robust-predicates • 2.0.4Fast robust predicates for computational geometryINDIRECT0
robust-predicates • 3.0.3Fast robust predicates for computational geometryINDIRECT0
0BSD1
PackageRelationDependenciesPublished
tslib • 2.8.1Runtime library for TypeScript helper functionsDIRECT0
unknown1
PackageRelationDependenciesPublished
arc • 0.2.0draw great circle arcsINDIRECT0
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/npm/%40turf%2Fturf)](https://licenses.dev/npm/%40turf%2Fturf)
<a href="https://licenses.dev/npm/%40turf%2Fturf">
  <img src="https://licenses.dev/b/npm/%40turf%2Fturf" alt="licenses" />
</a>

Or the licenses badge code for the 7.4.0 version:

[![licenses](https://licenses.dev/b/npm/%40turf%2Fturf/7.4.0)](https://licenses.dev/npm/%40turf%2Fturf/7.4.0)
<a href="https://licenses.dev/npm/%40turf%2Fturf/7.4.0">
  <img src="https://licenses.dev/b/npm/%40turf%2Fturf/7.4.0" alt="licenses" />
</a>
GitHub