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

MapLibreとtile.openstretmap.jpで始めるベクトル地図プログラミング

 MapLibreとtile.openstretmap.jpで始めるベクトル地図プログラミング

FOSS4G Tokai 2021発表資料

9987516c273a7874b12b742e7aef828f?s=128

Taro Matsuzawa aka. btm

August 28, 2021
Tweet

Transcript

  1. 5BSP.BUTV[BXB !TNFMMNBO .BQ-JCSFͱUJMFPQFOTUSFUNBQKQ Ͱ࢝ΊΔϕΫτϧ஍ਤϓϩάϥϛϯά '044(5PLBJ

  2. ࣗݾ঺հ w ߹ಉձࣾ(FPSFQVCMJD+BQBOγχΞΤϯδχΞ w 04(FP೔ຊࢧ෦ཧࣄ w ೔ຊ6/*9Ϣʔβʔձձ௕ ೥·Ͱ  w

    0QFO4USFFU.BQ'PVOEBUJPO+BQBOϝϯόʔ w ౦ژిػେֶ$Z4FDडߨੜ ࣾձਓֶੜ  w #SFBLDPSFΫϥελ
  3. ࠓճͷ͓୊

  4. w .BQ-JCSFʹ͍ͭͯͷ঺հ w UJMFPQFOTUSFFUNBQKQͷ঺հ w ϕΫτϧλΠϧϓϩάϥϛϯάͷ঺հ

  5. .BQ-JCSFͷ঺հ

  6. .BQ-JCSFͱ͸

  7. .BQ-JCSFͱ͸ w .BQCPY(-Y͔ΒGPSLͨ͠044ͷϥΠϒϥϦ w .BQCPY(-Y͔Βೖͬͨػೳ͸࣮૷͞Ε͍ͯͳ͍ w 4LZػೳɺ৽͍͠ඪߴλΠϧͳͲ w .BQ-JCSF΋.BQCPYಉ༷ʹ+BWBTDSJQU /BUJWF

    J04"OESPJE ͷ࣮૷͕͋Δ w .BQ-JCSFࣗମͷίϛϡχςΟ͕04.64ίϛϡχςΟͷ4MBDLͰಈ͍͍ͯΔ
  8. .BQ-JCSF.BQCPYͱ͸ͳΜͧ΍ w ݩʑ͸.BQCPY͕ࣾ։ൃ͍ͯͨ͠.BQCPY7FDUPS5JMFͷදࣔΛߦ͏ϥΠϒϥ Ϧ܈Λ.BQCPY4%,ͱͯ͠։ൃ͞Ε͍ͯͨ w ػೳͱͯ͠͸-FB fl FU+4΍0QFO-BZFST΍5BOHSBN+4(-ͳͲ͕ڝ߹ͱͳ Δɻଞʹ΋ϥελλΠϧͰ͋Ε͹"QQMF.BQT΍(PPHMF.BQT΋ಉ͡ػೳ ͕͋ͬͨΓ͢Δɻ

    w .BQCPY4%,ͷΫϩʔζυιʔεԽʹ൐͍ొ৔ͨ͠ͷ͕.BQ-JCSF
  9. .BQ-JCSF(-ͷ࠷ۙͷಈ޲ w ࣮૷ͷ5ZQF4DSJQUԽ͕ਐΜͰ͍Δ w ׬શʹ.BQCPYͱ͸ํ޲ੑ͕ҟͳΔ w ඪߴʹ͍ͭͯ͸ಠ࣮ࣗ૷ΛࢼΈ͍ͯΔ w 7FSTJPOϦϦʔε࣌ʹ.BQCPYͷϥΠηϯεΩʔʹඇରԠʹͳΔ༧ఆ w

    "NB[PO8FC4FSWJDFͷ.BQ4%,Ͱඪ४Ͱ࠾༻͞Ε͍ͯΔ
  10. .BQ-JCSFOBUJWFͷ࠷ۙͷಈ޲ w কདྷతʹ͸J04ͷ࣮૷ʹ.FUBMΛ࢖͏ํ޲ੑ͕ࣔ͞Ε͍ͯΔ w ͋ΔҙຯҰ෦(-Ͱ͸ͳ͍࣮૷΋ਐΉ w 2U .47$ͷαϙʔτͳͲͷΫϩεϓϥοτϑΥʔϜԽ΋ਐΉ w ͱ͸͍͑͋·Γಈ޲͕௥͑ͯͳ͍

  11. UJMFPQFOTUSFFUNBQKQʹ͍ͭͯ

  12. UJMFPQFOTUSFFUNBQKQʹ͍ͭͯ w 0QFO4USFFU.BQ'PVOEBUJPO+BQBO͕ӡӦ͍ͯ͠Δ0QFO.BQ5JMFT  UJMFTFSWFSHMΛ༻͍ͨϕΫλλΠϧɺϥελλΠϧͷ഑৴αʔό w ຖि೔ຊͷΤϦΞͷΈόʔδϣϯΞοϓΛ͍ͯ͠Δ w ݄༵೔ͷேʹಈ͔ͯ͠໦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w 'JMF4XJGU1BDLBHF

  24. .BQ-JCSFOBUJWFJ04ͷྫ w ·ͩ.BQCPYͱग़ͯ͘ΔͷͰ஫ҙ

  25. .BQ-JCSFOBUJWFJ04ͷྫ w 4XJGU6*Λ࢖͏৔߹͸ϥούʔΛ ࢖͏ w IUUQTEPDTNBQCPYDPN IFMQUVUPSJBMTJPTTXJGUVJ w ·ͩOBUJWF͸υΩϡϝϯτ͕ॆ࣮ ͍ͯ͠ͳ͍ͷͰ.BQCPYͷυΩϡ

    ϝϯτʹཔΔͷ͕ྑͦ͞͏
  26. .BQ-JCSFOBUJWFJ04ͷྫ

  27. ·ͱΊ w .BQ-JCSF͸ී௨ʹ࢖͑ΔΑ͏ʹͳ͍ͬͯΔΑ w /BUJWF͸·ͩυΩϡϝϯτ͕ͦΖͬͯͳ͍ͷͰ஫ҙ w UJMFPQFOTUSFFUNBQKQͷϕΫλλΠϧͱ૬ੑ͕ྑ͍ͷͰ࢖͍ͬͯͩ͘͞ʂ

  28. ͓·͚ w Իָʹ߹Θͤͯݐ෺͕ಈ͘αΠτ w IUUQTPTNGKHJUIVCJPHFPXFFL@BOE@XFFLFOE@ w "SDIJWFPSH͔Βμ΢ϯϩʔυ͢ΔͷͰͪΐͬͱ஗͍͔΋͠Εͳ͍ w ͪͳΈʹ༑ୡͷۂΛ࠾༻͍ͯ͠·͢