GeoJSON datasets of:
- Continents
- Regions & Subregions (as defined by the UN Geoscheme)
- Countries and their administrative divisions
- Cities with populations greater than 1000
- Timezones (as defined by the tz database)
- Major Bodies of Water
The current version of the data is 4.1. If GADM has updated and the administrative data for countries needs to be rescraped, do the following:
- Ensure you have python and pip 3 installed
- Install packages:
pip3 install -r requirements.txt
- Run the scraper:
python3 ./scripts/countries.py
The scraper does the following:
- Clears old GADM data from
geojson/countries
- Gets all ISO 3166-1 alpha3 country codes (250) with available datasets on GADM
- Scrapes GADM by country code and populates a directory for each country with all administrative division data available
admin_0
describes the boundaries of the country itself- First order administrative level data (ISO 3166-2) (
admin_1
) is available for all but 49 countries - Administrative divisions up to fourth-level are available where applicable