Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
stepankuzmin/h3-polyfill
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
h3-polyfill
is a library and a command line interface to Uberh3 polyfill.
It takes an input polygon as a GeoJSON file and outputs hex as a GeoJSON polygon feature collection.
npm i h3-polyfill
consth3Polyfill=require("h3-polyfill");constpolygon={type:"Feature",properties:{},geometry:{type:"Polygon",coordinates:[[[-122.40898669999721,37.81331899998324],[-122.35447369999936,37.71980619999785],[-122.4798767000009,37.815157199999845],[-122.40898669999721,37.81331899998324]]]}};consthex=h3Polyfill(polygon,7);
Usage: h3-polyfill<polygon.geojson><resolution>
Example:
npx h3-polyfill polygon.geojson 7> hex.geojson
About
Uber h3 polyfill CLI
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.