はじめてのマップ表示
leafmapを使って手軽にマップ表示をしてみます。
Leafmapは、Google Colab、JupyterNotebook環境で地図作成と地理空間分析を行うためのPythonパッケージです。
Leafmapは、foliumやipyleaflet(インタラクティブマップ作成用)、WhiteboxToolsやwhiteboxgui(地理空間データ分析用)、ipywidgets(インタラクティブなGUIデザイン用)などのオープンソースのパッケージをベースに構築されています。
- 対話型マッピングのためのPythonパッケージであるleafmapの紹介
- Introducing the leafmap Python package for interactive mapping (video | gif | notebook)
- leafmapでベースマップを使用する
- Cloud Optimized GeoTIFF(COG)とSpatioTemporal Asset Catalog(STAC)の利用について
- Using Cloud Optimized GeoTIFF (COG) and SpatioTemporal Asset Catalog (STAC) (notebook)
- Cloud Optimized GeoTIFF(COG)のバーチャルモザイクの作成
- Creating a virtual mosaic of Cloud Optimized GeoTIFFs (COG) (notebook)
- leafmapを使ったローカルラスターデータセットの読み込み
- Loading local raster datasets with leafmap (notebook)
- 地図にカスタム凡例を追加する
- Adding custom legends to the map (notebook)
- 地図にカスタムカラーバーを追加する
- Adding custom colorbars to the map (notebook)
- LeafmapでWhiteboxToolsを使用する
- Using WhiteboxTools with leafmap (notebook)
- CSVをポイントに変換する
- ローカルベクターデータ(shp, geojson, kmlなど)を地図に追加する
- Adding local vector data (e.g., shp, geojson, kml) to the map (notebook)
- 複数の地図を同時に可視化するリンクマップの作成
- Creating linked maps for visualizing multiple maps simultaneously (notebook)
- 1行のコードで分割地図を作成する
- Creating a split-panel map with a single line of code (notebook)
- 1行のコードでGeoPandas GeoDataFrameを地図に追加する。
- Adding a GeoPandas GeoDataFrame to the map with a single line of code (notebook)
- PostGISデータベースから地図にデータを追加する
- Adding data from a PostGIS database to the map (notebook)
- OpenStreetMapのデータを1行のコードで地図にダウンロードする。
- Downloading OpenStreetMap data to the map with a single line of code (notebook)
- HERE Map Widget for Jupyterをプロットのバックエンドとして使用する。
- 地図にベクタータイルレイヤーを追加する
- Adding vector tile layers to the map (notebook)
- ポップアップ属性を持つポイントレイヤーを地図に追加する
- Adding a point layer with popup attributes to the map (notebook)
- 地図をhtmlファイルとして保存する
- プラネットグローバルマンスリーとクオータリーモザイクの追加
- Adding Planet global monthly and quarterly mosaic (notebook)
- タイムセリーズインスペクタをワンクリックで使用する
- Using timeseries inspector with one click (notebook)
- タイムスライダーを使った時系列画像の可視化
- Using time slider for visualizing timeseries images (notebook)
- 1行のコードでカラーマップを作成する
- Creating colormaps with a single line of code (notebook)
- csvからヒートマップを作成する
- カラーバーと地図タイトルを使った人口ヒートマップの作成
- Creating a population heat map with a colorbar and map title (notebook)
- kepler.glプロッティングバックエンドを利用したインタラクティブマップの作成
- ベースマップギャラリーの作成
- 1行のコードで地図を公開
- Publishing maps with a single line of code (notebook)
- pydeckプロッティングバックエンドを使用する
- Using the pydeck plotting backend (notebook)
- 米国国勢調査のデータを使用
- xyzservicesでベースマップを検索する
- Searching basemaps with xyzservices (notebook)
- ローカル ラスター データセットと Cloud Optimized GeoTIFF (COG) の読み込み
- Loading local raster datasets and Cloud Optimized GeoTIFF (COG) (notebook)
- 地図に画像をオーバーレイ表示する
- Adding image overlay to the map (notebook)
- xyデータからポイントを追加する
- Adding points from xy data (e.g., CSV, Pandas DataFrame) (notebook)
- xyデータからサークルマーカーを追加する
- Adding circle markers from xy data (e.g., CSV, Pandas DataFrame) (notebook)
- 地図にラベルを追加する
- Planetary Computer STACアイテムを地図に追加する
- Adding Planetary Computer STAC item to the map (notebook)
- plotlyのプロッティングバックエンドを使用する
- Using the plotly plotting backend (notebook)
- インスペクターツールを使った画素値の取得
- Getting pixel values using the Inspector tool (notebook)
- インタラクティブなplotlyツールバーGUIを使用する
- Using the interactive plotly toolbar GUI (notebook)
- ラスターGUIによるCOG/STACアイテムの読み込み
- Loading COG/STAC items using the raster GUI (notebook)
- クラウド最適化GeoTIFF(COG)の作成
- Creating Cloud Optimized GeoTIFF (COG) (notebook)
- ベクターデータ内の位置や特徴を検索する
- Searching for locations and features in vector data (notebook)
- ベクターデータの属性テーブルをコーディングなしで開く
- Opening vector data attribute table without coding (notebook)
- コーディングなしでインタラクティブにベクターデータを作成
- Creating vector data interactively without coding (notebook)
- 既存のベクターデータをコーディングなしでインタラクティブに編集
- Editing existing vector data interactively without coding (notebook)
- numpyの配列をCOGに変換する
- Converting numpy array to COG (notebook)
- たった1行のコードでLiDARデータを3Dで可視化する
- Visualizing LiDAR data in 3D with only one line of code (notebook)
- foliumで分割地図を作成する
- Creating a split-panel map with folium (notebook)
- カスタムアイコンでマーカークラスタを作成する
- Creating a marker cluster with custom icons (notebook)
- マスクによる画像の切り抜き
- NetCDFデータの可視化
- Visualizing NetCDF data (notebook)
- netCDF (Network Common Data Form) は、気温、湿度、気圧、風速、方向などの科学的な多次元データ (変数) を格納するためのファイル形式
- 多様な分類体系を持つコレポリスマップの作成
- Creating choropleth maps with a variety of classification schemes (notebook)
Demo
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
YouTube Channel
ジオスペーサーのチュートリアルを共有するために、YouTubeチャンネルを作りました。私のチャンネルに登録すると、定期的に更新されます。もし、あなたが見たいチュートリアルがあれば、こちらから機能リクエストを送信してください。
I have created a YouTube Channel for sharing geospaital tutorials. You can subscribe to my channel for regular updates. If there is any specific tutorial you would like to see, please submit a feature request here.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →