Tired of generic trail apps that miss the secret single-track or mislabel a scrambling section? Want to create a map that highlights your favorite water holes, camp spots, and the exact gradient of that brutal climb? You don't need expensive software or a geography degree. With powerful open-source tools, you can become the cartographer of your own running domain. This guide will walk you through building a functional, beautiful, and personalized trail-running map from scratch using free resources.
Why Build Your Own Map?
Before we dive into the how, let's talk about the why. A DIY map isn't just a technical exercise; it's a gateway to deeper connection with the landscape.
- Total Customization: Add your own POIs (Points of Interest): secret swimming holes, reliable springs, viewpoint benches, or tricky navigation steps.
- Offline Reliability: Export your map to a device that won't lose signal in a deep canyon.
- Terrain Intelligence: Visualize elevation, slope, and aspect exactly how you need to see it for route planning.
- Learn the Land: The process of gathering and styling data forces you to study the topography, leading to better on-the-ground decisions.
Your Free Toolkit: The Open-Source GIS Stack
You'll be using a combination of data sources and a primary software piece.
-
The Engine: QGIS This is the powerhouse. QGIS is a professional, open-source Geographic Information System (GIS) that rivals costly proprietary software. Download it from
qgis.org. It's where you'll assemble, style, and export your map. -
The Data Sources (The Raw Material):
- OpenStreetMap (OSM): The community-built map of the world. Incredibly detailed for trails, footpaths, and features in many areas. Use the BBBike or Geofabrik download sites to get
.pbfor.shpextracts for your region. - Government DEMs (Digital Elevation Models): These are raster files representing elevation. In the U.S., the USGS 3DEP (via The National Map) provides high-resolution LiDAR-derived DEMs. Globally, SRTM (Shuttle Radar Topography Mission) or Copernicus DEM are excellent free options.
- Local/Regional GIS Portals: Many counties, states, or national parks have their own open-data portals offering trail shapefiles, land ownership (critical for access), and high-res aerial imagery.
- Your Own GPS Tracks: Export
.gpxfiles from your watch or app (Strava, Garmin, etc.) to plot your actual runs.
- OpenStreetMap (OSM): The community-built map of the world. Incredibly detailed for trails, footpaths, and features in many areas. Use the BBBike or Geofabrik download sites to get
-
The Export/Transfer Utilities:
- GPSBabel: The Swiss Army knife for converting between GPS file formats.
- Mobile Atlas Creator (MOBAC) or QGIS Plugins (like
Send toGPS): To transfer your final map tiles or routes to a phone or handheld GPS device.
Step-by-Step: From Zero to Custom Map
Step 1: Set Up Your Project & Import Base Data
Open QGIS. Create a new project. Your first layer should be your Digital Elevation Model (DEM) . This is your foundation.
Layer>Add Layer>Add Raster Layer. Select your downloaded.tifor.demfile.- Right-click the DEM layer in the Layers panel > Properties >
Symbology. Change the render type to "Hillshade" . This instantly gives you a 3D-like shaded relief view of the terrain---the single most important layer for a trail runner.
Step 2: Add the Trail Network
Now, bring in the trails.
Layer>Add Layer>Add Vector Layer. Browse to your OpenStreetMap extract (.pbfor.shp).- QGIS will ask which layers to load. Select lines (for all paths) and
multilinestrings. You'll get a dense web of lines. - Filter for trails: Right-click the lines layer > Filter
.... Use a query like:"highway" = 'path' OR "highway" = 'footway' OR "highway" = 'track' OR "route" = 'hiking'. Adjust based on your region's OSM tagging. ClickOK. You now have a dedicated trail layer.
Step 3: Style for the Trail Runner's Eye
This is where you make the map useful . Go beyond the default blue lines.
- Trail Difficulty & Type: Right-click your filtered trail layer > Properties >
Symbology. Use "Categorized" styling. If your OSM data hassac_scale(hiking difficulty) orsurfacetags, use those as the value. Assign colors: green for easy, blue for moderate, red for difficult, black for challenging. Use dashed lines for unofficial social trails. - Highlight Key Features: Add your local GIS data for water sources (springs, streams---style as blue lines/points) and land ownership boundaries (style as dashed lines to know where you can legally run).
- Add Your Tracks: Load your own
.gpxfiles. Style them as a thick, bright line (e.g., neon yellow) to see your exact past routes.
Step 4: Mastering the Slope (The Game-Changer)
Understanding steepness is crucial for effort estimation.
- In the Processing Toolbox (
Processing>Toolbox), search for "Slope" (under GDAL > Raster analysis). - Select your DEM as the input. Run it. A new raster layer appears showing slope degrees.
- Style this layer with a color ramp that speaks to runners: green (0-10°), yellow (10-20°), orange (20-30°), red (30-40°), dark red (40°+). Now you can visually scan a ridge line and see the "red zones" before you get there.
Step 5: Export for the Real World
Your beautiful QGIS map is on your big screen. Now, get it on your wrist or phone.
Option A: Export as Image/PDF (For a Single Route)
- Use the "Print Layout" (
Project>New PrintLayout). Set your map scale, add a north arrow, and a simple legend. Export as a high-res PDF or PNG. This is perfect for printing a single, detailed route map.
Option B: Create Offline Raster Tiles (For a Whole Region) This is the most powerful method. You create a set of map images (tiles) that work like online maps but are stored offline.
- Use the "Generate XYZ Tiles (Directory)" tool (
Processing>Toolbox). Select your styled project layers as the input. - Choose an output folder. Set the zoom levels (e.g., 10-16 for trail detail). Run.
- Transfer the generated folder structure to your phone. Use an app like Organic Maps or OsmAnd~ , which can load these custom offline map tiles. You now have your personally styled map in your pocket, no signal needed.
Option C: Export a Simple Route as GPX
- Right-click your drawn route line (or your GPS track) >
Export>SaveFeaturesAs.... - Choose GPX as the format. Ensure the
GPXoption is selected for the "Geometry type." This creates a.gpxfile you can send directly to your Garmin or other watch via GarminExpressorGPSBabel.
Pro-Tips for the Runner-Cartographer
- Validate Your Trails: OSM data can be outdated or wrong. Cross-reference with recent satellite imagery (add a XYZ Tiles layer in QGIS using a source like Google
Satellitevia a plugin) or local hiking guidebooks. - Mind the Projection: For small areas, the default (often WGS84) is fine. For accurate area/distance measurements over larger regions, set your project CRS (Coordinate Reference System) to a local UTM zone.
- Keep it Simple: A cluttered map is a dangerous map. Prioritize: contours/hillshade, trails, water, and your route . Turn off unnecessary OSM points (like bench or
tree). - Save Your Style: Once you create a perfect style for trails and slope, save it as a
.qmlfile (Layer>Styles>Save Style). You can quickly apply it to new area imports.
The Final Summit
Building your own trail map transforms you from a passive consumer of digital navigation into an active interpreter of the landscape. It's a skill that pays for itself every time you confidently drop into a new basin or find that missing junction.
The tools are free, the data is abundant, and the control is total. Your next adventure deserves a map made by you, for you. Now go fire up QGIS, load that DEM, and start drawing your lines on the world. The trails are waiting.