Hot answers tagged


Check out turf.js, which should give you the geospatial capabilities to do what you need in browser. In particular, turf.squareGrid and turf.merge. Something like this might get you most of the way there: var poly = <geoJSONPolygon>; var grid = turf.squareGrid(turf.extent(poly), cellWidth, unit); var boundingGrid = ...

Only top voted, non community-wiki answers of a minimum length are eligible