SAT NAV SST
Home › Educational Guides › 3D & KML Mapping
3D & KML Mapping

3D Orbit Visualization, Inertial Coordinate Frames, and KML Ground Tracks

Understand how 3D satellite globes and 2D world maps transform inertial orbital planes into rotating sinusoidal ground tracks, horizon cones, and exportable Google Earth KML files.

Why Circular Orbits Look Like Sine Waves on a 2D World Map

Every unperturbed circular orbit lies in a flat geometric plane passing straight through Earth's center. When viewed in 3D Earth-Centered Inertial (ECI) space, a satellite traces a crisp, closed circle tilted by its inclination angle. Why then does a live 2D world map display undulating sinusoidal ribbons marching progressively westward across continents?

The wave shape comes from two effects: unrolling a tilted spherical circle onto a flat latitude-longitude rectangle creates one complete north-south sine cycle per orbit, while Earth spins eastward inside that inertial plane at 15.04 degrees per hour (0.2507 degrees per minute). Because Earth turns eastward beneath a 92.7-minute ISS orbit by roughly 23.2 degrees per revolution, each successive ground track crosses the equator farther west—creating the classic overlapping orbital weave.

  • Inertial orbit rings remain nearly fixed in star coordinates over a single 90-minute revolution.
  • Earth rotates ~22.5 to 25 degrees eastward beneath typical LEO satellites during each orbit.
  • A 90-degree polar orbit still traces slightly tilted ground tracks because Earth spins during the pass.
  • Maximum northern and southern map latitudes equal the orbit's inclination (or 180 - inclination if retrograde).

ECI, TEME, and ECEF/WGS84 Frame Transformations Explained

To draw both a 3D orbital ellipse in space and a pinned ground marker on a rotating globe, visualization software bridges two coordinate frames. SGP4 outputs positions in the True Equator Mean Equinox (TEME) quasi-inertial frame, where the X-axis points toward the vernal equinox among distant stars. To place that satellite accurately above a city, street map, or ocean coastline, the engine rotates the X-Y equatorial plane by Greenwich Mean Sidereal Time (GMST) into Earth-Centered Earth-Fixed (ECEF) coordinates.

Finally, converting Cartesian ECEF (X, Y, Z) kilometers into geodetic latitude, longitude, and ellipsoidal height uses the WGS84 reference ellipsoid—accounting for Earth's roughly 21-kilometer equatorial bulge rather than treating Earth as a perfect sphere. Accurate altitude readouts above the ground require that ellipsoidal correction, especially at mid-to-high latitudes.

  • TEME/ECI coordinates keep star backgrounds and orbital planes stationary while Earth spins.
  • GMST links Universal Time (UTC/UT1) to Earth's instantaneous rotational angle relative to the equinox.
  • ECEF coordinates lock directly to continents, oceans, and ground-station locations.
  • WGS84 oblateness correction improves nadir latitude and altitude accuracy by up to 21 km.

Exporting Ground Tracks and 3D Paths as KML for Google Earth

Keyhole Markup Language (KML) files store geographic trajectories as timestamped 3D LineString or gx:Track geometries with explicit `<altitudeMode>absolute</altitudeMode>` tags in meters above mean sea level. Exporting a 90-minute or 24-hour orbital prediction into KML lets educators, mission planners, and amateur trackers fly alongside the spacecraft inside desktop or mobile 3D terrain viewers.

When building clean KML ground tracks, developers must handle the antimeridian (+/-180 degrees longitude) carefully. Splitting a LineString whenever consecutive longitude steps cross 180 degrees prevents 2D and 3D viewers from drawing erroneous horizontal lines straight across the entire globe.

Rendering Instantaneous Sensor Swaths, Radar Cones, and Sunlit Terminator Lines

Advanced 3D tracking views layer three contextual geometries atop the rotating Earth: the day-night solar terminator boundary (showing which ground stations are in twilight), a 3D translucent cone extending from the satellite down to its horizon tangent circle, and a local sky-dome or radar vector connecting the observer's coordinates to the spacecraft.

Combining those three visual layers turns abstract telemetry rows into immediate spatial intuition: you see at a single glance whether the spacecraft is illuminated, inside your elevation mask, and approaching ascending or descending twilight.

Coordinate Frames Used Across Satellite Visualization Pipelines

