### QGISで3Dベル・ハーバーを召喚する --- ベル・ハーバー召喚してーな --- いや、どこやねん --- ![](https://i.imgur.com/bXFoXkF.png) --- 何召喚すんの --- https://www1.nyc.gov/site/doitt/initiatives/3d-building.page ![](https://i.imgur.com/4DtC8qy.png) --- #### CityGMLをCityJSONに変換する - [https://github.com/citygml4j/citygml-tools/releases](https://github.com/citygml4j/citygml-tools/releases) へアクセス - 以下のファイルをダウンロードして解凍 ![](https://i.imgur.com/6DTHL1f.png) --- - 解凍されたディレクトリに移動し、ツールを実行 ```bash % cd .../citygml_cesium_sample/tools/citygml-tools-1.4.1 % ./citygml-tools to-cityjson .../citygml_cesium_sample/assets/DA_WISE_GML/DA_WISE_GMLs/DA1_3D_Buildings_Merged.gml ``` - `No Java runtime present, requesting install.`と怒られた時はJDKをインストールする - JDKのインストールが終了してプログラムを再実行すると、gmlと同ディレクトリに同名JSONが生成される --- - 変換前:250MB - 変換後:50MB --- QGISでCityJSONを召喚 --- - `CityJSON Loader`をインストールする ![](https://i.imgur.com/hDuNmdj.png) --- - インストール後、アイコンをクリックしてプラグインを起動 - (ベクタ→CityJSON Loaderでも良い) ![](https://i.imgur.com/tTaMmcg.png) --- - CityJSONを選択し、OK ![](https://i.imgur.com/fMmEeDR.png) --- - レイヤが読み込まれる ![](https://i.imgur.com/XuQZbii.jpg) --- - ビュー→新しい3Dマップビューを選択 ![](https://i.imgur.com/BFpuKNu.png) --- - 3DでCityJSONが表示される ![](https://i.imgur.com/54hvKvD.png) すげぇ --- 完
{"metaMigratedAt":"2023-06-15T16:35:48.751Z","metaMigratedFrom":"Content","title":"Untitled","breaks":true,"contributors":"[{\"id\":\"501938f7-150f-4a68-b27a-4907062f3c90\",\"add\":2268,\"del\":1012}]"}
    357 views