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

Creating an evacuation planning AI agent using ...

Avatar for otsuka otsuka
October 24, 2026

Creating an evacuation planning AI agent using open data

2026/10/24 JAWS-UG 茨城 #18 祝!2周年記念祭「オープンデータから避難計画AIエージェント作成」

Avatar for otsuka

otsuka

October 24, 2026

More Decks by otsuka

Other Decks in Technology

Transcript

  1. 【補足】どうやって地図上の道路に線を描く? 1. Routes APIに出発地と目的地を渡す。 res = client.calculate̲routes( Origin=[lng1, lat1], #

    出発地 [経度, 緯度] Destination=[lng2, lat2], # 避難所 [経度, 緯度] TravelMode="Pedestrian", # 徒歩(車なら "Car") LegGeometryFormat="Simple", # 経路の線を座標の並びで返してもらう LegAdditionalFeatures=["Summary"], # 距離・所要時間も返してもらう ) 道路の上で出発地と目的地の経路を探す。 その道の交差点や曲がり角ごとの座標を返す。 2. 取得した座標を線で結ぶ。