matplotlib / matplotlib/basemap
readshapefile() inconsistencies
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 817
- フォーク
- 395
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
map = Basemap(projection='robin', lat_0=0, lon_0=100)
map.readshapefile('./Paleo_Sturtian_750Ma', 'Paleo_Sturtian_750Mm')
plt.show()
The shapefile I'm using can be downloaded from: my github.
Using the "robin" projection:
- lon_0=0 everything works fine
- lon_0 = anything else; causes wrap around problems. Horizontal lines through the plot.

Using the "cyl" projection:
- lon_0=0 everything works fine.
- lon_0 = anything else; No lines through the plot but doesn't plot the right side of the shape file.

Is it possible to change the center longitude while plotting a shapefile?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされているシェープファイルを使って提供された Basemap の例を実行し、lon_0=0 およびその他の中央経度での robin 投影と cyl 投影における readshapefile() の動作を比較します。readshapefile() のエントリーポイントと投影関連の処理を追跡します。lon_0 を変更したときに、折り返し線や欠落したジオメトリなしでシェープファイルが描画されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100