LoginSignup
0
0

Kepler.glにOpenStreetMapや地理院地図をCustom Map Styleでインポートする方法

Last updated at Posted at 2024-06-26

Kepler.glにはOpenStreetMapや地理院地図をCustom Map Styleとしてインポートできないバグが存在しますが、以下の方法でAdd Styleボタンが押せない問題を回避できます。

  1. mapbox://styles/mapbox/streets-v12 と入力
    image.png
  2. URLをちょっといじる (例えばv12v13など)
    image.png
  3. 以下のURLを入力
    OpenStreetMapの場合:
    https://gist.githubusercontent.com/shge/01a3eba16b033b8e1ac61a5c5e1f46c6/raw/4733d20447b4d8acec8a125bcd6c9022681a75e8/osm-raster-style.json
    国土地理院の場合:
    https://gist.githubusercontent.com/shge/1643aae04a017f1cb767ff716c3b1084/raw/79cfacad71682f0bb2f7a76099b26dd6ef1ed9ec/gsi-tiles.json
    image.png
  4. これでAdd Styleボタンが押せるようになっているはずです。

参考

GitHub Issue:
https://github.com/keplergl/kepler.gl/issues/2570 など多数

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0