Commit Graph
250 Commits
Author SHA1 Message Date
randy 58ca871662 Routing: start once the offline build's extracts are in, not after Planetiler; merged file keeps the .osm.pbf extension osmium needs
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 12s
2026-11-14 14:50:39 +01:00
randy ac7c7f3ba9 Valhalla container waits for maptool to install the freshly deployed service script
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 22s
2026-11-14 12:16:22 +01:00
randy dbe1804ebf Routing: reject a pre-merge multi-country request, don't resume a failed build, Apply queues when the running build lacks the merge
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 27s
2026-11-14 12:13:25 +01:00
randy acf5256c74 Routing: merge the countries' extracts with osmium before Valhalla, which fails on overlapping extracts
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 12s
2026-11-14 12:11:17 +01:00
randy 92efe118b0 Routing build status: show the container's step while a request is queued; Apply during a build of the same regions queues nothing
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 22s
2026-11-14 00:20:02 +01:00
randy 59447c56f2 Library phase 3: change feed and folder export for Locus (GPX) and OsmAnd (favourites + tracks zip)
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 13s
2026-11-13 23:00:07 +01:00
randy cca985d2b9 Route elevation profile (climb, descent, max grade) from the terrain tiles, and reach (isochrones) in the route panel 2026-11-13 22:55:55 +01:00
randy b80575828a Preview a search result or route point on hover / press-and-hold, back on leave, committed on click 2026-11-13 22:45:42 +01:00
randy abde7fe5f9 Route panel: points from search, GPS and library points, reordering, editing a saved route 2026-11-13 22:37:49 +01:00
randy 3146478c23 Offline routing phase 2: route panel, /api/route via Valhalla, vehicle profile, save a route to the library 2026-11-13 22:34:47 +01:00
randy d93c77727f Atomic, EOF-checked extract downloads; Apply starts builds one after another so routing waits for the offline map's downloads 2026-11-13 22:28:37 +01:00
randy bf912b96e5 Offline routing phase 1: valhalla container building from the offline map's extracts, status in the Offline data panel
CI / check (push) Successful in 55s
CI / deploy (push) Successful in 2m48s
2026-11-13 21:24:19 +01:00
randy 6f5f11cb4d Library phase 2: rename/recolor nodes, rename and move folders, split a layer into items; offline routing design 2026-11-13 21:16:35 +01:00
randy 4d838395b8 Merge pull request 'Update https://github.com/hyperknot/openfreemap-styles digest to 006ea57' (#23) from renovate/https-github.com-hyperknot-openfreemap-styles-digest into main
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 12s
Reviewed-on: #23
2026-11-13 09:44:51 +01:00
randy 8a2734d59e Update https://github.com/hyperknot/openfreemap-styles digest to 006ea57
CI / check (push) Successful in 20s
CI / deploy (push) Skipped
CI / check (pull_request) Successful in 17s
CI / deploy (pull_request) Skipped
2026-11-13 08:42:01 +00:00
randy 3834f4fe1e Renovate: allow bin/assets-sync.mjs as a postUpgradeTask, re-pin Liberty one commit back to retest
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 13s
2026-11-13 09:40:23 +01:00
randy f0f463d9b2 Update https://github.com/hyperknot/openfreemap-styles digest to 006ea57
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 22s
2026-11-13 09:36:50 +01:00
randy 7cef82116f Update dependency puma to v8.0.3
CI / check (pull_request) Successful in 26s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 27s
CI / deploy (push) Successful in 53s
2026-11-13 08:33:58 +00:00
randy 5e1d1988ab Renovate: track Noto Sans glyphs and the Liberty style/sprite via git commit pins
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 12s
2026-11-13 09:32:33 +01:00
randy ad8b72c3d3 Library phase 1: SQLite item library with folders, migration of old files as layers, import split into items 2026-11-13 09:03:22 +01:00
randy 4216211a20 Topbar: fit phone width by hiding wordmark, username and sunset countdown
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 13s
2026-11-12 16:14:32 +01:00
randy 25b87b94fe Installable PWA with a share target; design for an item-based library
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 13s
Android's share sheet (OsmAnd, Locus, mapy.com, ...) can now send
GPX/FIT/GeoJSON/ZIP files to the installed app: the service worker parks
them and the page offers to import them into a Tracks & Points folder,
waiting through a login if needed. Manifest, app icon, a server-side
fallback for /share-target.

docs/library-design.adoc proposes replacing the file-based GpxStore with
folders and items (stable ids, timestamps, tombstones, a change feed) as
the base for syncing with OsmAnd and Locus.
2026-11-12 13:42:04 +01:00
randy e2461f794c Places index: also drop localities, isolated dwellings and kindless objects
Measured on France (5.3M rows): place=locality ~10% (mostly cadastral
names of fields and woods), isolated_dwelling ~5%, objects with a name
but none of the recognized kind keys ~4% (bus route relations etc.).
Schema version 3, so rake places:index rebuilds existing indexes.
2026-11-12 13:42:04 +01:00
randy f3dd37dd4e Places index: drop buildings and land use, search without apostrophes and by brand
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 12s
Named buildings and land-use areas are skipped unless they're also a
shop/amenity/etc. A second, unshown FTS column holds the name without
apostrophes and the brand tag, so "mcdonalds" finds McDonald's and
"lidl" finds "Lidl Petržalka". The index records a schema version;
rake places:index rebuilds older ones by itself.
2026-11-12 12:58:31 +01:00
randy 8e4c466829 chore(deps): update dependency maplibre-gl to v6.18.0
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 12s
2026-11-12 12:54:49 +01:00
randy 54e811ef95 chore(deps): update dependency suncalc to v2.1.4
CI / check (pull_request) Successful in 17s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 13s
2026-11-12 11:52:17 +00:00
randy e63f6f7ce7 Enable YJIT in the container
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 1m2s
The official Ruby image ships YJIT but leaves it off. Set via ENV so the
puma server and rake jobs run through podman compose exec both get it.
2026-11-12 12:27:42 +01:00
randy 3f973a26d7 Search the offline map and Wikipedia, nearest results first
CI / check (push) Successful in 26s
CI / deploy (push) Successful in 33s
Every named OSM object in each country's Geofabrik extract goes into a
SQLite FTS5 index (data/places/<CODE>.sqlite, lib/maptool/places.rb),
built as the last offline-build step or on its own with
rake places:index. Kiwix full-text search is another source; clicking a
hit opens the article. Results from every source are sorted by distance
from the map center (settlements weighted closer) and show it; each
source is queried separately so a slow one doesn't hold up the list.
2026-11-12 12:13:13 +01:00
randy ba9c40ac3d Search: highlight the found spot, open a waypoint's popup, full-height list
A point result (typed coordinates, a geocoded place, a waypoint) leaves
a pulsing marker on the map until the next jump or a click on it. A
result from a layer opens that point's popup as if clicked on the map.
The panel grows to the window height so long result lists fit.
2026-11-12 12:13:13 +01:00
randy 81e688be9b Record per-step timings of offline/terrain builds
CI / check (push) Successful in 38s
CI / deploy (push) Successful in 12s
Live in build-status while running; every finished build (done or
error) is appended to data/build_history.jsonl with its step timings,
regions, thread count and, for offline builds, the tail of Planetiler's
output (its own per-phase summary). GET /api/build-history, shown in the
debug panel, gives a baseline to compare later builds against.
2026-11-12 11:54:49 +01:00
randy 7429e4ae33 Zip upload: reject archives over 500 MB uncompressed
Sums the entries' declared sizes before extracting anything; rubyzip's
own validate_entry_sizes (on by default) catches an entry that inflates
past what it declared.
2026-11-12 11:54:49 +01:00
randy ca2e67599b Sun & moon chart: click the topbar's sun readout
A horizon-style chart drawn from the vendored suncalc, so fully offline:
real sun and moon altitude over the 24 h around solar noon, sunrise/
sunset lines, dawn/noon/dusk on the time axis, the moon in its current
phase, plus moonrise/set, phase and current sun/moon position below.
Polar day/night now shows as a label instead of hiding the readout.
2026-11-12 11:54:49 +01:00
randy cf483d183c Add a logged-in-only status/debug panel at the bottom of the sidebar
Dumps every read-only status endpoint (health, offline/terrain build
status, regions, caches, hiking trails, kiwix, plugins, GNSS, LiveTrack)
as JSON, refreshed every 5s while open so a running build's progress
shows live.
2026-11-12 11:37:42 +01:00
randy 0051a0337c Search: look through all saved layers and offline hiking trails
GET /api/search (lib/maptool/search.rb) matches feature name and
description, case- and diacritics-insensitive, across every file in
Tracks & Points (shown or not) and every offline hiking-trails country.
Parsed features are cached in memory per file by mtime.

The search box now queries local sources and Nominatim side by side,
labels each result with where it was found, lets you untick sources,
and switches a result's layer on if it was off before zooming to it.
2026-11-12 11:37:42 +01:00
randy 2611713489 chore(deps): update dependency maplibre-gl to v6.17.0
CI / check (pull_request) Successful in 21s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 16s
CI / deploy (push) Successful in 12s
2026-11-09 10:41:41 +00:00
randy c9534db3af chore(deps): update dependency minitest to v6.1.0
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 32s
2026-11-09 11:40:11 +01:00
randy a1691f685b chore(deps): update dependency suncalc to v2.1.3
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 13s
2026-11-09 11:39:54 +01:00
randy 5bd86a5325 chore(deps): update dependency maplibre-gl-lanes to v1.4.1
CI / check (pull_request) Successful in 33s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 35s
CI / deploy (push) Successful in 13s
2026-11-09 05:01:39 +00:00
randy 016fd8b6cb chore(deps): update dependency rubyzip to v3
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 32s
2026-11-03 18:16:07 +01:00
randy 1e6c650024 Renovate: run in the official image instead of npm install
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 13s
No per-run npm install (and its deprecation/allow-scripts warnings),
Node comes with the image so the engines.node mismatch can't recur,
and containerbase installs Ruby/bundler on demand for Gemfile.lock.
2026-11-03 18:12:53 +01:00
randy f313825da7 chore(deps): update dependency maplibre-gl-lanes to v1.4.0
CI / check (pull_request) Successful in 20s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 13s
2026-11-03 17:08:44 +00:00
randy 240f7931c1 Renovate: pin its job to Node 24 and renovate@44
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 13s
npm picks a Renovate version whose engines.node matches the runtime, so
the Node 26 bump silently downgraded Renovate to 37.x, which rejected
renovate.json (managerFilePatterns) and did nothing. Node majors for
this job are now excluded from Renovate's own bumps.
2026-11-03 18:07:48 +01:00
randy 8c6c47b6fd chore(deps): update dependency oauth2 to v2.1.0
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 32s
2026-11-03 18:02:48 +01:00
randy 8b8ac386e9 chore(deps): update dependency ruby to v4.0.9
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 13s
2026-11-03 18:02:37 +01:00
randy 7e420728a2 chore(deps): update dependency node to v26
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 13s
2026-11-03 18:02:09 +01:00
randy 66163666e9 chore(deps): update actions/setup-node action to v7
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 13s
2026-11-03 18:01:59 +01:00
randy e8e0208237 chore(deps): update actions/checkout action to v7
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 12s
2026-11-03 18:01:40 +01:00
randy 21548d0f55 chore(deps): update dependency suncalc to v2.1.1
CI / check (push) Successful in 16s
CI / deploy (push) Successful in 13s
2026-11-03 18:01:28 +01:00
randy ac76f6d176 chore(deps): update dependency maplibre-gl to v6.16.0
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 13s
2026-11-03 18:00:46 +01:00
randy 4a095f28db chore(deps): update dependency flag-icons to v7.6.0
CI / check (push) Successful in 16s
CI / deploy (push) Successful in 13s
2026-11-03 18:00:30 +01:00