This website requires JavaScript.
Explore
Help
Sign In
randy
/
maptool
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
07a4d363ec31de98a4e1aeccc010a8ae4e94d721
maptool
/
lib
/
maptool
T
History
randy
07a4d363ec
CI / check (push)
Successful in 21s
Details
CI / deploy (push)
Successful in 17s
Details
Driving mode ("Drive": big buttons — follow, zoom, 2D/3D, night, route overview — the sidebar hidden); palettes instead of the inversion (the UI's greys onto --ui-*, MapLibre's controls too, night → Night, new ◑ Dusk); the navigated route magenta, the driven part dimmed; route progress only forward (locate near the last position first); rerouting on the server off its own GNSS (TripStore#follow), the browser's only without the shared trip; the overview map hidden while following in 3D; the topbar's items apart
2026-12-01 01:44:54 +01:00
..
data
Offline regions for the whole world: the region list comes from Geofabrik's index (bin/geofabrik-regions-sync.mjs → geofabrik_regions.geojson, 193 countries plus subregions like the US states), keeping the European ISO codes; the picker folds it by continent with a search box and subregions under their country, flags for all of them
2026-11-19 10:03:47 +01:00
can_discovery.rb
Nodes describe themselves: an SDO client (Can::Sdo) reads each esphome-canopen node's TPDOs and entities (type, name, unit, range) on its first heartbeat, cached by the TPDO layout hash, decoded with no hand-written signals — can.json keeps aliases (with unit conversion) and foreign devices; design doc (NPS planning, cockpit instruments, Unigrid band) with color tokens, the dashboard in cockpit colors; starting the simulation turns the GNSS follow on, the GNSS position an arrow by its course
2026-11-30 19:51:03 +01:00
can_sdo.rb
Nodes describe themselves: an SDO client (Can::Sdo) reads each esphome-canopen node's TPDOs and entities (type, name, unit, range) on its first heartbeat, cached by the TPDO layout hash, decoded with no hand-written signals — can.json keeps aliases (with unit conversion) and foreign devices; design doc (NPS planning, cockpit instruments, Unigrid band) with color tokens, the dashboard in cockpit colors; starting the simulation turns the GNSS follow on, the GNSS position an arrow by its course
2026-11-30 19:51:03 +01:00
can.rb
Nodes describe themselves: an SDO client (Can::Sdo) reads each esphome-canopen node's TPDOs and entities (type, name, unit, range) on its first heartbeat, cached by the TPDO layout hash, decoded with no hand-written signals — can.json keeps aliases (with unit conversion) and foreign devices; design doc (NPS planning, cockpit instruments, Unigrid band) with color tokens, the dashboard in cockpit colors; starting the simulation turns the GNSS follow on, the GNSS position an arrow by its course
2026-11-30 19:51:03 +01:00
fit_course.rb
Tracks and routes as containers of points: listed (collapsed) under them in the tree, added via a point's popup, a new note or the route planner's navigation pins, and written as course points into the FIT course
2026-11-18 12:39:04 +01:00
fit.rb
Profile: 1/5/10 km splits or laps (FIT/TCX) shaded in the charts, in the table and as numbered posts on the map; tooltip follows the pointer over the plots only
2026-11-17 16:47:22 +01:00
geojson.rb
Support uploading .geojson files directly
2026-09-07 22:48:58 +02:00
gnss_sim.rb
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
2026-11-30 19:19:37 +01:00
google_saved.rb
Google Maps saved lists from a scheduled Google Takeout: hourly check of TAKEOUT_DIR (brick's Drive backup, mounted read-only), the zip with Takeout/Saved/*.csv picked by its central directory (photo parts skipped), each list into Google Maps/<list>; positions decoded offline from the place's S2 feature id and refined by Nominatim, unresolved ones flagged approximate in the popup (cleared when moved by hand); points matched by Google id per folder, so a new export updates them (own color/icon/position kept, deleted stay deleted)
2026-11-25 15:10:30 +01:00
gpx_store.rb
Re-read already-uploaded tracks once so their profiles get power and temperature
2026-11-16 18:46:58 +01:00
gpx.rb
Temperature from FIT/GPX in the profile chart, splits and summary
2026-11-16 14:59:55 +01:00
hiking_trails.rb
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
2026-11-27 14:40:46 +01:00
kiwix.rb
Search the offline map and Wikipedia, nearest results first
2026-11-12 12:13:13 +01:00
library.rb
Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
2026-11-27 23:22:32 +01:00
live_store.rb
Tracker and ITS-G5 as separate overlays, Overlays grouped by category: the tracker gets a name/icon/color, charging from its USB power topic, a floating info card (per-device opacity), a trail of the last 1–24 h and optional position logging that survives restarts (LiveStore); hiking trails keep their main checkbox as an all-countries toggle
2026-11-19 11:57:36 +01:00
livetrack_client.rb
Detect a LiveTrack session ending the moment Garmin confirms it, not 30min later
2026-09-20 16:55:57 +02:00
livetrack_store.rb
Flag LiveTrack sessions whose map Garmin no longer serves
2026-09-08 14:19:15 +02:00
mqtt_client.rb
Drop gpsd support and the GNSS simulator service: the car's GNSS comes over CAN later; /api/gnss/position and the GNSS control stay, fed through GNSS_LATEST
2026-11-27 13:59:53 +01:00
overpass_pois.rb
refactor: enhance Overpass API handling with multiple endpoints and improved error reporting
2026-10-09 22:07:45 +02:00
places.rb
Places index: also drop localities, isolated dwellings and kindless objects
2026-11-12 13:42:04 +01:00
plugins.rb
refactor: enhance Overpass API handling with multiple endpoints and improved error reporting
2026-10-09 22:07:45 +02:00
pmtiles_builder.rb
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
2026-11-27 14:40:46 +01:00
routing.rb
Navigation banner across the top (the next maneuver's arrow by Valhalla's type, distance, street, then…, lanes, the street being driven; maneuvers gain type/street/exit); the driving view (tilted to 3D) hides route numbers and minor roads' names, road labels further apart
2026-11-30 20:06:44 +01:00
search.rb
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
sync.rb
Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
2026-11-27 23:22:32 +01:00
tcx.rb
Profile: 1/5/10 km splits or laps (FIT/TCX) shaded in the charts, in the table and as numbered posts on the map; tooltip follows the pointer over the plots only
2026-11-17 16:47:22 +01:00
track_stats.rb
Temperature from FIT/GPX in the profile chart, splits and summary
2026-11-16 14:59:55 +01:00
trip.rb
Driving mode ("Drive": big buttons — follow, zoom, 2D/3D, night, route overview — the sidebar hidden); palettes instead of the inversion (the UI's greys onto --ui-*, MapLibre's controls too, night → Night, new ◑ Dusk); the navigated route magenta, the driven part dimmed; route progress only forward (locate near the last position first); rerouting on the server off its own GNSS (TripStore#follow), the browser's only without the shared trip; the overview map hidden while following in 3D; the topbar's items apart
2026-12-01 01:44:54 +01:00
updater.rb
Update check: a failed one or CI still running is asked again after a minute, not cached for 10
2026-11-30 19:26:32 +01:00