# Planet datasets — pinned sources
All data is downloaded **at build time** and baked into the APK as converted
raw assets (`maps/src/main/assets/
/`). The app is offline-first: no
planet texture is ever fetched at runtime. Convert with
`convert_planets.py --raw --all` (build-time only;
needs numpy, Pillow, tifffile). The Moon pair predates this file: NASA SVS
4720 CGI Moon Kit (`lroc_color_poles` LROC colour + `ldem_64` LOLA DEM),
converted by `analysis/convert_moon.py`; see the sidecars in
`assets/moon/`.
## Rocky bodies (colour + DEM, Moon-equivalent pipeline)
| Body | Dataset | Exact source URL | Downloaded size | Licence | Converted asset |
|---|---|---|---|---|---|
| Mercury colour | USGS MESSENGER MDIS Basemap EnhancedColor Mosaic Global 665m | `https://planetarymaps.usgs.gov/mosaic/Mercury_MESSENGER_MDIS_Basemap_EnhancedColor_Mosaic_Global_665m.tif` (redirects to `https://asc-pds-services.s3.us-west-2.amazonaws.com/mosaic/...`) | 796,539,539 B | Public domain (USGS/NASA MESSENGER PDS) | `mercury_color_4096.rgba` 4096×2048 RGBA8, 33.6 MB |
| Mercury DEM | USGS Mercury MESSENGER DEM Global 665m v2 (MLA + stereo) | `https://asc-pds-services.s3.us-west-2.amazonaws.com/mosaic/Mercury_Messenger_USGS_DEM_Global_665m_v2.tif` | 530,934,581 B | Public domain (USGS/NASA) | `mercury_dem_2048.rg` 2048×1024 RG8, 4.2 MB |
| Mars colour | USGS Mars Viking ClrMosaic global 925m | `https://asc-pds-services.s3.us-west-2.amazonaws.com/mosaic/Mars_Viking_ClrMosaic_global_925m.tif` | 797,888,177 B | Public domain (USGS/NASA Viking PDS) | `mars_color_4096.rgba` 4096×2048 RGBA8, 33.6 MB |
| Mars DEM | USGS Mars MGS MOLA DEM mosaic global 463m | `https://asc-pds-services.s3.us-west-2.amazonaws.com/mosaic/Mars_MGS_MOLA_DEM_mosaic_global_463m.tif` | 2,125,771,142 B | Public domain (USGS/NASA MGS PDS) | `mars_dem_2048.rg` 2048×1024 RG8, 4.2 MB |
DEM packing (all DEMs, matching the Moon): `packed = metres / 0.5 + 20000`
as uint16 split R=high/G=low byte; decoded as `(packed − 20000) × 0.5`
metres. Mercury elevations are relative to the 2439.4 km sphere, Mars to
the areoid, the Moon to the 1737.4 km sphere (per their sidecars).
## Giant planets + Venus (colour sphere only, no DEM)
Thick atmospheres make surface topography meaningless at globe scale, so
these ship colour only (2048×1024 RGBA8, 8.4 MB each). Source: Solar System
Scope planet textures, https://www.solarsystemscope.com/textures/ —
**CC BY 4.0** (attribution: Solar System Scope; underlying imagery NASA) —
files `2k_venus_atmosphere.jpg`, `2k_jupiter.jpg`, `2k_saturn.jpg`,
`2k_uranus.jpg`, `2k_neptune.jpg` from
`https://www.solarsystemscope.com/textures/download/` (75–500 KB
each). Venus uses the atmosphere texture: its visible face is cloud deck.
## Rings (radial strip, 1024×1 RGBA8, u = inner→outer radius)
| Body | Radii (planetary radii) | Opacity | Source |
|---|---|---|---|
| Saturn | 1.24 – 2.27 | 1.0 | Solar System Scope `2k_saturn_ring_alpha.png` (CC BY 4.0), row-collapsed to a radial profile; radii = C-ring inner to A-ring outer edge |
| Uranus | 1.55 – 2.02 | 0.55 | Procedural strip from published Voyager 2/HST ring radii (ζ…ε); no usable published ring texture — bands are narrow/faint by construction |
| Neptune | 1.68 – 2.32 | 0.45 | Procedural strip from published Voyager 2 ring radii (Galle, LeVerrier, Lassell, Adams) |
Ring geometry (radii, relative scale, transparency) follows the published
ring radii above; the shader projects the equatorial ring plane
orthographically, so rings ellipse/thin with view latitude and the front
arc blends over the disc.
## Total baked size
Moon 36 MB (existing) + Mercury 37.8 MB + Mars 37.8 MB + five colour-only
bodies 8.4 MB each (42 MB) + three ring strips (12 KB) ≈ **118 MB of new
assets**. Mercury/Mars deliberately match the Moon's resolution
(4096×2048 colour, 2048×1024 DEM); the giants are 2048×1024 because their
visible faces are banded gas with no finer published global detail in the
source mosaics.