-
Notifications
You must be signed in to change notification settings - Fork 4
data
k_senda edited this page Mar 26, 2025
·
14 revisions
データファイルはすべてJSONもしくはCSV形式で記述されます.
Note
欠損値の表現について
- JSON:
"key":nullもしくはマッピング無し(JavaScriptにおけるundefined) - CSV: 文字列
"NULL"
追加廃駅も含めすべてのデータはmainブランチで管理されています.
出力されたデータセットは以下二種類が用意されています.
-
main:駅メモに実装されている駅・路線/out/main/** -
extra:mainに追加の廃駅・廃路線を合わせたもの/out/extra/**
Important
mainはextraの完全なサブセット(部分集合)です.
- JSONファイルの場合はフォーマットを厳格に定めたJSONスキーマが用意されています
- ファイルの場所は
out/${dataset}/schema/*.schema.jsonです - main/extraデータセットで一部属性(extra, attr)の定義が異なります
- mainデータセットに関してはドキュメント形式もあります
- ファイルの場所は
- 各形式のファイルをひとつに圧縮したファイルも提供しています
-
out/${dataset}/json.zip: JSON形式 -
out/${dataset}/csv.zip: CSV形式 - zipファイルに含まれるデータは表の通りです
-
${dataset}: "main" | "extra"
| file | data | JSON Schema | json.zip | csv.zip |
|---|---|---|---|---|
out/${dataset}/line.json |
路線一覧データ |
line.schema.json (docs) |
⭕ | |
out/${dataset}/line.csv |
JSONと同内容 | - | ⭕ | |
out/${dataset}/station.json |
駅一覧データ |
station.schema.json (docs) |
⭕ | |
out/${dataset}/station.csv |
JSONと同内容 | - | ⭕ | |
out/${dataset}/register.csv |
路線に登録された駅を定義 | - | ⭕ | |
out/${dataset}/tree.json |
近傍駅を高速に探索するKd-tree構造のデータ |
tree.schema.json(docs) |
⭕ | |
out/${dataset}/delaunay.json |
ドロネー分割の隣接点定義 |
delaunay.schema.json (docs) |
||
out/${dataset}/line/*.json |
路線詳細データ |
line_detail.schema.json (docs) |
⭕ | |
out/${dataset}/polyline/*.json |
路線のポリライン |
polyline.schema.json (docs) |
⭕ | |
out/${dataset}/tree/*.json |
Kd-tree構造の分割データ |
tree_segment.schema.json (docs) |
データセットのバージョンを定義したファイルです
- mainデータセット:
latest_info.json - extraデータセット:
latest_info.extra.json
| key | 型 | 説明 |
|---|---|---|
| version | number | データセットのバージョン. データセットが最後に更新された日付に対して yyyyMMddのフォーマットで、Releaseのバージョンに対応しています
|
| size | number |
out/*/json.zipのデータサイズ(byte単位). 大体のデータセット全体の大きさを表します. |
サンプル
{
"version": 20240329,
"size": 5658671
}