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

Coverage map of the scenery regions
  • AF-NORTH
  • AF-SOUTH
  • AS-ASIA-PACIFIC
  • AS-CHINA-MONGOLIA
  • AS-INDIA-MIDDLE-EAST-HIMALAYAN
  • AS-RUSSIA-CENTRAL
  • AS-RUSSIA-EAST
  • EU-EAST
  • EU-WEST
  • NA-CANADA-EAST
  • NA-CANADA-WEST
  • NA-GREENLAND
  • NA-MEXICO-CENTRAL
  • NA-USA-BERMUDA-BAHAMAS
  • OC-AUSTRALIA-NZ-PACIFIC
  • SA-EAST
  • SA-WEST

Sizes are the ortho and overlay packages together. “Download” is what crosses the network; “Installed” is what the package occupies afterwards.

CodeRegionDownloadInstalledCoverage
AF-NORTHAfrica: North7.3 GB7.3 GBNorth 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-SOUTHAfrica: South9.1 GB9.2 GBCentral, 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-PACIFICAsia: Japan, Korea and Southeast Asia11.6 GB11.6 GBJapan 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-MONGOLIAAsia: China and Mongolia18.5 GB18.6 GBChina including Hainan, Hong Kong and Macau, and Mongolia
AS-INDIA-MIDDLE-EAST-HIMALAYANAsia: India, the Middle East and the Himalaya16.8 GB16.9 GBThe 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-CENTRALAsia: Central Russia4.8 GB4.9 GBSiberia from the Urals to Lake Baikal and Transbaikalia, including Franz Josef Land, Severnaya Zemlya and the Taymyr Peninsula
AS-RUSSIA-EASTAsia: Russian Far East6.4 GB6.5 GBThe Russian Far East from Yakutia to the Bering Strait, including Chukotka, Kamchatka, the northern Kuril Islands, Sakhalin, Primorye and Wrangel Island
EU-EASTEurope: East3.7 GB3.7 GBEuropean Russia west of the Urals, from St Petersburg and the Kola Peninsula to the Volga and the northern Caucasus, including Novaya Zemlya
EU-WESTEurope: West16.2 GB16.3 GBEurope 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-EASTNorth America: Eastern Canada13.2 GB13.3 GBCanada 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-WESTNorth America: Western Canada10.2 GB10.4 GBCanada 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-GREENLANDNorth America: Greenland0.8 GB0.9 GBGreenland
NA-MEXICO-CENTRALNorth America: Mexico, Central America and the Caribbean4.5 GB4.5 GBMexico 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-BAHAMASNorth America: United States, Bermuda and the Bahamas14.1 GB14.2 GBThe 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-PACIFICOceania: Australia, New Zealand and the Pacific5.5 GB5.6 GBAustralia 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-EASTSouth America: East8.8 GB8.8 GBBrazil including Fernando de Noronha, Argentina, Paraguay, Uruguay, the Falkland Islands, South Georgia and the South Sandwich Islands
SA-WESTSouth America: West9.2 GB9.2 GBColombia, 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 packages

The 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 typeSelects
NAevery North America package
NA-CANADANA-CANADA-WEST and NA-CANADA-EAST
AF-SOUTHexactly AF-SOUTH
xearthlayer packages install EU-WEST
xearthlayer packages install NA-CANADA AF
xearthlayer packages install --all

See 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 --all

Or open the package manager, mark everything on the Local tab with a, press d, then choose your regions from the Library tab.

New regionReplaces
AF-NORTHAF1
AF-SOUTHAF1, AF2
AS-ASIA-PACIFICAS3
AS-CHINA-MONGOLIAAS1
AS-INDIA-MIDDLE-EAST-HIMALAYANAS2, EU2
AS-RUSSIA-CENTRALAS4
AS-RUSSIA-EASTAS4
EU-EASTEU2
EU-WESTEU
NA-CANADA-EASTNA
NA-CANADA-WESTNA
NA-GREENLANDEU
NA-MEXICO-CENTRALNA
NA-USA-BERMUDA-BAHAMASNA
OC-AUSTRALIA-NZ-PACIFICOC
SA-EASTSA
SA-WESTSA

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.