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: 2 months ago
JSON representation
Convert geojson to a grid/raster
- Host: GitHub
- URL: https://github.com/rowanwins/vector-to-grid
- Owner: rowanwins
- License: mit
- Created: 2020-01-31T02:27:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T00:59:27.000Z (over 2 years ago)
- Last Synced: 2025-03-01T01:51:11.876Z (3 months ago)
- Topics: computational-geometry, polygon, rasterization
- Language: JavaScript
- Size: 4.68 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vector-to-grid
A small module for converting geojson to a grid / rasterrun `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!