Skip to main content

Mars and Moon

GeoLens renders three worlds: Earth at /, Mars at /mars and the Moon at /moon. Mars and Moon share one viewer, sidebar and analysis framework, and each adds its own landmarks and analysis layers. Access is controlled by the planet.mars and planet.moon permissions, see Roles and Permissions.

Switching Worlds​

The world switcher sits just left of the Cesium toolbar, beside the search box. It hides itself while the search box is hovered or focused so the expanding search field never runs under it. Choosing a world navigates to that world's page, because Cesium fixes a viewer's ellipsoid when it is created and a world cannot be swapped in place.

Mars​

Sidebar sectionWhat it does
Landmarks & Landing SitesMarker list and Show Landmark Markers toggle, plus Return to Jezero Crater. Terrain is the Viking colourised mosaic over MOLA/HRSC
Environment & RenderingAtmosphere and Enhanced Color toggles
Terrain & SurfaceOpen Terrain Panel to sample elevations off the Mars tileset
Region AnalysisDraw a region, Analyze it, Clear it. Longitudes are shown 0 to 360 °E

Region analysis on Mars runs three layers:

LayerResult
Slope & trafficabilityGradients sampled off the Mars tileset and sorted against rover limits: up to 10° open driving, 10 to 20° nominal limit, 20 to 30° hazardous, over 30° impassable
Thermal inertiaDust, rock or ice, as an area-weighted composite of the published TES/THEMIS provinces the region overlaps (Christensen et al. 2001, Putzig & Mellon 2007). A coarse screening aid, not the gridded product
Radiation (RAD reference)Curiosity/RAD's surface dose at Gale Crater, about 0.64 mSv/day or 233 mSv/yr (Hassler et al. 2014), with the distance from your region to Gale. No global radiation map exists, so this is one measured point, not a value for the drawn region

Moon​

Sidebar sectionWhat it does
Landing Sites & FeaturesShow Site Markers toggle and Return to Mare Tranquillitatis. Terrain is LRO/LOLA elevation as 3D Tiles
Terrain & SurfaceOpen Terrain Panel to sample elevations. Derived products are in development
Region AnalysisDraw, Analyze, Clear

Direct-to-Earth visibility is the one runnable lunar layer: it reports the elevation of Earth above the local horizon across the region, for communications without a relay. Illumination fraction, Slope & landing hazard and Hydrogen / volatiles proxy are listed but not yet runnable, they need ephemeris and orbital datasets that are not available here.

Moving Underground​

Mars and Moon support the same underground camera as Earth, see Navigation.

Implementation Notes​

  • Shared framework: client/public/js/core/, which never names a planet. Per-world code: client/public/js/planets/<world>/. Rules for adding a world or a tool are in client/public/js/README.md
  • Worlds are declared once in core/planets.js. Page shells are client/src/mars.html and moon.html, rendered from config by core/ui/shell.js
  • Analysis layers are { id, label, hint }, plus run(region, ctx) to be runnable, returning { stats, bands, note }