splatone 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/color.js +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,13 +13,14 @@ SNSのジオタグ付きポストをキーワードに基づいて収集する
|
|
|
13
13
|
|
|
14
14
|
## Change Log
|
|
15
15
|
|
|
16
|
-
### v0.0.13 → v0.0.14
|
|
16
|
+
### v0.0.13 → v0.0.14 → v0.0.15 → v0.0.16 → v0.0.17
|
|
17
17
|
* **[可視化モジュール]** ```--vis-majority-hex```追加
|
|
18
18
|
* 結果の色固定機能追加 (キーワード指定方法を参照の事)
|
|
19
|
+
* [Bug Fix] npxが起動しない事象の修正
|
|
19
20
|
|
|
20
21
|
### v0.0.12 → v0.0.13
|
|
21
22
|
* BulkyのPointMarkerのサイズや透明度を可変に
|
|
22
|
-
* コマンドライン引数で指定 (詳しくは```
|
|
23
|
+
* コマンドライン引数で指定 (詳しくは``` npx -y -p splatone@latest crawler --help```)
|
|
23
24
|
|
|
24
25
|
[これ以前のログ](CHANGELOG.md)
|
|
25
26
|
|
|
@@ -32,7 +33,7 @@ SNSのジオタグ付きポストをキーワードに基づいて収集する
|
|
|
32
33
|
## Helpの表示
|
|
33
34
|
|
|
34
35
|
```shell
|
|
35
|
-
$ npx -y
|
|
36
|
+
$ npx -y -p splatone@latest crawler --help
|
|
36
37
|
[app] [plugin] loaded: flickr@1.0.0
|
|
37
38
|
使い方: crawler.js [options]
|
|
38
39
|
|
|
@@ -97,7 +98,7 @@ For marker-cluster Visualizer
|
|
|
97
98
|
--version バージョンを表示 [真偽]
|
|
98
99
|
|
|
99
100
|
cold_@bimota-due MINGW64 /c/GitHub/Splatone (61-可視化メソッドmajorityhex)
|
|
100
|
-
$
|
|
101
|
+
$ npx -y -p crawler@latest --help
|
|
101
102
|
[app] [plugin] loaded: flickr@1.0.0
|
|
102
103
|
使い方: crawler.js [options]
|
|
103
104
|
|
|
@@ -220,7 +221,7 @@ APIキーは以下の3種類の方法で与える事ができます
|
|
|
220
221
|
#### コマンド例
|
|
221
222
|
* クエリは海と山のキーワード検索。上記スクリーンショットは日本のデータ
|
|
222
223
|
```shell
|
|
223
|
-
$
|
|
224
|
+
$ npx -y -p splatone@latest crawler -p flickr -k "sea,ocean|mountain,mount" --vis-bulky--p-flickr-APIKEY="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
224
225
|
```
|
|
225
226
|
|
|
226
227
|
#### コマンドライン引数
|
|
@@ -241,7 +242,7 @@ $ npx -y -- splatone@latest crawler -p flickr -k "sea,ocean|mountain,mount" --vi
|
|
|
241
242
|
#### コマンド例
|
|
242
243
|
* クエリは水域と通路・橋梁・ランドマークを色分けしたもの、上記スクリーンショットはベネチア付近のデータ
|
|
243
244
|
```shell
|
|
244
|
-
$ npx -y
|
|
245
|
+
$ npx -y -p splatone@latest crawler -p flickr -k "水域=canal,channel,waterway,river,stream,watercourse,sea,ocean,gulf,bay,strait,lagoon,offshore|橋梁=bridge,overpass,flyover,aqueduct,trestle|通路=street,road,thoroughfare,roadway,avenue,boulevard,lane,alley,roadway,carriageway,highway,motorway|ランドマーク=church,sanctuary,chapel,cathedral,basilica,minster,abbey" --vis-marker-cluster --vis-bulky --p-flickr-APIKEY="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
245
246
|
```
|
|
246
247
|
|
|
247
248
|
#### コマンドライン引数
|
|
@@ -258,7 +259,7 @@ $ npx -y -- splatone@latest crawler -p flickr -k "水域=canal,channel,waterway,
|
|
|
258
259
|
* クエリは水域・緑地・交通・ランドマークを色分けしたもの。上記スクリーンショットはフロリダ半島全体
|
|
259
260
|
*
|
|
260
261
|
```shell
|
|
261
|
-
$
|
|
262
|
+
$ npx -y -p splatone@latest crawler -p flickr -k "水域=canal,channel,waterway,river,stream,watercourse,sea,ocean,gulf,bay,strait,lagoon,offshore|緑地=forest,woods,turf,lawn,jungle,trees,rainforest,grove,savanna,steppe|交通=bridge,overpass,flyover,aqueduct,trestle,street,road,thoroughfare,roadway,avenue,boulevard,lane,alley,roadway,carriageway,highway,motorway|ランドマーク=church,chapel,cathedral,basilica,minster,temple,shrine,neon,theater,statue,museum,sculpture,zoo,aquarium,observatory" --vis-majority-hex --v-majority-hex-Hexapartite --p-flickr-APIKEY="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
262
263
|
```
|
|
263
264
|
|
|
264
265
|
#### コマンドライン引数
|
|
@@ -320,17 +321,17 @@ seaだけでは集められるポストが限定されるので、同様の意
|
|
|
320
321
|
- 使い方(6色のカラーパレットを2セット作りたい):
|
|
321
322
|
|
|
322
323
|
```bash
|
|
323
|
-
npx -y
|
|
324
|
+
npx -y -psplatone@latest colors <count> <sets>
|
|
324
325
|
# 例: 6色を3セット生成(ターミナルに色付きで表示)
|
|
325
|
-
npx -y
|
|
326
|
-
```
|
|
326
|
+
npx -y -p splatone@latest colors 6 3
|
|
327
|
+
```
|
|
327
328
|
|
|
328
329
|
- オプション:
|
|
329
330
|
|
|
330
331
|
- `--no-ansi` : ANSI カラーシーケンスを出力せず、プレーンなカンマ区切りの HEX を出力します(パイプやログ向け)。
|
|
331
332
|
|
|
332
333
|
```bash
|
|
333
|
-
npx -y
|
|
334
|
+
npx -y -p splatone@latest colors --no-ansi 6 3
|
|
334
335
|
```
|
|
335
336
|
|
|
336
337
|
## ダウンロード
|
package/color.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "splatone",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "Multi-layer Composite Heatmap",
|
|
5
5
|
"homepage": "https://github.com/YokoyamaLab/Splatone#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"main": "index.js",
|
|
17
17
|
"bin": {
|
|
18
18
|
"crawler": "./crawler.js",
|
|
19
|
-
"
|
|
19
|
+
"colors": "./color.js"
|
|
20
20
|
},
|
|
21
21
|
"imports": {
|
|
22
22
|
"#lib/*": "./lib/*.js"
|