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

CartoDB basemaps now need an API key (somewhat urgent)

オープン 初心者向け
#1,332 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@ChrisFairless がすでに取り組んでいます。

2026年10月7日 から。

  • #1333 @ChrisFairless による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

issue で言及されている CartoDB.Positron の4つの使用箇所をコードベース内で検索してください。報告にはそのファイル名は記載されていません。まずそれらのプロットのエントリポイントを確認し、10分版の CLIMADA ノートブックを実行して、空白のベースマップを再現してください。提案されたプロバイダ Esri.WorldGrayCanvas を使用したベースマップが、影響を受けるマップに表示されれば完了です。

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

説明

bug

Describe the bug
All CLIMADA maps with a basemap now give a blank background with an image stating an API key is required:

This report describes the issue: https://www.spatialworkflow.io/basemap-tiles-api-key-required/ (thought it sounds very AI generated, I haven't verified its results)

Since CLIMADA's canonical basemap is CartoDB.Positron, mapping is broken now (for me at least).

Workaround
Whenever you use a method that plots a basemap, you can import contextily as ctx and then in the method pass the parameter url=ctx.providers.Esri.WorldGrayCanvas. This uses a different, still available basemap.

e.g. if you're mapping impacts and have an Impact object, imp, call imp.plot_basemap_eai_exposure(url=ctx.providers.Esri.WorldGrayCanvas)

Suggested fix:
Find and replace CartoDB.Positron with Esri.WorldGrayCanvas. It's less good for CLIMADA's mapping, but it works for now. We can discuss a better solution after rolling out the fix.

A quick search in the codebase suggests it's used in four locations, and no other CartoDB basemaps are used. I haven't checked Petals yet.

To Reproduce
Plot anything, e.g. run the 10 minute CLIMADA notebook. (Detailed instructions in comment below.)

Expected behavior
A map with a basemap.

Screenshots
(from the 10-minute tutorial: this is Florida)

Image

Climada Version:
I assume all. This was 6.1.0.

System Information (please complete the following information):

  • Operating system and version: MacOS
  • Python version: 3.11.13
主要言語
Jupyter Notebook
スター
478
フォーク
166
平均マージ
2日 31分
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

CLIMADA-project/climada_python のほかの issue

CLIMADA-project/climada_python の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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