-
-
Notifications
You must be signed in to change notification settings - Fork 0
Route overlay from a GPX, packed alongside the map #9
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestmap-formatThe MapPack binary format and its three implementationsThe MapPack binary format and its three implementationspackerThe Python map packer, tools/mappackThe Python map packer, tools/mappack
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmap-formatThe MapPack binary format and its three implementationsThe MapPack binary format and its three implementationspackerThe Python map packer, tools/mappackThe Python map packer, tools/mappack
From the README roadmap. Show a planned route on the map, packed alongside it.
A route is a single polyline. The packer already knows how to project, simplify
and quantise one, so most of this is plumbing rather than new geometry code:
read a GPX, run it through the same
geompath, and emit it as its own layer.Shape
--gpx route.gpxon the packer, emitted as a dedicated layer id above theroad layers so it draws on top.
CLAUDE.md:classify.py'sL_*andPalette.mcmust move together, andpreview.pyparses the palette at runtime.doing it this way.
Open question
Whether the route belongs in the map pack at all, or in Storage like a
waypoint (#8). Compiled in means repacking to change your route, which is a
poor fit for something you change per outing. Storage means a second data path
on the watch. The second is more useful and more work.