Skip to content

Map Downloader

tommsehurra edited this page Sep 15, 2026 · 3 revisions

Map Downloader πŸ“‘πŸ—ΊοΈ

Out in a field there's no internet, so the radio can't stream map tiles. This fixes that: pick your area, pick the zoom levels, and it downloads the tiles, cuts them to the size the widget wants, and lays out the MAPS and WIDGETS folders ready to drop on your SD card. πŸ’Ύ It also writes the matching main.lua for the SatMap Widget, already set to the right tile size and zoom range.

It all runs in your browser. On Chrome or Edge it can write straight to the SD card; on anything else it hands you a ZIP. πŸ“¦

Map Downloader


🧭 How to use it

  1. πŸ“ Find your spot. Search for a place, or just click the map to drop the centre.
  2. β­• Set the radius. How far around the centre you want covered. Bigger radius + higher zoom = a lot more tiles, so don't go mad.
  3. πŸ” Pick zoom levels. 13–16 is a sensible everyday range. Low zoom = wide but blurry, high zoom = sharp but tiny coverage. Grab a couple so you can zoom on the radio without running out of map.
  4. πŸ—‚οΈ Tick the map types you want (below). Several at once is fine β€” they all download together for the same spot.
  5. βœ… Hit go, and either let it write to the SD card or grab the ZIP.

πŸ›°οΈ Map types

You're not stuck with one look. Tick as many as you like and each lands in its own folder:

  • πŸ›°οΈ Satellite β€” real imagery, my default.
  • ⛰️ OpenTopoMap β€” contour lines, nice for hills.
  • ✈️ Airspace β€” for staying out of trouble (needs an OpenAIP key, there's a field for it).
  • …and a few more depending on what's available.

On the radio you flip between them with the [MAP] button, and any type that has no tiles where you are gets skipped automatically. πŸ‘


πŸ’Ύ What ends up on the card

MAPS/
  <type>/<zoom>/<x>/<y>.png   ← the tiles, one folder per map type
  sets.txt                     ← the list of types the widget reads
WIDGETS/
  SatMap/main.lua              ← the widget itself

sets.txt also stores the centre of each area so the widget can show the map before it gets a GPS fix β€” it stays on your SD card with the tiles. πŸ’Ύ


πŸ”§ Just the widget

Already have tiles and only changed the widget? There's a Tiles-only option (tiles + sets.txt, no main.lua), and the other way round, a way to regenerate just main.lua without re-downloading everything.

⚠️ After any widget change: drop the new main.lua into WIDGETS/SatMap/ and reboot the radio. Tiles update without a reboot; the script doesn't.


🌐 A note on CORS

Some sources (Esri satellite) work anywhere. Others (OpenTopoMap, OpenAIP) can get blocked unless you're on the real site. If a type comes back empty in a browser test, that's usually why β€” it works fine from the live site.


πŸ‘‰ Next: SatMap Widget β€” what all this looks like on the radio. Stuck? FAQ & Troubleshooting β†’ download takes forever Β· tiles not loading.

Tango Kilo ✈️

Clone this wiki locally