Inspiration

Phones and Garmins can now text from anywhere via satellite, and people have started treating that as their safety net when they head off the grid. But those satellites aren't always overhead. Low-orbit constellations have gaps, and nothing tells you when they'll happen. The worst moment to find out is when you need help. I wanted an app that answers one question before you leave and keeps answering once you're out of signal: when will I actually be able to reach someone?

What it does

SatMapOffline predicts satellite coverage for any spot on Earth, entirely offline, for the three networks ordinary people rely on: Globalstar (iPhone Emergency SOS), Iridium (Garmin inReach) and Starlink Direct to Cell (satellite texting on normal phones).

  • Live map: every satellite moves in real time, with the patch of ground it can currently serve shaded in its network's colour. Tap a satellite to follow it.
  • Drop a pin on your campsite to see whether you're covered right now, when the next pass is, and what percentage of the next 12 hours has signal.
  • Plan a trip: scan the whole trip and get a timeline per network showing exactly when each one drops out. Play the trip back on the map, or jump straight to the next blackout and watch it happen.
  • Off-grid alerts: a local notification 5 minutes before each blackout. It needs no signal to fire.
  • Lock screen and home screen: a Live Activity in the Dynamic Island and on the lock screen counts down to the next change, and home screen widgets show the coverage strips and drop stats with the app closed.
  • Honest about its data: orbit data is cached on the phone. Planning a trip refreshes it while you still have signal, and the app warns you once its data is getting old enough to drift.

How we built it

I built it solo in SwiftUI for >= iOS 26.6.

  • Orbit data: two-line element sets from CelesTrak, cached on disk and loaded cache-first, so the app never waits on the network.
  • Propagation: SGP4 through SatelliteKit. I wrote the frame conversions myself: TEME to Earth-fixed using sidereal time, then to latitude, longitude and altitude, then to azimuth and elevation through the local SEZ frame. I checked the results against N2YO: positions agreed within 0.3°, and a predicted pass matched.
  • Footprints: each satellite's footprint is its true coverage area at 10° elevation, δ = arccos(R·cos ε / (R + h)) − ε. It's traced with great-circle maths so the shape stays correct on a Mercator map, including over the poles.
  • Drawing: satellites and footprints are drawn on a SwiftUI Canvas at display refresh rate, using my own Mercator projection layered over MapKit.
  • Trips: a time-stepped visibility scan gives each network a coverage timeline. Blackout edges are refined by bisection, so the text always matches the map.
  • Beyond the app: local notifications, an ActivityKit Live Activity, and WidgetKit widgets fed through an App Group, all working with no connection.

Challenges we ran into

  • Drawing 750 moving satellites smoothly. MapKit annotations stuttered at around 78% CPU with just 116 satellites. Moving to a Canvas overlay, and propagating each satellite once per frame, now handles about 750 at roughly the same CPU.
  • Footprints vanishing or tearing. MapKit's coordinate conversion returns nothing for points off screen and wraps longitudes, so footprints disappeared when zoomed in to a campsite, which is the whole point of the app. They also tore apart over the poles. I wrote my own projection built from the screen centre and the map's scale, so footprints over the poles close properly.
  • Text disagreeing with the map. The trip scan is coarse for speed, so the card sometimes said "no signal" while a footprint visibly covered the pin. The fix was checking the exact moment live and bisecting gap edges.
  • Staying useful with no signal. Every feature had to work from cached data, from predictions to notifications to widgets, which shaped the whole architecture.

Accomplishments that we're proud of

  • Real orbital mechanics, implemented and verified against a professional tracker within one night.
  • Watching a footprint slide off the pin during a blackout replay, then getting a notification on my lock screen five minutes before it actually happened.
  • Three constellations, about 750 satellites, live at display refresh rate on a phone.
  • A full off-grid loop, from plan to alert to lock screen to widget, that needs no connection once you've left.

What we learned

  • How TLEs, SGP4 and coordinate frames really fit together, and how to check them rather than trust them.
  • Map projections properly: why footprints aren't circles on a flat map, and why the poles break everything.
  • When to stop fighting a framework and draw it yourself.
  • How to scope a solo 24 hours: I cut a heatmap and a sky plot when simpler features answered the question better.

What's next for SatMapOffline

  • Terrain and obstructions: valleys and trees block low satellites, so a horizon mask from elevation data would make predictions far more realistic.
  • Ground stations: Globalstar relays through ground stations, so coverage should also account for them, not just geometry.
  • AR pointing: hold your phone up to see exactly where in the sky to aim.
  • Globe view: satellites floating at altitude around a spinnable 3D Earth.
  • TestFlight, so anyone can take it on their next trip.

Built With

Share this project:

Updates

Submission history