Package Management
Install, update, and manage regional scenery packages.
XEarthLayer streams satellite imagery onto terrain supplied by regional scenery packages. A package carries the terrain mesh, the terrain definitions that tell XEarthLayer which imagery to fetch, and, since 0.5.0, the night lighting recipes for its tiles. It carries no imagery of its own, which is why a whole continent fits in a few gigabytes.
Every region comes as an ortho package (the terrain) and an overlay package (roads, buildings, forests). Install the ortho package at least. With packages.auto_install_overlays on, the overlay comes along automatically.
Available Regions

AF-NORTHAF-SOUTHAS-ASIA-PACIFICAS-CHINA-MONGOLIAAS-INDIA-MIDDLE-EAST-HIMALAYANAS-RUSSIA-CENTRALAS-RUSSIA-EASTEU-EASTEU-WESTNA-CANADA-EASTNA-CANADA-WESTNA-GREENLANDNA-MEXICO-CENTRALNA-USA-BERMUDA-BAHAMASOC-AUSTRALIA-NZ-PACIFICSA-EASTSA-WEST
Sizes are the ortho and overlay packages together. “Download” is what crosses the network; “Installed” is what the package occupies afterwards.
| Code | Region | Download | Installed | Coverage |
|---|---|---|---|---|
AF-NORTH | Africa: North | 7.3 GB | 7.3 GB | North and West Africa: Morocco, Western Sahara, Algeria, Tunisia, Libya, Egypt, Sudan, Chad, the Sahel and the West African coast from Mauritania to Nigeria, with the Canary Islands, Madeira and Cabo Verde |
AF-SOUTH | Africa: South | 9.1 GB | 9.2 GB | Central, East and Southern Africa from Cameroon, South Sudan, Ethiopia and the Horn of Africa to South Africa, with Madagascar, the Indian Ocean islands including the Seychelles, Mauritius and Reunion, and the South Atlantic islands of St Helena, Ascension, Tristan da Cunha, Gough and Bouvet |
AS-ASIA-PACIFIC | Asia: Japan, Korea and Southeast Asia | 11.6 GB | 11.6 GB | Japan including the Ryukyu and Ogasawara Islands, the southern Kuril Islands, North and South Korea, Taiwan, Myanmar, Thailand, Laos, Cambodia, Vietnam, Malaysia, Singapore, Brunei, Indonesia, Timor-Leste, the Philippines, Palau, Guam and the Northern Mariana Islands |
AS-CHINA-MONGOLIA | Asia: China and Mongolia | 18.5 GB | 18.6 GB | China including Hainan, Hong Kong and Macau, and Mongolia |
AS-INDIA-MIDDLE-EAST-HIMALAYAN | Asia: India, the Middle East and the Himalaya | 16.8 GB | 16.9 GB | The Arabian Peninsula, the Levant, Cyprus, Anatolia, the Caucasus, Iran, Iraq, Central Asia including Kazakhstan, Afghanistan, Pakistan, India, Nepal, Bhutan, Bangladesh, Sri Lanka and the Maldives |
AS-RUSSIA-CENTRAL | Asia: Central Russia | 4.8 GB | 4.9 GB | Siberia from the Urals to Lake Baikal and Transbaikalia, including Franz Josef Land, Severnaya Zemlya and the Taymyr Peninsula |
AS-RUSSIA-EAST | Asia: Russian Far East | 6.4 GB | 6.5 GB | The Russian Far East from Yakutia to the Bering Strait, including Chukotka, Kamchatka, the northern Kuril Islands, Sakhalin, Primorye and Wrangel Island |
EU-EAST | Europe: East | 3.7 GB | 3.7 GB | European Russia west of the Urals, from St Petersburg and the Kola Peninsula to the Volga and the northern Caucasus, including Novaya Zemlya |
EU-WEST | Europe: West | 16.2 GB | 16.3 GB | Europe west of Russia: the British Isles, Iceland, the Faroe Islands, Scandinavia including Svalbard and Jan Mayen, Finland, the Baltic states, Poland, Belarus, Ukraine, Moldova, Western and Central Europe, Iberia with the Azores, the Mediterranean islands, the Balkans, Greece and European Turkey |
NA-CANADA-EAST | North America: Eastern Canada | 13.2 GB | 13.3 GB | Canada east of 95 degrees west: eastern Manitoba, Ontario, Quebec, the Atlantic provinces including Sable Island, Newfoundland and Labrador, eastern Nunavut and the eastern Arctic Archipelago, with Saint Pierre and Miquelon |
NA-CANADA-WEST | North America: Western Canada | 10.2 GB | 10.4 GB | Canada west of 95 degrees west: British Columbia including Haida Gwaii, Alberta, Saskatchewan, western Manitoba, Yukon, the Northwest Territories and western Nunavut, with the western Arctic Archipelago |
NA-GREENLAND | North America: Greenland | 0.8 GB | 0.9 GB | Greenland |
NA-MEXICO-CENTRAL | North America: Mexico, Central America and the Caribbean | 4.5 GB | 4.5 GB | Mexico including the Revillagigedo Islands and Clipperton, Guatemala, Belize, Honduras, El Salvador, Nicaragua, Costa Rica, Panama, and the Caribbean from Cuba and the Cayman Islands through Hispaniola, Puerto Rico and the Lesser Antilles |
NA-USA-BERMUDA-BAHAMAS | North America: United States, Bermuda and the Bahamas | 14.1 GB | 14.2 GB | The contiguous United States, Alaska including the Aleutian and Pribilof Islands, Hawaii including the Northwestern Hawaiian Islands and Midway, Bermuda, the Bahamas and the Turks and Caicos Islands |
OC-AUSTRALIA-NZ-PACIFIC | Oceania: Australia, New Zealand and the Pacific | 5.5 GB | 5.6 GB | Australia including Lord Howe, Norfolk and Macquarie Islands, New Zealand including the Chatham, Kermadec and subantarctic islands, Papua New Guinea, Melanesia, Micronesia and Polynesia from the Marshall Islands and Kiribati to Fiji, Samoa, Tonga, the Cook Islands and French Polynesia |
SA-EAST | South America: East | 8.8 GB | 8.8 GB | Brazil including Fernando de Noronha, Argentina, Paraguay, Uruguay, the Falkland Islands, South Georgia and the South Sandwich Islands |
SA-WEST | South America: West | 9.2 GB | 9.2 GB | Colombia, Venezuela, Ecuador including the Galapagos Islands, Peru, Bolivia, Chile including Easter Island and the Juan Fernandez Islands, the Guianas, Trinidad and Tobago, Aruba, Curacao and Bonaire, and the Pitcairn Islands |
Before it downloads a package, XEarthLayer checks that the disk holding your packages has room for about three times the download, which covers extraction with margin, and that the temporary folder has room for the download itself. When both are on the same disk the two add up. The temporary folder defaults to ~/.cache/xearthlayer/tmp (~/Library/Caches/XEarthLayer/tmp on macOS) and can be moved with packages.temp_dir.
The Package Manager
Run xearthlayer packages with no subcommand to open the package manager, a full-screen view with four tabs: Local (what is installed), Library (what is available), Progress (the jobs of this session) and Settings (the [packages] section of your configuration). Mark rows with Space, then press i to install, u to update or d to delete. Press ? for every key.
xearthlayer packagesThe setup wizard offers to open it when it finishes, so a fresh install can go straight from setup to choosing scenery.
Installing from the Command Line
Region codes are hierarchical, continent first, so the start of a code selects every package beneath it. Matching ignores case. When a code selects more than one package, the matches are listed and confirmed before anything downloads.
| You type | Selects |
|---|---|
NA | every North America package |
NA-CANADA | NA-CANADA-WEST and NA-CANADA-EAST |
AF-SOUTH | exactly AF-SOUTH |
xearthlayer packages install EU-WESTxearthlayer packages install NA-CANADA AFxearthlayer packages install --allSee the CLI Reference for every package command and option.
Upgrading from the Continental Packages
XEarthLayer 0.5.0 ships a rebuilt world. The eleven continental packages of earlier releases (AF1, AF2, AS1 to AS4, EU, EU2, NA, OC, SA) are replaced by the seventeen regions above, each about a third smaller on disk and each carrying night lighting. The old packages are not in the 0.5.0 library and receive no further updates.
Remove the old packages first, then install the new regions. Both generations can sit on disk at once, but a short code such as EU is also the start of EU-WEST and EU-EAST, so while both are installed the old package cannot be addressed on its own. Removing first avoids that.
xearthlayer packages remove --all
xearthlayer packages remove --all --type overlay
xearthlayer packages install --allOr open the package manager, mark everything on the Local tab with a, press d, then choose your regions from the Library tab.
| New region | Replaces |
|---|---|
AF-NORTH | AF1 |
AF-SOUTH | AF1, AF2 |
AS-ASIA-PACIFIC | AS3 |
AS-CHINA-MONGOLIA | AS1 |
AS-INDIA-MIDDLE-EAST-HIMALAYAN | AS2, EU2 |
AS-RUSSIA-CENTRAL | AS4 |
AS-RUSSIA-EAST | AS4 |
EU-EAST | EU2 |
EU-WEST | EU |
NA-CANADA-EAST | NA |
NA-CANADA-WEST | NA |
NA-GREENLAND | EU |
NA-MEXICO-CENTRAL | NA |
NA-USA-BERMUDA-BAHAMAS | NA |
OC-AUSTRALIA-NZ-PACIFIC | OC |
SA-EAST | SA |
SA-WEST | SA |
Greenland moved continent in the rebuild: anyone who flew it from the old EU package will find it under NA-GREENLAND.
Releases before 0.5.0 keep reading the old library and cannot install the new regions. Upgrade XEarthLayer first.