Skip to content

creates a colorfol geojson hilburt curve using node-s2

License

Notifications You must be signed in to change notification settings

cutting-room-floor/s2cover

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2Cover

A tiny cli for extracting node-s2 cell covers with cell info and index order visualization.

###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

About

creates a colorfol geojson hilburt curve using node-s2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published