## Road attributes
GraphHopper stores different attributes for every road segment. Some frequently used are the following (some of their possible values are given in brackets):
- road_class: (OTHER, MOTORWAY, TRUNK, PRIMARY, SECONDARY, TRACK, STEPS, CYCLEWAY, FOOTWAY, ...)
- road_environment: (ROAD, FERRY, BRIDGE, TUNNEL, ...)
- road_access: (DESTINATION, DELIVERY, PRIVATE, NO, ...)
- surface: (PAVED, DIRT, SAND, GRAVEL, ...)
- smoothness: (EXCELLENT, GOOD, INTERMEDIATE, ...)
- toll: (MISSING, NO, HGV, ALL)
- bike_network, foot_network: (MISSING, INTERNATIONAL, NATIONAL, REGIONAL, LOCAL, OTHER)
- country: (`MISSING` or the country as a `ISO3166-1:alpha3` code e.g. `DEU`)
- hazmat: (YES, NO), hazmat_tunnel: (A, B, .., E), hazmat_water: (YES, PERMISSIVE, NO)
- hgv: (MISSING, YES, DESIGNATED, ...)
- track_type: (MISSING, GRADE1, GRADE2, ..., GRADE5)
- urban_density: (RURAL, RESIDENTIAL, CITY)

To learn about all available encoded values you can query the `/info` endpoint
Besides this kind of categories, which can take multiple different string values, there are also some that represent a
boolean value (they are either true or false for a given road segment), like:
- road_class_link
- roundabout

There are also some that take on a numeric value, like:
- average_slope: a number for 100 * "elevation change" / edge_distance for a road segment; it changes the sign in reverse direction; see also max_slope
- curvature: "beeline distance" / edge_distance (0..1) e.g. a curvy road is smaller than 1
- hike_rating, horse_rating, mtb_rating: a number from 0 to 6 for the `sac_scale` in OSM, e.g. 0 means "missing", 1 means "hiking", 2 means "mountain_hiking" and so on
- lanes: number of lanes
- max_slope: an unsigned decimal for the maximum slope (100 * "elevation change / distance_i") of an edge with `sum(distance_i)=edge_distance`. Important for longer road segments where ups (or downs) can be much bigger than the average_slope.
- max_speed: the speed limit from a sign (km/h)
- max_height (meter), max_width (meter), max_length (meter)
- max_weight (ton)

