# Earth imagery

Global cloud imagery uses [NASA Blue Marble](SATELLITE.md).

The 80° × 48° approach and 24° × 16° wide layers use [NASA Blue Marble: Next Generation](REGIONAL-IMAGERY.md) to keep the regional view continuous across satellite acquisition strips. The outer crop is centered at 0.82 × destination latitude + 3°, and destination longitude shifted 12° east for the two American cities or 15° west for the others.

## City imagery

EOxCloudless https://cloudless.eox.at by EOX IT Services GmbH (Contains modified Copernicus Sentinel data 2016 & 2017).

The six flight destinations use local crops of the [2016 EOxCloudless viewing mosaic](https://cloudless.eox.at/documentation/faq), licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/). EOX explicitly permits embedded basemaps in commercial video templates with attribution in its [FAQ](https://cloudless.eox.at/documentation/faq). Keep the credit visible on both the interface and exported videos whenever this imagery is displayed.

The source is the `s2cloudless` layer on the [EOX WMS endpoint](https://tiles.maps.eox.at/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities). Each image was cropped around its destination's coordinates using a WMS 1.1.1 GetMap request in EPSG:4326, resampled by the service, and converted to WebP. As an example, here is the [Shanghai regional crop](https://tiles.maps.eox.at/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=s2cloudless&STYLES=&SRS=EPSG%3A4326&BBOX=119.4737%2C29.7304%2C123.4737%2C32.7304&WIDTH=2048&HEIGHT=1536&FORMAT=image%2Fjpeg). The Sentinel layers cover 4° × 3° and 0.64° × 0.48° around the destination. The metropolitan raster is resampled to 3,072 × 2,304. The Earth texture and the four crops for the selected destination are loaded and verified before playback or export.

## Cartographic overlays

Country label anchors come from [Natural Earth 1:110m](https://github.com/nvkelso/natural-earth-vector/tree/v5.1.2/geojson), using `ne_110m_admin_0_countries` at v5.1.2. The [public-domain terms](https://www.naturalearthdata.com/about/terms-of-use/) allow reuse. World coordinates are rounded to three decimal places; country labels use the Natural Earth language columns, LABEL_X, LABEL_Y and LABELRANK. Only the visible hemisphere is projected. These are generalized reference boundaries.

Country names prefer the supplied Natural Earth translations. When a translation is missing, the renderer looks up the country’s region code in the browser’s ICU/CLDR display names. This supplies Thai names without an online translation request. Region codes come from the [same pinned country GeoJSON](https://github.com/nvkelso/natural-earth-vector/blob/v5.1.2/geojson/ne_110m_admin_0_countries.geojson) (SHA-256 `6866c877d39cba9c357620878839b336d569f8c662d3cfab4cb1dbe2d39c977f`). Each anchor matches its source `LABEL_X` and `LABEL_Y` rounded to three decimals and its `NAME_EN`. The overlay retains the two-letter `ISO_A2_EH` value where provided, including the CLDR region code `XK`. Records without a code keep their source name. Subdivisions, cities and neighborhoods keep the translations available in their own datasets.

The worldwide province/state lines, region labels and detailed land borders are documented in [WORLD-ADMIN1.md](map/WORLD-ADMIN1.md). [REGIONAL.md](map/REGIONAL.md) describes the city labels. Local boundaries, their vintages and attribution are documented in [ASIA.md](map/ASIA.md) and [OTHER.md](map/OTHER.md). The Shanghai-derived database is available as a [separate JSON download](map/shanghai.json). Its ODbL license applies to that database.

## Searched destinations

The [July 2004 NASA Blue Marble Next Generation global raster](https://assets.science.nasa.gov/content/dam/science/esd/eo/images/bmng/bmng-topography-bathymetry/july/world.topo.bathy.200407.3x21600x10800.jpg) provides a regional backdrop for search results. The source is a north-up 21,600 × 10,800 equirectangular JPEG (SHA-256 `d225f1f35a6448a4d1d8f6de6e48f3433e470085b70a35800e64f384f269a7b0`). We divide its original grid into 12 columns and 6 rows of 1,800-pixel WebP tiles at quality 84. The renderer fetches the tiles intersecting the selected 36° × 24° crop from ArtPlayer and preserves the original angular scale. Imagery credit goes to NASA Earth Observatory and Reto Stöckli.

After the user selects a search result, a maximum of two serial GetMap requests to the free 2016 EOxCloudless layer supply the closer views. The requests contain the selected geographic bounds. They omit the search query, credentials and HTTP referrer. The browser respects the server’s normal HTTP cache. When the endpoint is unavailable, a crop falls outside the supported bounds or a crop would cross the date line, the camera stops at the self-hosted regional view. No live tile requests occur during a flight or video export.

Nearby city labels are drawn from the same Natural Earth 1:10m Populated Places source documented in [REGIONAL.md](map/REGIONAL.md). Search destinations use the worldwide first-level administrative map. The six packaged local boundary extracts apply only to the six presets.
