Displaying 1 to 20 from 59 results

turf - A modular geospatial engine written in JavaScript

Turf is a JavaScript library for spatial analysis. It includes traditional spatial operations, helper functions for creating GeoJSON data, and data classification and statistics tools. Turf can be added to your website as a client-side plugin, or you can run Turf server-side with Node.js (see below).Download the minified file, and include it in a script tag. This will expose a global variable named turf.

react-google-maps - React.js Google Maps integration component

The changelog is automatically generated via standard-version and can be found in project root as well as npm tarball. Please, be noted, no one, I mean, no one, is obligated to help you in ANY means. Your time is valuable, so does our contributors. Don't waste our time posting questions like “how do I do X with React-Google-Maps” and “my code doesn't work”. This is not the primary purpose of the issue tracker. Don't abuse.

earcut - The fastest and smallest JavaScript polygon triangulation library for your WebGL apps

The fastest and smallest JavaScript polygon triangulation library. 2.5KB gzipped.The library implements a modified ear slicing algorithm, optimized by z-order curve hashing and extended to handle holes, twisted polygons, degeneracies and self-intersections in a way that doesn't guarantee correctness of triangulation, but attempts to always produce acceptable results for practical data.

point-in-polygon - determine if a point is inside a polygon

Determine if a point is inside of a polygon.This module casts a ray from the inquiry point and counts intersections, based on this algorithm.


Canvas based ImageMap polygon editing textarea/input replacement for jQuery

LibTessDotNet - C# port of the famous GLU Tessellator - prebuilt binaries now available in "releases" tab

Provide a robust and fast tessellator (polygons with N vertices in the output) for .NET, also does triangulation.SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) More information in LICENSE.txt.

chaikin-smooth - Chaikin's smoothing algorithm for 2D polylines

Chaikin's smoothing algorithm for 2D polylines.Performs the smoothing algorithm on the specified path, returning a list populated with the additional smoothed points. If the input path has a length of <= 2, the result will be a new array with the same points as the input.

polygon.js - maniplate polygons in 2d space

utility for working with polygons (arrays of vec2s)

simplify-geojson - apply the ramer-douglas-peucker line simplification to geojson features or feature collections in JS or on the CLI

Apply Ramer–Douglas–Peucker line simplification to GeoJSON features or feature collections in JS or on the CLI.This module uses https://github.com/seabre/simplify-geometry for the simplification and wraps it in a interface for easily simplifying GeoJSON.

turf-inside - Checks to see if a point is inside of a polygon.

Takes a Point and a Polygon or MultiPolygon and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes.Requires nodejs.

osrm-isochrone - Generate drivetime isochrones from OpenStreetMap data using OSRM

Generate drive-time isochrones from OpenStreetMap data using OSRM.The output will be in GeoJSON format.

polyclip - Martinez polygon boolean operations (a work in progress)

Crazy fast polygon boolean operations in JS using Martinez algorithm. A work in progress.

leaflet-pip - point in polygon intersections for leaflet

A Leaflet-friendly API for point in polygon operations, using substack's point in polygon library.An array of polygons in which the given point resides, an empty array if there are none. The polygons are returned as direct sublayers, so they can include MultiPolygons. You can call pointInLayer again on those if you want the sub-polygon result.

lineclip - A very fast JavaScript polyline and polygon clipping library

A very fast JavaScript library for clipping polylines and polygons by a bounding box.Returns an array of clipped lines.