JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11302
  • Score
    100M100P100Q174524F
  • License MIT

turf grid module

Package Exports

  • turf-grid

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (turf-grid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

turf-grid

Build Status

Takes a bounding box and a cell depth and outputs a feature collection of points in a grid.

var grid = require('turf-grid')
var depth = 15

var gridded = grid([0,0,10,10], depth)
  
console.log(gridded) // 15x15 grid of points in a FeatureCollection