r/OsmAnd • • 14d ago

I create a plugin to make printable UTM-grid maps for compass and watch navigation

I created a tool to build printable map using OsmAnd before.

Now with the help of AI, I build a plugin that can create printable map from OsmAnd directly.

Overview

the TopoPrint is a plugin that generates WYGIWYS print-ready topographic maps with a UTM grid. Designed for navigating with a compass or a GPS device: a USGS-quad-style paper sheet with a UTM grid, survey-style scale bars and a magnetic declination rose, delivered as a resolution-independent SVG plus a rasterized PNG.

Paper does not run out of battery and does not break when dropped: the printed sheet carries everything needed for classic map-and-compass work — plot and read UTM grid coordinates, take and lay bearings corrected for magnetic declination, measure distances with the bar scales — while the UTM grid keeps the sheet consistent with the coordinate readouts of a wristwatch or handheld GNSS receiver.

User flow

  1. Build the OsmAnd with this PR or this fork of OsmAnd yourself and install it to your device.
  2. Enable the plugin (Configure map → Plugins), move the map to the area of interest.
  3. A Print map button appears on the map HUD; a semi-transparent frame overlay previews the exact print coverage and follows the map live while panning/zooming.
  4. Print map opens the generation dialog (parameters summary, EXPORT / SETTINGS).
  5. SETTINGS: paper size (A6…A3, B6…B3, Letter, custom size), orientation, DPI (150–600), scale (1:5000 … 1:100000, incl. the USGS quad classics 1:24000 and 1:63360), projection (spherical / Mercator), map label and symbol scale, output folder.
  6. EXPORT renders the basemap offscreen through the OpenGL engine, composes the print SVG (frame, UTM grid, scale bars, compass rose, annotations) with the georeferenced basemap embedded, rasterizes the PNG and saves both files.

What is on the sheet

  • Title with the map label, scale and date; WGS84 UTM Zone line (both zones on cross-zone sheets)
  • UTM grid with edge labels for plotting and reading grid coordinates
  • USGS-style scale-bar pair (metric + imperial) for measuring distances on the sheet
  • Magnetic declination rose: true north, magnetic north with the declination angle, grid north with the convergence angle. On cross-zone sheets the secondary zone's grid north is added in the secondary grid colour
  • Sheets spanning two UTM zones draw the neighbouring zone's grid as a pale-red dashed secondary grid with its own smaller edge labels and its own correction angle in the rose
4 Upvotes

1 comment sorted by

2

u/disrupted_bln 13d ago

very cool! I saw your original post from a while back, but this makes it even more convenient. I shall give it a try next time I need a paper map