Repository navigation
A first look at worldwide offline maps in Project NOMAD #1622
ROBKEN2014
started this conversation in
Show and tell
Replies: 1 comment
|
This is great. I love the topography, and will look forward to being able to use it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I opened PR #1621 to propose World offline in Maps Manager. Selecting Topography now adds automatic 100 m contours from the installed Elevation package, alongside the worldwide visual layers. These demos use maps stored locally on my NOMAD test installation.
Four layers, one map
Start over the continental USA in Blue Marble, using July 2004 imagery with Street overlay enabled. Then switch to Satellite, zoom smoothly toward Bend, Oregon, and compare Street and Topography at the closer view. Roads and place names remain available over the imagery. Topography then shows the Neutral cartographic palette with slate roads and automatic 100 m contours.
A year of Blue Marble over Québec
The second demo steps through all 12 months of NASA’s 2004 Blue Marble imagery, centered on Québec City with the map scale at 300 km. Watch the snow retreat in spring and return toward the end of the year.
The January and July views side by side show the difference at the same scale.
Automatic 100 m contours near Bend, Oregon
Select Topography and the installed Elevation data adds labeled contour lines automatically. The interval stays fixed at 100 m. The Layers menu shows the interval as information, and regular map clicks keep the Pins workflow.
The Neutral cartographic palette gives Earth Relief a quieter terrain background and softer hillshade. Street overlay uses slate roads with narrow light casings and dark place/street labels with light halos. The 100 m curves remain brown, while their numeric labels use a darker brown for readability. This is a default style for the vector Earth Relief/Topography composition; it uses the same installed archives, keeps the existing road classifications and map controls, and needs no new download.
The closer view below stays in western Bend, Oregon, at camera zoom 12.1, with a gentle lateral movement and a smooth return. The road overlay is enabled, and 1,100–1,400 m contour labels stay visible while the map moves.
The overlay reuses buffered views and stable geographic blocks. During an overlapping update, the existing curves stay mounted while the next data arrives. In a controlled local browser run, six identical pans required six new contour requests before this change and one afterward. The four small pans and the return to the previous area used cached data.
The 100 m value is the vertical contour interval. Horizontal detail follows the installed DEM resolution. Dense or broad views can still ask for closer zoom.
Zooming into Bend with worldwide satellite
The satellite demo zooms from a regional view of Oregon into Bend at zoom 11, using the installed VersaTiles package.
Choose an offline package
World offline groups Blue Marble 2004, Worldwide satellite, Earth Relief, and Elevation in Maps Manager. The tables show each zoom tier’s resolution, estimated full download, on-disk size, and status or management controls. The optional downloader fetches data directly from NASA and VersaTiles and prepares it locally; each NOMAD installation downloads its own data.
An installed package includes its lower zoom levels. Those rows are marked Included in zoom …, while the installed row offers Manage. Elevation has seven worldwide choices from zoom 0–6 through 0–12; the installed 0–8 package in this example occupies 3.21 GB. The focused demo opens its Manage menu.
These are the installed packages on my test machine. Download traffic and temporary preparation space can differ from the final installed size.
You can open the map from the installed row, manage the package there, and follow transfers in Active Downloads. The controls cover pausing, resuming, retrying or cancelling a task and clearing partial files. A verified installed copy remains usable while its replacement is being prepared.
What I tested offline
Six additional regression checks confirmed that satellite or Blue Marble revisions, unchanged inventory polls, and reordering the same DEM archives preserve the contour source without extra contour requests. A changed DEM revision correctly reloads it. The Elevation Open map shortcut also opened visible curves at camera zoom 11 after restarting with the downloader stopped. The API reference now describes responses according to each operation's schema.
After restarting the isolated test installation with the downloader stopped and external access blocked, Topography automatically rendered labeled 100 m contours from the existing elevation zoom 0–8 package. The map stayed in 2D, and ordinary map clicks still opened the Pins form. The visual layers and the complete Blue Marble month cycle continue to use local archives.
In the same controlled six-pan browser scenario, the earlier version made six new contour requests and recreated the source on every pan. The optimized version made one new request across those six movements, with no source removal observed. Small pans and the return to the previous view reused the browser cache. A separate check retained the curves while a response was deliberately delayed.
The earlier contours-only validation passed eight contour tests, TypeScript server checking, and seven focused browser checks for automatic rendering, cached movement, retained geometry, flat areas, inventory changes, and layer switching. The four manuals and nine World offline/contour OpenAPI operations were verified. Five downloader fixtures passed in the preceding package validation.
The neutral palette update passed 14 offline browser groups with 619 local PMTiles HTTP 206 responses, no external browser requests, and no JavaScript errors. It covered all four layers, all twelve Blue Marble months and month arrows, automatic contours and cached pans, package tables, and the served manuals/API. Urban Bend verified real road and place labels; the hillside view verified numeric contours.
A separate comparison of the original and updated style composition, using identical real inputs with networking disabled, confirmed that Street, Satellite, and Blue Marble keep their existing styles, including imagery with and without Street overlay. The topographic road overlay preserves the basemap's filters, zoom-dependent widths, dash patterns, opacity rules, and route shields. The production build passed; separate frontend checking found no new diagnostics beyond the 35 already present in the published base.
The PR includes the updated source attribution, fixed-interval instructions, bounded caches, and a focused CI suite. GitHub workflow approval, ARM64 validation, and fresh full-provider downloads with the packaged worker remain pending. The two new Bend demonstrations reuse installed data, show only NOMAD with personal Pins masked, and stay in 2D. The new Layers GIF is 7.75 MB and the contour pan is 5.39 MB, both below 8 MB. The Blue Marble cycle and the other package/satellite demonstrations are retained above.
What zoom level would you keep on your NOMAD for an outage? I’d welcome feedback on contour readability and whether the resolution and storage estimates help you choose a package. The implementation and detailed test notes are in PR #1621.
All reactions