No project description provided
Project description
PlateauKit
Python library and converter for 3D city models by MLIT Project PLATEAU
国土交通省PLATEAU 3D都市モデルのPythonライブラリおよび変換ツール (WIP)
ドキュメント Documentation: https://ozekik.github.io/plateaukit/
特徴 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.2.0.tar.gz
(19.0 kB
view hashes)
Built Distribution
plateaukit-0.2.0-py3-none-any.whl
(23.1 kB
view hashes)
Close
Hashes for plateaukit-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e561daf92354320912660a98df9c28f722dbeb9e08810b5f9901cb76a418486c |
|
MD5 | 85a0538a8aec4793a58a5ba17871ef2b |
|
BLAKE2b-256 | a8a295dad0f788c890d51ec6b4e86fb168064e3b7595bf71ac0734710706cd10 |