Map data and build method
Last updated: October 28, 2026
Map data © OpenStreetMap contributors, available under the Open Database License (ODbL 1.0). See OpenStreetMap copyright and attribution. Basemaps are made with Protomaps.
The offered method
Skipper's routing graph and regional basemaps are derived from OpenStreetMap. This page describes the method of making those alterations, including the additional data used, under ODbL section 4.6(b), free of charge over the internet. The data alterations are offered under ODbL 1.0. Software and display assets retain the licences named below.
Routing inputs
Verify each input's SHA-256 before reading it.
- Valhalla 3.9.1, pinned container image:
ghcr.io/valhalla/valhalla:3.9.1@sha256:4fd114eb1d26b8fc2f43bcb3df234c1b63a0bf13c277405e5943d5361dc575de - Crop and merge with osmium-tool 1.16.0-1build1
- Run the graph rules with LuaJIT 2.1.0+git20231223.c525bcb+dfsg-1ubuntu0.1
- us/california: unchanged Geofabrik extract, OpenStreetMap snapshot 2026-10-25T21:21:21Z, 1333686550 bytes. SHA-256: 19b5497f07382579a1f79e5d22c934cb88bcb0f0321b84cef95ad0d93c4e28ad
- us/nevada: unchanged Geofabrik extract, OpenStreetMap snapshot 2026-10-25T21:21:21Z, 124000993 bytes. SHA-256: 73fecbb8e29a1e47be62fc551146cb03d3123a5a4ae5ad75eefd57fae2a8617b
- Time-zone boundaries: timezone-boundary-builder 2026d, from the shapefile with oceans, 76767667 bytes, also under ODbL. SHA-256: f9b2f0304772f2a944486da5d13d1740ff9754e76b983f80450b0e4d74131931
- Base graph rules: Valhalla's graph.lua at the pinned version. Keep these rules unchanged except for the speed alterations described below. Upstream SHA-256: 325bec2d01780eb0d24da2875f4ef40c6e9c4d13058174a8180723d1fb659ad6
Crop, merge and build
-
For each region below, crop each listed state source with
osmium extract --bbox west,south,east,north --strategy complete_ways. Keep whole ways crossing the box. Merge every crop withosmium merge, which keeps a shared OpenStreetMap object once, including at the California–Nevada border. - Unzip the time-zone input and import its combined-shapefile-with-oceans-1970 shapefile into Spatialite as table tz_world, geometry geom, SRID 4326, UTF-8. Create its spatial index, vacuum and analyse the database. Use it as Valhalla's mjolnir.timezone input when building the graph.
-
Use the pinned Valhalla graph rules with the speed alterations below as mjolnir.graph_lua_name.
Build administrative areas with
valhalla_build_admins, the graph withvalhalla_build_tiles, and its archive withvalhalla_build_extract. All three use the merged crop and the same configuration. Keep driving, bicycle, pedestrian, driveways, hierarchy and shortcuts enabled; exclude construction and platforms. Use the admin database and country overrides, and infer internal intersections and turn channels. - Before building, verify that the base graph rules outside the speed alterations match the upstream hash and that the speed cases below pass. Record the hashes of the inputs, configuration, altered graph rules and output tile archive in a build manifest.
The speed alteration rule
For roads with one lane per direction and a numeric posted maxspeed, trunk and primary roads use 85% of the posted limit as the routing speed; secondary and tertiary roads use 90%. Round each result to the nearest whole kilometre per hour by taking floor(value + 0.5). Apply the same share and rounding to numeric maxspeed:forward and maxspeed:backward limits.
- A road drivable in both directions qualifies when its total lane count is at most three, allowing a climbing or passing lane. Use lanes if present; otherwise add lanes:forward and lanes:backward, treating each untagged direction as one lane.
- A one-way road qualifies when it has at most one lane. Use lanes if present, otherwise the lane count for the direction cars use. A reverse one-way uses lanes:backward. An untagged active direction counts as one lane; the unused direction does not count.
- Other road classes and wider roads retain Valhalla's posted-limit behaviour. A practical or advisory speed still takes precedence. The displayed speed limit is unchanged. Roads without a numeric posted limit keep Valhalla's class defaults and urban-density reduction.
Planning uses a fixed summer-noon reference, keeping Tioga and Glacier Point Road available in every planning season. Other supported calendar, weekday and clock restrictions are evaluated at that reference, so summer-only closures remain closed. Seasonal-road notes do not alter the stored graph or add exclusions to a request. This is a planning method, not current road status.
Basemaps and offline drive files
Use Protomaps tiles 4.15.2, daily build 20261026
from the planet PMTiles archive, based on OpenStreetMap replicated
to 2026-10-26T04:00:00Z. Extract each coverage box below with
pmtiles extract --bbox west,south,east,north --maxzoom 15.
Verify each resulting regional archive against its SHA-256 and byte size:
- tahoe-reno: 49132058 bytes. SHA-256: 9e292a3e3b492a462f2717bcea6751cfa206dc83eb85e020ebaa39229d46e011
- yosemite: 33205381 bytes. SHA-256: 8bfdcd91a420328eaa0e0e6a5c21ebf4c14119f3f3a824690ef9874fdb93ba43
A drive's offline file combines all regional tiles through zoom 11 with zooms 12–15 in a corridor of half-width 1000 metres around its route. Project the route at its mean latitude, thin dense points with a step of min(150 metres, half-width / 4), and keep both endpoints. Place a 16-sided disc of that radius at each kept point and a band of that half-width along each segment. Transform the overlapping polygons back to longitude/latitude, rounded to six decimals. This reaches at least 0.67 of the half-width around omitted points and gives rounded ends.
Extract tiles intersecting those polygons with pmtiles extract --region, using the corridor zooms, then merge them with the regional overview using pmtiles merge. Keep one copy of each tile. The overview is the regional archive cut with --maxzoom 11. This method works with a route of your own; rider accounts and private routes are not inputs to the public method.
Coverage
- Lake Tahoe and Reno (tahoe-reno): west, south, east, north = -120.5, 38.7, -119.35, 39.75. Routing sources: us/california, us/nevada. The basemap uses the same box.
- Yosemite (yosemite): west, south, east, north = -120.35, 37.2, -119, 38.29. Routing sources: us/california. The basemap uses the same box.
Map display credits
Maps are displayed with MapLibre Native (BSD 2-Clause). The style is @protomaps/basemaps 5.7.2. Noto Sans map fonts use the SIL Open Font License 1.1. Protomaps' map sprites, derived from Tangram icons, use the MIT licence. Valhalla's software uses its MIT licence and third-party notices. These software and asset licences are separate from the map data's ODbL licence.
Display assets come from protomaps/basemaps-assets at 028c18f713baecad011301ff7a69acc39bcc2ae7. Use fonts Noto Sans Regular, Noto Sans Medium, Noto Sans Italic, glyph ranges 0-255, 256-511, 512-767, 768-1023, 1024-1279, 8192-8447, 8448-8703, and sprites/v4/light and dark at 1× and 2×. Verify each file against these hashes.
Display asset SHA-256 hashes
- fonts/Noto Sans Italic/0-255.pbf43edfca91c285ba1226f09d5e74d68e1473a088c517f02a5212ff6ccb10037dc
- fonts/Noto Sans Italic/1024-1279.pbf9c3f67dce1f538ee635405a5562c364c95ba4db06a6b312a45c84ad6edf4c28a
- fonts/Noto Sans Italic/256-511.pbfa6f9f6574c86a4a28aba630ca1017857ceadd2370ed32a1293c35f819ab9bd60
- fonts/Noto Sans Italic/512-767.pbf5849298255f12639422a8b8ef32927b1ac49d59f725afaa6cbaf51550a5752fe
- fonts/Noto Sans Italic/768-1023.pbf52bfd64775b91f7847da983b7bbc277135e006423cec22a44499e03e182e614e
- fonts/Noto Sans Italic/8192-8447.pbf5dc4e6680116fef01be024e272859d130262613c7e634409a590e5d50ad124ae
- fonts/Noto Sans Italic/8448-8703.pbfc5ac063bb324f783a20ad168587f5d3c6966df53114ca95ab7a3af3d61458a42
- fonts/Noto Sans Medium/0-255.pbfba2f0118dd024e3041b158e5f9eb49bc0a658019f53f458e9f5c0b8efcd79b91
- fonts/Noto Sans Medium/1024-1279.pbf1fd3385560bae824ee48de8c920412ca3a75cabe5ada5ea67d8d188787018319
- fonts/Noto Sans Medium/256-511.pbfd5e801a1a5b1d409d3298c3a1e1ca76328e2314a751078833a618620e8e66e4d
- fonts/Noto Sans Medium/512-767.pbf985e56060887a8e774fdf62ec4619f26bd44d264fcb837d315023f87d768f8e2
- fonts/Noto Sans Medium/768-1023.pbf4b92939b4d3779b2d0b6be5b69c105e8c88352c047170e474011e82511ac03e9
- fonts/Noto Sans Medium/8192-8447.pbfcc38e4956207f0edba1aaf749b61e8f6f1678ef1ad443d32ee285b21d0eb67aa
- fonts/Noto Sans Medium/8448-8703.pbf9579816ed2c7765b605f76271f212b28fb82ba2019bef3156db270d3e9aa6790
- fonts/Noto Sans Regular/0-255.pbf62c6d49b15fa836eb6aa45e259c7ca6762f44b011b09e47776efbe4a6db1b397
- fonts/Noto Sans Regular/1024-1279.pbf302231023f7048d9694a7b3f3b737c8bc378f5af0175aed5bb4f2f3b6188919a
- fonts/Noto Sans Regular/256-511.pbf2eca7561f9f566bcacfda5dd04fb5880baec1328ec0f5484678289a13994de8a
- fonts/Noto Sans Regular/512-767.pbf6abc80badad0e823e228ab739515be257c8b33bc68bb077dd873030e9b2d143a
- fonts/Noto Sans Regular/768-1023.pbf537ccbee79180f4f8b3f6d2bdd27df979260ce1a0358c40d7aa7db505d9b03aa
- fonts/Noto Sans Regular/8192-8447.pbf8ea977a587352fe31b4159ffdbc9a40be79056f2472017c742ea1e4a931864b9
- fonts/Noto Sans Regular/8448-8703.pbf125b49cccfe95ac2f64b6bc2661871fba0081ff1b24f34c20bd29260b9351b57
- fonts/OFL.txt7713cfc8e3c36d5ec4aa3d6cffe7500a1b3310f8a86d914b8ea09c2a9dee7c2d
- sprites/v4/dark.jsonbfac76cf7ed5c2aa2992695904056a1c6b07785b7fd20e6c640cb44fd6244a2e
- sprites/v4/dark.png8920f68e8f9f7a4188da43e62a81bbc426532579fff7b5f27aad09e130f4246e
- sprites/v4/dark@2x.json1fb5b123fbe35d2e1f6ac171513ce01df89e671273a417ee89c44886a4c132f0
- sprites/v4/dark@2x.png6e01b4e366d304f27bbd55390511a3d4e39aa1d03eb3e82f873f7ea32e74cbe4
- sprites/v4/light.jsonbfac76cf7ed5c2aa2992695904056a1c6b07785b7fd20e6c640cb44fd6244a2e
- sprites/v4/light.pngb6a34640917bdc57d0bd080836db33376371a3312ebe7b849045268015de3481
- sprites/v4/light@2x.json1fb5b123fbe35d2e1f6ac171513ce01df89e671273a417ee89c44886a4c132f0
- sprites/v4/light@2x.png23f6e9df27c2e9a14385763980a24e3608966bfc8192a106058bc2ca959ab563