Create Anki flashcards to study geography using data provided by Wikidata.
There are currently four kinds of card:
- given a map, name the highlighted region
- given the name of a region, find its location on the map
- given the name of a region, name its capital
- given the capital of a region, name the region
The project can generate Anki decks for the states, provinces, prefectures, boroughs, etc. of any state or region, provided the information is available in Wikidata. If you notice erroneous or missing information, please check the corresponding Wikidata item and modify it if necessary. If the information in Wikidata differs from that in this deck, please open an issue. The same is true if you want to request additional features.
Generated decks for the following 10 countries have been shared on Anki:
- Brazil
- Canada
- France
- Germany
- India
- Italy
- Japan
- People's Republic of China
- United Kingdom
- United States of America
This project uses pipenv
to manage Python dependencies. To install them, run
pipenv install
To render SVG images, resvg
is used. You'll need to install it manually.
Assuming you have all dependencies installed, run
pipenv run ./build_deck.py Q30 # USA
replacing Q30
by the Wikidata ID of the
region you're interested in.
To display place names in a language other than English, use the --language
option. E.g. to create a deck for the People's Republic of China in Chinese:
pipenv run ./build_deck.py Q148 --language=zh # 中国
Anki Wikidata Geography is licensed under the GPL version 3 or any later
version, at your option. See LICENSE.txt
for the full license
text.