No project description provided
Project description
PlateauKit
Python library and converter for 3D city models by MLIT Project PLATEAU
国土交通省PLATEAU 3D都市モデルのPythonライブラリおよび変換ツール (WIP)
特徴 Features
- 並列処理でのデータ変換
- citygml-tools / citygml4j (Java) に依存せずCityJSONを生成 (一部)
- JupyterLab / Jupyer Notebookでの3D都市モデル表示 (LOD1/2)
インストール Install
pip install plateaukit
コマンドライン Command-line
PLATEAUデータをダウンロード
利用可能な都市モデルの一覧を表示
plateaukit install --list
都市モデルをダウンロード・インストール
# 東京都23区のデータをダウンロードして追加
plateaukit install plateau-tokyo23ku
# ダウンロード済みの東京都23区のデータを追加 (CityGML)
plateaukit install plateau-tokyo23ku --local ./13100_tokyo23-ku_2020_citygml_3_2_op/ --format citygml
# 追加済みのデータの一覧を表示
plateaukit list
PLATEAU CityGMLからCityJSON/GeoJSONを生成
# 建造物 (bldg) データからLOD0/1相当のGeoJSONを生成
plateaukit generate-geojson /tmp/tokyo23ku-bldg.json --dataset plateau-tokyo23ku -t bldg
# 建造物 (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: ドキュメントの整備
ロードマップ 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.0.tar.gz
(16.7 kB
view hashes)
Built Distribution
plateaukit-0.1.0-py3-none-any.whl
(20.1 kB
view hashes)
Close
Hashes for plateaukit-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a1e84d5a84f0ccc95cf69b9fee7f974d4b8be5b12ea2a44c9063bdee870542 |
|
MD5 | 8c91545877b09f3e41e598ec4d9029ab |
|
BLAKE2b-256 | 167bae255313699444d78adde3fa517fac419bc7f479ba9bb9b2f5bcb9d051d1 |