Skip to main content

No project description provided

Project description

PlateauKit

PyPI

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


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)

Uploaded Source

Built Distribution

plateaukit-0.2.0-py3-none-any.whl (23.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page