Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Not defined inter-state lines in Japan? Any other countries?

オープン
#275 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

まず、提供された Basemap スニペットを再現し、drawstates メソッドとその日本の境界データを調査します。欠落している州境線が未対応なのか、データが存在しないのかを判断し、その結果を記録するか、更新が必要なリポジトリのデータとコードを特定します。

索引モデルが issue の本文から書いたものです。

説明

Hi,

I'm making a map with Basemap of Japan.
However, I could not draw the inter-state borders in Japan.
My snippet is like below.

# setting the two corners of the map 
lon0, lat0 = (125, 25)
lon1, lat1 = (150, 46)
# creating a Basemap object
m = Basemap(projection='merc',llcrnrlon=lon0, llcrnrlat=lat0,
            urcrnrlon=lon1, urcrnrlat=lat1,  resolution='l')
x0, y0 = m(lon0, lat0)
x1, y1 = m(lon1, lat0)
plt.figure(figsize=(15,10))
# drawing coastlines, effective
m.drawcoastlines()
# fill out continent area with a specified color
m.fillcontinents(color='coral',lake_color='aqua')
# fill out ocean area with a specified color
m.drawmapboundary(fill_color='aqua')
# drawing country-border lines, effective
m.drawcountries()
# drawing inter-state lines, not effective
m.drawstates()

Therefore, drawstates method is not working well for Japan.
Please let me ask several questions on this matter.

Q. Is there not defined the inter-state lines in Japan with Basemap?

Q. If not, how should we add codes and data to the Basemap repository?

Q. Is there any other countries where their inter-state lines have not defined yet?

Thanks for your kind answers.

Best,
Takeshi

主要言語
Python
スター
818
フォーク
395
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

matplotlib/basemap のほかの issue

matplotlib/basemap の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。