Upgrade to Pro — share decks privately, control downloads, hide ads and more …

掛川城の点群データをiTownsで表示しよう

 掛川城の点群データをiTownsで表示しよう

GIS学会2021 チュートリアル1

Taro Matsuzawa aka. btm

October 30, 2021
Tweet

More Decks by Taro Matsuzawa aka. btm

Other Decks in Technology

Transcript

  1. ֻ઒৓ͷ఺܈σʔλΛ


    iTownsͰදࣔ͠Α͏
    Taro Matsuzawa (@smellman)

    View full-size slide

  2. ࣗݾ঺հ
    Georepublic Japan γχΞΤϯδχΞ / CISO


    ೔ຊUNIXϢʔβձձ௕/Ұൠࣾஂ๏ਓOSGeo೔ຊࢧ෦ཧࣄ/Ұൠࣾஂ๏ਓΦʔϓ
    ϯετϦʔτϚοϓϑΝ΢ϯσʔγϣϯδϟύϯϝϯόʔ


    ౦ژిػେֶOB/౦ژిػେֶCySecݱ໾ੜ


    breakcoreΫϥελ


    ૊௕ͱݺ͹Εͯ·͢

    View full-size slide

  3. ࠓճͷ໨త
    ੩ԬݝͷΦʔϓϯσʔλΛϓϩηογϯάͯ͠ϒϥ΢βʹදࣔ͢Δ͜ͱ


    ϓϩηογϯάͷखॱͱҾ͔͔ͬΔͱ͜ΖΛղઆ͠·͢


    ݩωλ͸ࣗ෼ͷhatena blogͷҰهࣄͰ͢


    هࣄҎ্ͷ࿩͸جຊతʹͰ͖·ͤΜ

    View full-size slide

  4. ࢖͏΋ͷ
    https://github.com/smellman/gis-society-2021-kakegawa


    εΫϦϓτͳͲ


    ֻ઒৓ͷ఺܈σʔλ


    ্هεΫϦϓτͰμ΢ϯϩʔυ͠·͢


    Linux or macOS

    View full-size slide

  5. ԿΛ͢Δ͔(1)
    όϥόϥͷlasσʔλ
    lastool
    Ұͭͷlasσʔλ

    View full-size slide

  6. ԿΛ͢Δ͔(2)
    entwine-build.sh
    Ұͭͷlasσʔλ subset
    merge
    build
    Entwine 3DTiles

    View full-size slide

  7. ԿΛ͢Δ͔(3)
    ept-tool
    Entwine 3DTiles Cesium 3DTiles

    View full-size slide

  8. ௚઀Cesium 3DTilesʹͰ͖ͳ͍ͷ͔
    https://gitlab.com/Oslandia/py3dtiles


    Py3dtilesͰ͸las͔Β௚઀3DTiles΁ม׵͸Ͱ͖Δ͕EPSG:2450ʹରԠ͠
    ͍ͯͳ͍


    ͍͓ͪ͏EPSGͷม׵ͷύον͸౤͕͛ͨɺ·ͩ͏·͘ػೳ͍ͯ͠
    ͳ͍…


    ͳ͓ɺgithubͰ͸ͳ͘gitlabͳͷͰ஫ҙ

    View full-size slide

  9. ϓϩάϥϜͷ঺հ

    View full-size slide

  10. download.sh
    wgetίϚϯυͰҰׅμ΢ϯϩʔυ͢Δ͚ͩ

    View full-size slide

  11. smellman/lastools
    lastoolsΛೖΕͨdocker image


    pdalͰ΋mergeػೳ͕͋Δ͕ɺϝϞϦෆ଍ͰམͪΔΑ͏ͳͷͰlastools
    Λར༻


    lastoolsࣗମ͸ݹ͍lasΛ؅ཧ͢ΔιϑτͰɺීஈ࢖͍͢ΔͳΒpdalͷํ͕
    ͓קΊ

    View full-size slide

  12. entwine-build.sh / connormanning/
    entwine
    entwineͷެࣜdocker image


    entwineܗࣜΛ࡞੒͢Δͷʹ࢖͏


    buildίϚϯυͰsubsetΦϓγϣϯͰ64෼ׂͨ͠΋ͷΛ࠷ޙʹmergeί
    ϚϯυͰҰͭͷEntwine 3DTilesΛ࡞੒

    View full-size slide

  13. ept-tools(ΧελϜ൛)
    EPSG:2450 ʹରԠͤͨ͞ept-tools


    Proj4ͷఆٛΛ௥Ճ͚ͨͩ͠


    ຊՈept-tools͕·࣮ͨ૷͕มΘͬͯ͠·ͬͨͷͰύονΛ౤͛Δ
    ͷ͕೉͘͠ͳ͍ͬͯΔ


    Entwine 3DTiles͔ΒCesium 3DTilesʹม׵͢Δͷʹར༻

    View full-size slide

  14. ͋ͱ͸
    ద౰ʹखΛಈ͔͍ͯͩ͘͠͞


    BuildΛ64෼ׂ͍ͯ͠ΔͷͰ΋͔͢͠ΔͱऴΘΒͳ͍Մೳੑ͸͋Γ·
    ͢


    ผαʔό༻ҙͰ͖ΔͳΒparallel൛Λ࢖ͬͯΈ͍ͯͩ͘͞


    ਵ࣭࣌໰Λड͚෇͚·͢

    View full-size slide