Disconnected operations

The map should not disappear with the link.

GeoLibre Marine can keep its core viewer, approved plugins, charts, styles, sprites, glyphs, and project data local—while reporting honestly when optional network services are unavailable.

Local-first chart stack

Bring the chart station with you.

The server and viewer split responsibilities cleanly: SignalK Server serves registered chart sources and project metadata; GeoLibre composes them with offline basemap packs and local runtime assets.

MBTilesRaster and vector tile archives are registered and served through local XYZ and TileJSON endpoints with TMS/XYZ handling.
GeoPackageRaster/vector tile tables can be exposed through the same cached chart service.
PMTiles packsLocal MapLibre style v8 JSON, PMTiles, sprites, and glyphs travel as one validated basemap pack.
Generated projectsThe viewer project discovers registered chart layers, map bounds, active plugins, and capability endpoints at startup.
Offline underway profile

Explicit boundaries, not wishful caching.

The opt-in strict profile validates the self-hosted viewer surface and constrains it to same-origin assets. Optional online GeoLibre tools are blocked or shown as degraded rather than silently reaching the public internet.

01 / VERIFY

Startup validation

Required wrapper, launcher, viewer entry, runtime configuration, and offline worker assets are checked before the profile is accepted.

02 / CACHE

Versioned runtime cache

A scoped service worker caches same-origin chartviewer navigation and static assets under a build-specific cache name.

03 / LIMIT

Same-origin policy

A chartviewer-specific content security policy narrows resource loading for the certified local surface.

04 / REPORT

Capability truth

The manifest explains why a function is available, disabled, degraded, or unavailable—and can include remediation.

05 / SIDECAR

Loopback basemaps

The offline basemap service binds to loopback, so each chart station controls its own local packs without exposing them to the LAN.

06 / NO FALLBACK

Validated packs

Remote resource URLs, incomplete archives, invalid PMTiles headers, and pack-escaping paths are rejected—there is no internet fallback.

Link resilience

Chart transport and live data fail separately.

A dropped data link does not remove locally available charts. A missing chart source does not corrupt the Signal K stream. Separating those paths makes degraded behavior clearer to the operator.

ChartsCached MBTiles/GeoPackage and PMTiles styles continue operating from local storage.
Live stateThe shared Signal K client suspends when offline, reconnects with bounded backoff, and marks stale/fallback state explicitly.
ReconciliationREST restores richer operational state when the server becomes reachable again.
OperationsStrict capability reporting helps an operator distinguish no data from no service.
Host boundary: in a browser, 127.0.0.1 is the chart-station computer—not the remote SignalK server. Run the basemap sidecar on each remote station or use GeoLibre Desktop beside the packs.
Pack anatomy

Everything the style needs, together.

regional-osm/
  geolibre-offline.json
  styles/
    light.json
    dark.json
  data/
    osm.pmtiles
  assets/
    fonts/{fontstack}/{range}.pbf
    sprites/v4/*.json
    sprites/v4/*.png
See the complete picture

Return to the GeoLibre Marine overview.

Back to overview