feat: fork bike profile + 7 encoded values + debug overlay#82
Draft
cafca wants to merge 1 commit into
Draft
Conversation
e2aeeb1 to
7cb98f9
Compare
- Add /api/debug/mvt/{z}/{x}/{y} proxy in backend/src/debug.rs forwarding
to GraphHopper's MVT tile endpoint so the web app can paint per-edge
encoded values without touching the routing service.
- Web debug overlay (Preferences -> "Debug: encoded value overlay"):
dropdown of 18 encoded values sorted alphabetically, per-member enum
toggles with All/None, global "hide road_class=footway" filter, and
an inline note per EV sourced from graphhopper_encoded_values.md.
- backend/graphhopper_encoded_values.md: reference doc for every GH
built-in EV plausibly relevant to a Berlin city-bike profile, with
semantics, OSM derivation, and a verdict.
- compose.bouman.yml: coexisting dev stack on alt ports
(3001/5433/18989/18080) and -bouman- container names so a worktree
can run alongside the main checkout.
7cb98f9 to
9e0f53a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bike.jsonintobackend/graphhopper_profile.json(mergesbike_avoid_private_node). Dropcar/footprofiles and CH prep — graph cache 87M → 72M despite adding 7 EVs.road_access,urban_density,get_off_bike,surface,smoothness,cycleway,crossing./api/debug/mvt/{z}/{x}/{y}proxy inbackend/src/debug.rsforwarding to GraphHopper's MVT tile endpoint.backend/graphhopper_encoded_values.md.compose.bouman.yml: coexisting dev stack on ports 3001/5433/18989/18080 with-bouman-containers and a separatepgdatavolume.Test plan
just test-backendpassesjust test-webpasses (incl. newdebugOverlay.test.js)just previewboots; debug dropdown lists all EVs alphabetically, switching values updates the map paintbikeprofile +bike_elevation.json