implement geom_GeomMapTile()
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have an sf object that I plot with a basemap background, and I would like to plot it with ggplot and transform it to a ggplotly object.
Something like this:
library(ggplot)
library(ggspatial)
lubrary(sf)
library(plotly)
p <- ggplot() +
annotation_map_tile(zoom = 7) +
geom_sf(data = SF_OBJECT)
ggplotly(p)
when I try to run this script, I dont get the basemap, and get the following warning:
'''r
Warning message:
In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
geom_GeomMapTile() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues
'''
I request the plotly developers to implement geom_GeomMapTile() .
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告された geom_GeomMapTile() の警告から始め、ggplot、annotation_map_tile()、geom_sf()、ggplotly() を使用した提供済みの例を再現してください。結果の plotly オブジェクトでマップタイルの背景が保持されれば完了です。この issue には、実装の指針となるリポジトリのファイルやテストは記載されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100