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

Planet datasets — pinned sources

All data is downloaded at build time and baked into the APK as converted raw assets (maps/src/main/assets/<body>/). The app is offline-first: no planet texture is ever fetched at runtime. Convert with convert_planets.py --raw <dir-with-downloads> --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)

BodyDatasetExact source URLDownloaded sizeLicenceConverted asset
Mercury colourUSGS MESSENGER MDIS Basemap EnhancedColor Mosaic Global 665mhttps://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 BPublic domain (USGS/NASA MESSENGER PDS)mercury_color_4096.rgba 4096×2048 RGBA8, 33.6 MB
Mercury DEMUSGS 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.tif530,934,581 BPublic domain (USGS/NASA)mercury_dem_2048.rg 2048×1024 RG8, 4.2 MB
Mars colourUSGS Mars Viking ClrMosaic global 925mhttps://asc-pds-services.s3.us-west-2.amazonaws.com/mosaic/Mars_Viking_ClrMosaic_global_925m.tif797,888,177 BPublic domain (USGS/NASA Viking PDS)mars_color_4096.rgba 4096×2048 RGBA8, 33.6 MB
Mars DEMUSGS Mars MGS MOLA DEM mosaic global 463mhttps://asc-pds-services.s3.us-west-2.amazonaws.com/mosaic/Mars_MGS_MOLA_DEM_mosaic_global_463m.tif2,125,771,142 BPublic 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/<file> (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)

BodyRadii (planetary radii)OpacitySource
Saturn1.24 – 2.271.0Solar 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
Uranus1.55 – 2.020.55Procedural strip from published Voyager 2/HST ring radii (ζ…ε); no usable published ring texture — bands are narrow/faint by construction
Neptune1.68 – 2.320.45Procedural 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.