This package has been deprecated

Author message:

This module is abandoned and no longer maintained. Use at your own risk.

s2cover

0.1.3 • Public • Published

s2cover

A tiny cli for extracting node-s2 cell covers with cell info and index order visualization. The output looks like this:

img

install

npm install s2cover -g

usage

# read a geojson file 
s2cover ./poly.geojson | geojsonio
# pipe in geojson 
cat poly.geojson | s2cover | geojsonio

options

-h --help : show options and usage
-l --line : draw a hilburt curve throught the cells by index order
-c --color color the cells from white->purple by index order

Readme

Keywords

Package Sidebar

Install

npm i s2cover

Weekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • mapbox-admin