Skip to content

Cesium

カラー見本

https://colorcodesearch.com/chart-rgb/

住所と緯度経度

Cesium

mongoDB

docker

*【Docker】docker-composeを使って楽してコンテナを動かす no.24 https://qiita.com/Mayumi_Pythonista/items/ad12ea33d7360b2c6d1e

時系列

https://qiita.com/takahi/items/8c414d33e98b6e960099

from猪村さん

BLENDER

https://cgbox.jp/2023/03/12/blender-gis-landscape/

GISデータのためのデータベース

https://zenn.dev/yizumi1012xxx/articles/8af66ddc84d01a5eaf1e

https://qiita.com/takahi/items/0cea863db1cabc67e231 https://nnao-web.boo.jp/2021/05/20/post-870/

react

https://qiita.com/yusuke-saruya/items/ee39e99ee1e412751cac - バナナの食べ頃を機械学習モデルで判定するWEBアプリを作ってみた http://landxml.org/ https://qiita.com/a01sa01to/items/fc6bf8bb5b1cb0db01cf

ムーンショット

https://sandcastle.cesium.com/?src=Terrain%20Exaggeration.html

地質図

https://www.jstage.jst.go.jp/article/geosocabst/2016/0/2016_544/_pdf https://gsj-seamless.jp/labs/elev2/tools/terrainProvider.html

api

vue

javascript

DEM

plateau

3Dモデル

衛星

https://qiita.com/T-ubu/items/e40e49b3321dfc720b78 https://scihub.copernicus.eu/dhus/#/home

https://qiita.com/shuntarohata/items/0e60228ae4cb2a63c6cf https://qiita.com/T-ubu/items/de0d30e0f2bdcd72ee8a

Cesium

https://docs.ogc.org/is/20-010/20-010.html#toc44 https://cesium.com/blog/2021/11/10/introducing-3d-tiles-next/

プラグイン

プラトーでできることできないこと

https://www.hcc.co.jp/hcclab/20210621/

https://3d-city-model.esrij.com/

gocesiumtilerを利用した変換

https://github.com/mfbonfigli/gocesiumtiler https://phreeqc.blogspot.com/2022/03/

 ./gocesiumtiler -i ./input -o ./output -e 4326 -maxpts 100000 -z 2.5 -algorithm randombox -geoid -folder -recursive
// Cesiumのビューアーを初期化
const viewer = new Cesium.Viewer('cesiumContainer');
// 地盤データのサンプル(ポリゴンの頂点として使用)
const groundData = [
    { latitude: 35.0, longitude: 135.0, safety: 0.2 }, // 安全度(0.0〜1.0)
    { latitude: 35.1, longitude: 135.1, safety: 0.8 },
    // 他のデータポイント...
];
// 地盤データをもとにポリゴンを追加
groundData.forEach((dataPoint, index) => {
    // 次のデータポイントとの間にポリゴンを作成
    if (index < groundData.length - 1) {
        const nextPoint = groundData[index + 1];
        viewer.entities.add({
            polygon: {
                hierarchy: Cesium.Cartesian3.fromDegreesArray([
                    dataPoint.longitude, dataPoint.latitude,
                    nextPoint.longitude, nextPoint.latitude,
                    // 他の頂点を追加...
                ]),
                material: Cesium.Color.fromHsl(0.6 - dataPoint.safety, 1.0, 0.5, 0.5) // 安全度に応じて色を変更(赤〜青)
            }
        });
    }
});
// カメラの位置を調整
viewer.camera.flyTo({
    destination: Cesium.Cartesian3.fromDegrees(135.05, 35.05, 10000)
});

測地系

WGS84 4326 https://lemulus.me/column/epsg-list-gis