Not defined inter-state lines in Japan? Any other countries?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- data-visualization
Research direction
Start by reproducing the provided Basemap snippet and examining the drawstates method and its boundary data for Japan. Determine whether the missing inter-state lines are unsupported or absent data, then document the finding or identify the repository data and code that would need updating.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 817
- Forks
- 395
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matplotlib/basemap
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
matplotlib/basemap#368 ·
-
Python 3.14 wheels Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
matplotlib/basemap#652 · 2 comments · 5 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
matplotlib/basemap#649 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
matplotlib/basemap#646 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
matplotlib/basemap#645 · 2 comments ·
All issues in matplotlib/basemap
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·