Road types are as defined in the enumerated type CartoType::TRoadType:

 

enum TRoadType
{
/** The major road type is held in the high 8 bits. */
EMajorRoadTypeMask = 0xFF00,
 
/** The minor road type flags are held in the low 8 bits. */
EMinorRoadTypeMask = 0x00FF,
 
/** Roads of unknown type. */
EUnknownMajorRoadType = 0,
 
/** Primary road with limited access (motorway, freeway, etc.). */
EPrimaryLimitedAccessRoadType = 0x100,
 
/** Primary road without limited access: UK 'A' road. */
EPrimaryUnlimitedAccessRoadType = 0x200,
 
/** Secondary road: UK 'B' road. */
ESecondaryRoadType = 0x300,
 
/** Local road or town or city street. */
EMinorRoadType = 0x400,
 
/** Byway: road or track passable only by 4WD vehicles. */
EBywayRoadType = 0x500,
 
/** Access ramp to limited access road. */
EAccessRampType = 0x600,
 
/** Service road or access road. */
EServiceRoadType = 0x700,
 
/** Vehicular Ferry route. */
EVehicularFerryRoadType = 0x800,
 
/** Passenger-only Ferry route. */
EPassengerFerryRoadType = 0x900,
 
/** Path or walkway for pedestrians. */
EPathRoadType = 0xA00,
 
/** Stairway or escalator for pedestrians. */
EStairwayRoadType = 0xB00,
 
/** A bit flag for roads separated by a central divider. */
ESeparatedRoadTypeFlag = 1,
 
/** A bit flag for roads in a tunnel. */
ETunnelRoadTypeFlag = 2,
 
/** A bit flag for underpassing roads. */
EUnderpassRoadTypeFlag = 4,
 
/** A bit flag for roads with a central railway or tramway. */
ECentralRailLineRoadTypeFlag = 8,
 
/** A bit flag indicating that the road is one-way in the direction in which it is defined. */
EOneWayForwardRoadTypeFlag = 16,
 
/** A bit flag indicating that the road is one-way in the reverse direction to that in which it is defined. */
EOneWayBackwardRoadTypeFlag = 32,
/** A bit flag to allow access ramps (links) to be marked as sub-types of a major road type. */
ELinkRoadTypeFlag = 64,
 
/**
A bit flag to allow a distinction to be made between grades of road, within the major road type.
It allows OpenStreetMap data to distinguish trunk roads from primary roads in a backward-compatible way.
*/
ELowerGradeRoadTypeFlag = 128,
};
 

Style Sheets Directory