# Surface and road types

> Documentation index: https://ridewithgps.com/api/v1/doc/llms.txt

Route track points carry two integer codes: `S` for the surface and `R` for the road type. See [Track points](https://ridewithgps.com/api/v1/doc/reference/track_points.md).

## Surface codes (`S`)

`S` is missing when we have no surface data for the point.

| Value | Surface |
| --- | --- |
| `0` | `paved` |
| `1` | `asphalt` |
| `2` | `chipseal` |
| `3` | `concrete` |
| `4` | `concrete:lanes` |
| `5` | `concrete:plates` |
| `6` | `paving_stones` |
| `7` | `sett` |
| `8` | `paved_unknown` |
| `49` | `artificial_turf` |
| `50` | `clay` |
| `51` | `unhewn_cobblestone` |
| `52` | `cobblestone` |
| `53` | `metal` |
| `54` | `wood` |
| `55` | `stepping_stones` |
| `56` | `unpaved` |
| `57` | `compacted` |
| `58` | `fine_gravel` |
| `59` | `gravel` |
| `60` | `rock` |
| `61` | `pebblestone` |
| `62` | `ground` |
| `63` | `dirt` |
| `64` | `earth` |
| `65` | `grass` |
| `66` | `grass_paver` |
| `67` | `mud` |
| `68` | `sand` |
| `69` | `woodchips` |
| `70` | `unpaved_unknown` |
| `92` | `carpet` |
| `93` | `acrylic` |
| `94` | `metal_grid` |
| `95` | `other` |
| `96` | `snow` |
| `97` | `ice` |
| `98` | `salt` |
| `99` | `unknown` |

`paved_unknown` and `unpaved_unknown` mean we know whether the surface is paved, but not the exact material. `unknown` means we do not know the surface.

## Road type codes (`R`)

`R` is missing when we have no road type for the point.

| Value | Road type |
| --- | --- |
| `0` | `motorway` |
| `1` | `trunk` |
| `2` | `primary` |
| `3` | `secondary` |
| `4` | `tertiary` |
| `5` | `unclassified` |
| `6` | `residential` |
| `7` | `motorway_link` |
| `8` | `trunk_link` |
| `9` | `primary_link` |
| `10` | `secondary_link` |
| `11` | `tertiary_link` |
| `12` | `living_street` |
| `13` | `service` |
| `14` | `pedestrian` |
| `15` | `track` |
| `16` | `bus_guideway` |
| `17` | `escape` |
| `18` | `raceway` |
| `19` | `road` |
| `20` | `busway` |
| `21` | `footway` |
| `22` | `bridleway` |
| `23` | `steps` |
| `24` | `corridor` |
| `25` | `path` |
| `26` | `sidewalk` |
| `27` | `crossing` |
| `28` | `cycleway` |
| `29` | `lane` |
| `30` | `opposite` |
| `31` | `opposite_lane` |
| `32` | `opposite_track` |
| `33` | `share_busway` |
| `34` | `opposite_share_busway` |
| `35` | `shared_lane` |
| `36` | `other` |
| `37` | `platform` |
