No project description provided
Project description
PlateauKit
Python library and converter for 3D city models by MLIT Project PLATEAU
国土交通省PLATEAU 3D都市モデルのPythonライブラリおよび変換ツール (WIP)
特徴 Features
- PLATEAUデータセットのインストール・管理
- 並列処理でのデータ変換
- citygml-tools / citygml4j (Java) に依存せずCityJSONを生成 (一部)
- JupyterLab / Jupyer Notebookでの3D都市モデル表示 (LOD1/2)
PlateauKitのインストール Install
pip install plateaukit
コマンドライン Command-line
PLATEAUデータをインストール/アンインストール
利用可能な都市モデルの一覧を表示
plateaukit install --list
都市モデルをダウンロード・インストール
# (方法1) 東京都23区のデータをダウンロードして追加
plateaukit install plateau-tokyo23ku
# (方法2) 事前にダウンロード済みの東京都23区のデータを追加 (CityGML)
plateaukit install plateau-tokyo23ku --local ./13100_tokyo23-ku_2020_citygml_3_2_op/ --format citygml
# 追加済みのデータの一覧を表示
plateaukit list
都市モデルをアンインストール
# 東京都23区のデータをアンインストール
plateaukit uninstall plateau-tokyo23ku
PLATEAU CityGMLからCityJSON/GeoJSONを生成
# 建造物 (bldg) データからLOD0/1相当のGeoJSONを生成
plateaukit generate-geojson --dataset plateau-tokyo23ku -t bldg /tmp/tokyo23ku-bldg.json
# 建造物 (bldg) データからLOD0/1/2相当のCityJSONを生成 (データセット指定未対応、ファイル単位)
plateaukit generate-cityjson ./udx/bldg/53395548_bldg_6697_2_op.gml /tmp/53395548_bldg_6697_2_op.cityjson
PLATEAU CityGMLから属性情報を抽出
TODO: ドキュメントの整備
ライブラリ Library
TODO: ドキュメントの整備
ロードマップ Roadmap
- ドキュメントの整備
- データセットの軽量版のバンドルを提供
- ファイル分割の平均化
- テストの作成
その他のツール・ライブラリ Alternatives
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plateaukit-0.1.1.tar.gz
(19.7 kB
view hashes)
Built Distribution
plateaukit-0.1.1-py3-none-any.whl
(23.0 kB
view hashes)
Close
Hashes for plateaukit-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d8e2af4bfb90aa38af5d8112bafdbe85b263f8b3656806290374617d99e0507 |
|
MD5 | 30b49fa8b2246ace1bd2f805ef0c5cf8 |
|
BLAKE2b-256 | 631274d3198851e4f0f21181e4aab5b15ffa1a78049288d58dc20544e2881f4f |