1.1.0 • Published 8 months ago
@oc-honjo/vector2raster-cli v1.1.0
vector2raster-cli
ベクターからラスターを生成するCLIツールです。
インストール方法
$ npm install -g @oc-honjo/vector2raster-cli
使い方
$ v2r -h
$ v2r \
-s https://raw.githubusercontent.com/mapion/world-precipitation-map/gh-pages/style.json \
-o ./image.png \
-z 5 \
-lat 35.7 \
-lon 139.7 \
-wi 300 \
-he 300 \
-r 2
インストールせずに使う方法
$ npx @oc-honjo/vector2raster-cli -h
開発手順
$ node bin/cli.js \
-s https://raw.githubusercontent.com/mapion/world-precipitation-map/gh-pages/style.json \
-o ./image.png \
-z 5 \
-lat 35.7 \
-lon 139.7 \
-wi 300 \
-he 300 \
-r 2
公開手順
$ npm adduser
$ npm publish