The "Regenerate for current view" build was failing in production with "could not run 'pmtiles'" — go-pmtiles was never actually installed anywhere, just documented as something a developer runs by hand locally (docs/development.adoc). Installs the static Linux binary from go-pmtiles' own GitHub releases, architecture-matched via dpkg rather than hardcoded amd64. Verified the exact download/extract/exec sequence end-to-end outside Docker (no daemon available in this sandbox to run a real build).
3.5 KiB
Third-party notices
Frontend libraries vendored under public/vendor/ instead of loaded
from a CDN, so the app keeps working with no internet access. All are
BSD-3-Clause licensed.
| Library | Version | Source |
|---|---|---|
MapLibre GL JS |
6.6.0 |
|
pmtiles (pmtiles.js) |
4.5.0 |
|
protomaps-themes-base |
4.5.0 |
|
maplibre-contour (Overlays panel’s "Contour lines", |
0.1.0 |
Also vendored under public/vendor/, but not BSD-3-Clause like the
above — MIT-licensed per its own package.json (the monorepo’s
top-level LICENSE.md separately places the whole repo in the public
domain as a work of the US government; either way, no attribution is
required):
| Library | Version | Source |
|---|---|---|
NPS Home Button ( |
0.0.1-d |
https://github.com/nationalparkservice/npmap5-plugins/tree/main/home-button |
NPS Overview Map ( |
5.0.1 |
https://github.com/nationalparkservice/npmap5-plugins/tree/maplibre-gl-overview |
The overview map is vendored from an unmerged branch, not main (see
docs/nps-resources.adoc), and converted from its UMD dist build to a
plain ES module — no functional change except the module wrapper. It
was also patched for a MapLibre API break: it reads map.transform
(public in the MapLibre ~2.4 this plugin targets) to relax the
overview’s polar pan limit, but MapLibre 6’s Map no longer exposes
.transform at all — guarded to skip that (cosmetic) adjustment
instead of throwing when it’s absent.
Offline map text labels need font glyphs too (see
docs/architecture.adoc), vendored under public/vendor/fonts/ —
SIL Open Font License, not BSD-3-Clause like the above:
| Asset | Source |
|---|---|
Noto Sans Regular/Italic/Medium glyph PBFs (ranges |
protomaps/basemaps-assets
( |
National Park (Bold weight only, |
nationalparktypeface.com (Ben
Hoepner, Andrea Herstowski, Jeremy Shellhorn / DO Studio) — "published
for free use under the SIL Open Font License" per the site; no
|
The online map style (not vendored, fetched at runtime when the "Online" layer is selected) is OpenFreeMap "liberty", built from OpenStreetMap data.
Not a frontend asset like the above, but also baked into this app’s own
Docker image (not a separate container the way kiwix-serve/gpsd are —
see docs/deployment.adoc/docs/development.adoc): the pmtiles CLI
(go-pmtiles), installed as a static binary in the Dockerfile for
`lib/maptool/pmtiles_builder.rb’s in-app offline.pmtiles/terrain.pmtiles
regeneration. BSD-3-Clause, same as pmtiles.js/MapLibre GL above.
| Tool | Version | Source |
|---|---|---|
go-pmtiles ( |
1.31.2 |
To update a vendored library: download its package (e.g.
npm pack <name>@<version>), replace the corresponding files under
public/vendor/<name>/, and update the version in this file. To
update go-pmtiles, bump PMTILES_VERSION in the Dockerfile and the
version here.