MapboxStreetsRoadClass
public enum MapboxStreetsRoadClass : String, Codable
A road classification according to the Mapbox Streets source , version 8.
-
High-speed, grade-separated highways
Declaration
Swift
case motorway = "motorway"
-
Link roads/lanes/ramps connecting to motorways
Declaration
Swift
case motorwayLink = "motorway_link"
-
Important roads that are not motorways.
Declaration
Swift
case trunk = "trunk"
-
Link roads/lanes/ramps connecting to trunk roads
Declaration
Swift
case trunkLink = "trunk_link"
-
A major highway linking large towns.
Declaration
Swift
case primary = "primary"
-
Link roads/lanes connecting to primary roads
Declaration
Swift
case primaryLink = "primary_link"
-
A highway linking large towns.
Declaration
Swift
case secondary = "secondary"
-
Link roads/lanes connecting to secondary roads
Declaration
Swift
case secondaryLink = "secondary_link"
-
A road linking small settlements, or the local centres of a large town or city.
Declaration
Swift
case tertiary = "tertiary"
-
Link roads/lanes connecting to tertiary roads
Declaration
Swift
case tertiaryLink = "tertiary_link"
-
Standard unclassified, residential, road, and living_street road types
Declaration
Swift
case street = "street"
-
Streets that may have limited or no access for motor vehicles.
Declaration
Swift
case streetLimited = "street_limited"
-
Includes pedestrian streets, plazas, and public transportation platforms.
Declaration
Swift
case pedestrian = "pedestrian"
-
Includes motor roads under construction (but not service roads, paths, etc.
Declaration
Swift
case construction = "construction"
-
Roads mostly for agricultural and forestry use etc.
Declaration
Swift
case track = "track"
-
Access roads, alleys, agricultural tracks, and other services roads. Also includes parking lot aisles, public & private driveways.
Declaration
Swift
case service = "service"
-
Those that serves automobiles and no or unspecified automobile service.
Declaration
Swift
case ferry = "ferry"
-
Foot paths, cycle paths, ski trails.
Declaration
Swift
case path = "path"
-
Railways, including mainline, commuter rail, and rapid transit.
Declaration
Swift
case majorRail = "major_rail"
-
Includes light rail & tram lines.
Declaration
Swift
case minorRail = "minor_rail"
-
Yard and service railways.
Declaration
Swift
case serviceRail = "service_rail"
-
Ski lifts, gondolas, and other types of aerialway.
Declaration
Swift
case aerialway = "aerialway"
-
The approximate centerline of a golf course hole
Declaration
Swift
case golf = "golf"