Grooming age

Show how long ago each trail was groomed, as a label on every trail and as map colours, with bands you can set per trail system.

TrailHUB remembers when each trail was last groomed and whether track was set. Visitors see it in two places:

  • A label on the trail, in the trail popup, the trail list and digital signage: Groomed 5 h ago · track set, Groomed yesterday, Groomed 3 days ago.
  • The grooming view of the map. The snowplow button on the right of the map (above the refresh button) colours every trail by how long ago it was groomed, and shows a legend. Closed trails stay red. Click it again to go back to open/closed colours. The button only appears when at least one trail was groomed in the last two weeks.

#How grooming times are recorded

Any of these sets a trail's grooming time. A time never moves backwards: an older report can't make a trail look less recently groomed.

  1. Grooming Tracker app. Each trail the track covers (see How coverage is calculated) gets the time of the pass.
  2. A surface-conditions update that includes Groomed, Skate Groomed, Classic Groomed or Track Set, posted from the web app, the API or Claude. The trails it's attached to get the time it was posted. Track Set also marks the trail track set. This works whether or not subscribers are notified.
  3. The Management API: PATCH /trails/:id with lastGroomedAt and trackSet, or POST /trail-systems/:id/trails/groomed for a whole pass. See the Management API.

#Colour bands

The default bands are:

BandMeaning
< 6 hFreshly groomed (darkest blue)
6–12 h
12–18 h
18–24 h
1–2 days(lightest blue)
> 2 daysGroomed, but not recently (tan)
Not groomedNo grooming time recorded (grey)

To change them, open your trail system's Settings and find Grooming age colours. Pick a colour for each band, change the hours, add up to 10 bands, or press Use defaults. The last band always covers everything older. You can also set them through the API with groomingBuckets on PATCH /trail-systems/:id.

#Embeds and signage

  • Embeds: add ?view=grooming to the embed URL to open the map in grooming view, for example https://trailhub.org/ts/<id>/map/embed?view=grooming. Visitors can still switch with the snowplow button (not in embed_noui).
  • Signage: add ?view=grooming to the signage URL (https://trailhub.org/signage/<id>?view=grooming) to colour the signage map by grooming age with its legend. The trail columns always show the grooming label.
  • Colours refresh every five minutes, so a screen that stays open all day keeps up as trails age.