Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / maps / planet-data / DATASETS.md

DATASETS.md4.0 KiBRenderedCodeRaw
1# Planet datasets — pinned sources
2
3All data is downloaded **at build time** and baked into the APK as converted
4raw assets (`maps/src/main/assets/<body>/`). The app is offline-first: no
5planet texture is ever fetched at runtime. Convert with
6`convert_planets.py --raw <dir-with-downloads> --all` (build-time only;
7needs numpy, Pillow, tifffile). The Moon pair predates this file: NASA SVS
84720 CGI Moon Kit (`lroc_color_poles` LROC colour + `ldem_64` LOLA DEM),
9converted by `analysis/convert_moon.py`; see the sidecars in
10`assets/moon/`.
11
12## Rocky bodies (colour + DEM, Moon-equivalent pipeline)
13
14| Body | Dataset | Exact source URL | Downloaded size | Licence | Converted asset |
15|---|---|---|---|---|---|
16| 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 |
17| 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 |
18| 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 |
19| 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 |
20
21DEM packing (all DEMs, matching the Moon): `packed = metres / 0.5 + 20000`
22as uint16 split R=high/G=low byte; decoded as `(packed − 20000) × 0.5`
23metres. Mercury elevations are relative to the 2439.4 km sphere, Mars to
24the areoid, the Moon to the 1737.4 km sphere (per their sidecars).
25
26## Giant planets + Venus (colour sphere only, no DEM)
27
28Thick atmospheres make surface topography meaningless at globe scale, so
29these ship colour only (2048×1024 RGBA8, 8.4 MB each). Source: Solar System
30Scope planet textures, https://www.solarsystemscope.com/textures/ —
31**CC BY 4.0** (attribution: Solar System Scope; underlying imagery NASA) —
32files `2k_venus_atmosphere.jpg`, `2k_jupiter.jpg`, `2k_saturn.jpg`,
33`2k_uranus.jpg`, `2k_neptune.jpg` from
34`https://www.solarsystemscope.com/textures/download/<file>` (75–500 KB
35each). Venus uses the atmosphere texture: its visible face is cloud deck.
36
37## Rings (radial strip, 1024×1 RGBA8, u = inner→outer radius)
38
39| Body | Radii (planetary radii) | Opacity | Source |
40|---|---|---|---|
41| 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 |
42| 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 |
43| Neptune | 1.68 – 2.32 | 0.45 | Procedural strip from published Voyager 2 ring radii (Galle, LeVerrier, Lassell, Adams) |
44
45Ring geometry (radii, relative scale, transparency) follows the published
46ring radii above; the shader projects the equatorial ring plane
47orthographically, so rings ellipse/thin with view latitude and the front
48arc blends over the disc.
49
50## Total baked size
51
52Moon 36 MB (existing) + Mercury 37.8 MB + Mars 37.8 MB + five colour-only
53bodies 8.4 MB each (42 MB) + three ring strips (12 KB) ≈ **118 MB of new
54assets**. Mercury/Mars deliberately match the Moon's resolution
55(4096×2048 colour, 2048×1024 DEM); the giants are 2048×1024 because their
56visible faces are banded gas with no finer published global detail in the
57source mosaics.