Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rowanwins/vector-to-grid

Convert geojson to a grid/raster
https://github.com/rowanwins/vector-to-grid

computational-geometry polygon rasterization

Last synced: 11 days ago
JSON representation

Convert geojson to a grid/raster

Awesome Lists containing this project

README

        

# vector-to-grid
A small module for converting geojson to a grid / raster

run `npm run debug` to spin up a leaflet map with the result

To rasterize switzerland (700 vertices) with a 100m pixel size is taking 60ms and the algorithm is still very unoptimised!