Coordinate FrameOrigin & AxesRotates with Earth?Primary Use in Trackers
TEME (Inertial)Earth center; X toward mean equinoxNo (star-fixed)Native output frame of SGP4/SDP4 propagators
J2000 / GCRSEarth center; fixed epoch 2000.0No (star-fixed)Astrodynamics, RA/Dec star charts, deep space
ECEF (ITRF)Earth center; X through 0 deg lonYes (Earth-fixed)Ground-station range vectors & footprint math
WGS84 GeodeticEllipsoid surface (lat, lon, alt)Yes (Earth-fixed)2D world maps, subsatellite markers & KML
Topocentric ENU/SEZObserver ground locationYes (local horizon)Azimuth, elevation & radar/telescope pointing

GMST rotation converts TEME inertial vectors to ECEF within ~10–50 meters of full IERS Earth orientation models—more than adequate for TLE tracking.

Worked Example: Computing Westward Ground-Track Shift Between Orbits

Worked illustration calculating how far west successive ISS passes cross the equator on a 2D world map.

  1. Step 1 (Set Earth Rotation Rate): Earth completes 360 degrees relative to inertial space in one sidereal day (86,164 seconds), giving omega_E = 0.00417807 deg/s (15.041 deg/hour).
  2. Step 2 (Set ISS Orbital Period): Use a nominal ISS period T = 92.7 minutes = 5,562 seconds.
  3. Step 3 (Calculate Equatorial Shift): Multiply Earth rotation rate by orbital period: delta_lon = 0.00417807 * 5,562 = 23.24 degrees westward per orbit (ignoring tiny ~0.3 deg nodal precession).
  4. Step 4 (Account for J2 Nodal Precession): At 51.6 deg inclination, Earth's equatorial bulge precesses the ISS orbital plane westward by ~5.0 deg/day (~0.32 deg/orbit), bringing total westward shift to ~23.56 degrees per orbit.

Worked Illustration & Takeaway: Every 92.7-minute orbit shifts the ISS equator crossing roughly 23.5 degrees (~2,615 km) westward—explaining the woven sine-wave pattern across live 2D maps.

3D Orbit & KML Visualization Checklist

  • Compute Greenwich Mean Sidereal Time (GMST) from UTC/Julian Date before projecting SGP4 TEME coordinates onto Earth.
  • Use WGS84 ellipsoidal conversion rather than spherical approximations for subsatellite latitude and altitude.
  • Split KML or GeoJSON LineString segments cleanly whenever longitude crosses the +/-180 deg antimeridian.
  • Specify `<altitudeMode>absolute</altitudeMode>` in meters for 3D orbital ribbons in KML exports.
  • Clamp or sample propagation time steps finely (15–30 seconds) so ground tracks remain smooth near poles.
  • Overlay the solar terminator to help users interpret visible twilight passes directly on the map.

Frequently Asked Questions

Why does my KML satellite track draw a straight line across the middle of the map?

That happens when consecutive longitude coordinates jump from +179.8 degrees to -179.9 degrees across the Pacific antimeridian without splitting the polyline into two separate segments.

What is the difference between ECI and ECEF coordinates?

ECI (Earth-Centered Inertial) stays fixed relative to distant stars so orbits trace smooth ellipses, whereas ECEF (Earth-Centered Earth-Fixed) rotates with Earth so continents and ground stations stay fixed.

How does Local Sidereal Time relate to satellite tracking?

Local Sidereal Time tells telescope and astronomy users which Right Ascension meridian is currently overhead at their longitude, connecting satellite RA/Dec coordinates to the night sky.

How many time steps are needed to draw a smooth 3D LEO orbit ring?

Sampling one full 90-minute LEO orbit every 60 seconds yields roughly 90 vertices—enough for a smooth orbital ring while keeping browser canvas or WebGL frame rates fast.

Primary References & Standards

  • Open Geospatial Consortium (OGC) — KML 2.2 / 2.3 Standard Specification (3D Tracks & Altitude Modes)
  • IERS Conventions — Transformation Between Celestial and Terrestrial Reference Systems (GMST & Frame Rotations)
  • Vallado, D. A. — Fundamentals of Astrodynamics and Applications (TEME to ECEF & WGS84 Conversions)

Related Satellite Tracking Guides