CartoType iOS API 8.12-19-g3f49c29ef
for development in Swift and Objective C for iOS and Mac OS
Classes | Macros | Typedefs | Functions | Variables
CartoTypeBase.h File Reference
#import <Foundation/Foundation.h>
#import <CoreGraphics/CGImage.h>
#import <CoreGraphics/CGGeometry.h>
#import <UIKit/UIImage.h>
#import <CartoType/CartoTypeResultCode.h>

Go to the source code of this file.

Classes

struct  CtPathPoint
 
struct  CtPathPointFP
 
struct  CtPoint
 
struct  CtRect
 
struct  CtPointAndResult
 
struct  CtRectAndResult
 
class  CtGeometryAndResult
 
struct  CtIdAndResult
 
struct  CtAreaLengthAndResult
 
class  CtBlendStyle
 
class  CtAddress
 
protocol  <CtPath>
 
protocol  <CartoTypePath>
 
class  CtMatch
 
class  CtFeatureInfo
 
class  CtMapObject
 
class  CtMapObjectGroup
 
class  CtPathIntersectionInfo
 
class  CtGeometry
 
class  CtFindParam
 
class  CtNoticePosition
 
class  CtPositionedBitmap
 
class  CtPerspectiveParam
 
class  CtViewState
 
class  CtMapMetaData
 
class  CtMapObjectParam
 

Macros

#define MakeFeatureTypeCode(A, B, C)   ((((A)-'a'+1) << 10) | (((B)-'a'+1) << 5) | ((C)-'a'+1))
 

Typedefs

typedef CtFontStyle CartoTypeFontStyle
 
typedef CtStringMatch CartoTypeStringMatch
 
typedef CtFileType CartoTypeFileType
 
typedef CtMapObjectType CartoTypeMapObjectType
 
typedef CtPointType CartoTypePointType
 
typedef CtAlign CartoTypeAlign
 
typedef CtPathPoint CartoTypePathPoint
 
typedef CtPathPointFP CartoTypePathPointFP
 
typedef CtPoint CartoTypePoint
 
typedef CtRect CartoTypeRect
 
typedef CtPointAndResult CartoTypePointAndResult
 
typedef CtRectAndResult CartoTypeRectAndResult
 
typedef CtIdAndResult CartoTypeIdAndResult
 
typedef CtAreaLengthAndResult CartoTypeAreaLengthAndResult
 
typedef CtCoordType CartoTypeCoordType
 
typedef uint32_t CtColor NS_TYPED_ENUM
 
typedef CtColor CartoTypeColor
 
typedef CtFeatureType CartoTypeFeatureType
 
typedef CtFeatureDiscriminator CartoTypeFeatureDiscriminator
 
typedef CtPathIntersectionType CartoTypePathIntersectionType
 
typedef CtClipOperation CartoTypeClipOperation
 
typedef CtWritableMapType CartoTypeWritableMapType
 
typedef CtNoticeAnchor CartoTypeNoticeAnchor
 
typedef CtLetterCase CartoTypeLetterCase
 
typedef CtPointFormat CartoTypePointFormat
 

Functions

typedef NS_OPTIONS (NSUInteger, CtFontStyle)
 
typedef NS_OPTIONS (NSUInteger, CtStringMatch)
 
typedef NS_ENUM (NSInteger, CtFileType)
 
typedef NS_ENUM (NSInteger, CtMapObjectType)
 
typedef NS_ENUM (NSInteger, CtPointType)
 
typedef NS_ENUM (NSInteger, CtAlign)
 
typedef NS_ENUM (NSInteger, CtCoordType)
 
typedef NS_ENUM (NSUInteger, CtFeatureType)
 
typedef NS_ENUM (NSUInteger, CtFeatureDiscriminator)
 
typedef NS_ENUM (NSInteger, CtPathIntersectionType)
 
typedef NS_ENUM (NSInteger, CtClipOperation)
 
typedef NS_ENUM (NSInteger, CtWritableMapType)
 
typedef NS_ENUM (NSInteger, CtNoticeAnchor)
 
typedef NS_ENUM (NSInteger, CtLetterCase)
 
typedef NS_ENUM (NSInteger, CtPointFormat)
 

Variables

compatibility_alias CartoTypeGeometryAndResult CtGeometryAndResult
 
CtColor const CtColorBlack = 0xFF000000
 
CtColor const CtColorDarkGray = 0xFF555555
 
CtColor const CtColorDarkRed = 0xFF000080
 
CtColor const CtColorDarkGreen = 0xFF008000
 
CtColor const CtColorDarkYellow = 0xFF00808
 
CtColor const CtColorDarkBlue = 0xFF800000
 
CtColor const CtColorDarkMagenta = 0xFF800080
 
CtColor const CtColorDarkCyan = 0xFF808000
 
CtColor const CtColorRed = 0xFF0000FF
 
CtColor const CtColorGreen = 0xFF00FF00
 
CtColor const CtColorYellow = 0xFF00FFFF
 
CtColor const CtColorBlue = 0xFFFF0000
 
CtColor const CtColorMagenta = 0xFFFF00FF
 
CtColor const CtColorCyan = 0xFFFFFF00
 
CtColor const CtColorGray = 0xFFAAAAAA
 
CtColor const CtColorWhite = 0xFFFFFFFF
 
CtColor const CtColorTransparentBlack = 0x00000000
 
compatibility_alias CartoTypeBlendStyle CtBlendStyle
 
compatibility_alias CartoTypeAddress CtAddress
 
compatibility_alias CartoTypeMatch CtMatch
 
compatibility_alias CartoTypeFeatureInfo CtFeatureInfo
 
CtRouteAccess const CtRouteAccessShift = 26
 
CtRouteAccess const CtRouteAccessMask = 63U << CtRouteAccessShift
 
CtRouteAccess const CtRouteAccessWrongWayFlag = 1 << 26
 
CtRouteAccess const CtRouteAccessPedestrianFlag = 1 << 27
 
CtRouteAccess const CtRouteAccessCycleFlag = 1 << 28
 
CtRouteAccess const CtRouteAccessMotorVehicleFlag = 1 << 29
 
CtRouteAccess const CtRouteAccessEmergencyVehicleFlag = 1 << 30
 
CtRouteAccess const CtRouteAccessOtherFlag = 1U << 31
 
CtRouteAccess const CtRouteAccessVehicle = CtRouteAccessCycleFlag | CtRouteAccessMotorVehicleFlag | CtRouteAccessEmergencyVehicleFlag
 
CtRouteAccess const CtRouteAccessNormal = CtRouteAccessCycleFlag | CtRouteAccessMotorVehicleFlag | CtRouteAccessPedestrianFlag
 
compatibility_alias CartoTypeMapObject CtMapObject
 
compatibility_alias CartoTypeMapObjectGroup CtMapObjectGroup
 
compatibility_alias CartoTypePathIntersectionInfo CtPathIntersectionInfo
 
compatibility_alias CartoTypeGeometry CtGeometry
 
compatibility_alias CartoTypeFindParam CtFindParam
 
compatibility_alias CartoTypeNoticePosition CtNoticePosition
 
compatibility_alias CartoTypePositionedBitmap CtPositionedBitmap
 
compatibility_alias CartoTypePerspectiveParam CtPerspectiveParam
 
compatibility_alias CartoTypeViewState CtViewState
 
CtMapTableId const CtMapTableIdGlobal = 0
 
CtMapTableId const CtMapTableIdLayer = 1
 
CtMapTableId const CtMapTableIdProjection = 4
 
CtMapTableId const CtMapTableIdString = 5
 
CtMapTableId const CtMapTableIdLowResolutionLayer = 6
 
CtMapTableId const CtMapTableIdPalette = 7
 
CtMapTableId const CtMapTableIdTextIndex = 8
 
CtMapTableId const CtMapTableIdRouteAStar = 10
 
CtMapTableId const CtMapTableIdRouteCH = 11
 
CtMapTableId const CtMapTableIdRouteExtra = 12
 
CtMapTableId const CtMapTableIdRouteTurnExpanded = 13
 
CtMapTableId const CtMapTableIdRouteCHStandAlone = 14
 
CtMapTableId const CtMapTableIdRouteTECH = 15
 
CtMapTableId const CtMapTableIdRouteCHTiled = 16
 
CtMapTableId const CtMapTableIdRouteTECHTiled = 17
 
CtMapTableId const CtMapTableIdRouteTurnExpandedCompact = 18
 
CtMapTableId const CtMapTableIdNone = UINT16_MAX
 
compatibility_alias CartoTypeMapMetaData CtMapMetaData
 
compatibility_alias CartoTypeMapObjectParam CtMapObjectParam
 

Detailed Description

Base types for use with the CartoType Objective C class CartoTypeFramework and others.

Macro Definition Documentation

◆ MakeFeatureTypeCode

#define MakeFeatureTypeCode (   A,
  B,
 
)    ((((A)-'a'+1) << 10) | (((B)-'a'+1) << 5) | ((C)-'a'+1))

Constructs a 15-bit feature type code from 3 lower-case letters.

Typedef Documentation

◆ CartoTypeAlign

typedef CtAlign CartoTypeAlign

A synonym of CtAlign.

◆ CartoTypeAreaLengthAndResult

A synonym of CtAreaLengthAndResult.

◆ CartoTypeClipOperation

typedef CtClipOperation CartoTypeClipOperation

A synonym of CtClipOperation.

◆ CartoTypeColor

typedef CtColor CartoTypeColor

A synonym of CtColor.

◆ CartoTypeCoordType

typedef CtCoordType CartoTypeCoordType

A synonym of CtCoordType.

◆ CartoTypeFeatureDiscriminator

typedef CtFeatureDiscriminator CartoTypeFeatureDiscriminator

A synonym of CtFeatureDiscriminator.

◆ CartoTypeFeatureType

typedef CtFeatureType CartoTypeFeatureType

A synonym of CtFeatureType.

◆ CartoTypeFileType

typedef CtFileType CartoTypeFileType

A synonym of CtFileType.

◆ CartoTypeFontStyle

typedef CtFontStyle CartoTypeFontStyle

A synonym of CtFontStyle.

◆ CartoTypeIdAndResult

A synonym of CtIdAndResult.

◆ CartoTypeLetterCase

typedef CtLetterCase CartoTypeLetterCase

A synonym of CtLetterCase.

◆ CartoTypeMapObjectType

typedef CtMapObjectType CartoTypeMapObjectType

A synonym of CtMapObjectType.

◆ CartoTypeNoticeAnchor

typedef CtNoticeAnchor CartoTypeNoticeAnchor

A synonym of CtNoticeAnchor.

◆ CartoTypePathIntersectionType

typedef CtPathIntersectionType CartoTypePathIntersectionType

A synonym of CtPathIntersectionType.

◆ CartoTypePathPoint

A synonym of CtPathPoint.

◆ CartoTypePathPointFP

A synonym of CtPathPointFP.

◆ CartoTypePoint

A synonym of CtPoint.

◆ CartoTypePointAndResult

A synonym of CtPointAndResult.

◆ CartoTypePointFormat

typedef CtPointFormat CartoTypePointFormat

A synonym of CtPointFormat.

◆ CartoTypePointType

typedef CtPointType CartoTypePointType

A synonym of CtPointType.

◆ CartoTypeRect

A synonym of CtRect.

◆ CartoTypeRectAndResult

A synonym of CtRectAndResult.

◆ CartoTypeStringMatch

typedef CtStringMatch CartoTypeStringMatch

A synonym of CtStringMatch.

◆ CartoTypeWritableMapType

typedef CtWritableMapType CartoTypeWritableMapType

A synonym of CtWritableMapType.

◆ NS_TYPED_ENUM

typedef uint16_t CtMapTableId NS_TYPED_ENUM

Colors are represented as 32-bit integers holding 8 bits each for the read, green, blue and alpha values.

A type for flags controlling route access.

Identifiers of tables in CtM1 map files.

Function Documentation

◆ NS_ENUM() [1/13]

typedef NS_ENUM ( NSInteger  ,
CtAlign   
)

Alignments used for multi-line text.

Center the text.

Align to the left for left-to-right text, to the right for right-to-left text.

Align to the right for left-to-right text, to the left for right-to-left text.

Align to the left and leave space on the right.

Align to the right and leave space on the left.

◆ NS_ENUM() [2/13]

typedef NS_ENUM ( NSInteger  ,
CtClipOperation   
)

Types of clipping done by the Clip functions of the Geometry class.

Returns the intersection of two paths; commutative.

Returns the union of two paths; commutative.

Returns the difference of two paths; non-commutative.

Returns the exclusive-or of the two paths; that is, any regions which are in neither path; commutative.

◆ NS_ENUM() [3/13]

typedef NS_ENUM ( NSInteger  ,
CtCoordType   
)

Coordinate types used for positions on a map.

Longitude (X) and latitude (Y) in degrees. X increases to the east and Y increases to the north.

Pixels on the display: X increases to the right and Y increases downwards.

A synonym for Display. Pixels on the display: X increases to the right and Y increases downwards.

Map coordinates: 32nds of projected meters. X increases to the east and Y increases to the north.

Map meters: projected meters. X increases to the east and Y increases to the north.

◆ NS_ENUM() [4/13]

typedef NS_ENUM ( NSInteger  ,
CtFileType   
)

File types of interest to CartoType.

PNG (Portable Network Graphics) image files.

JPEG (Joint Photographic Expert Group) image files.

TIFF (Tagged Image File Format) image files.

CTM1 (CartoType Map Data Type 1) map data files.

CTMS (CartoType Map Data, Serialized) map data files.

KML (Keyhole Markup Language) map data files.

CTSQL (CartoType SQLite format) map data files.

CTROUTE (CartoType XML route) files.

GPX (GPS Exchange) files.

◆ NS_ENUM() [5/13]

typedef NS_ENUM ( NSInteger  ,
CtLetterCase   
)

The case of letters and strings in Latin, Greek, Cyrillic and other alphabetic scripts.

A code used when the letter case is to be left as it is, or is irrelevant.

The case of the letters 'a', 'b', c', etc.

The case of the letters 'A', 'B', 'C, etc.

The case of letters like U+01C8 'Lj' and a few others; also indicates that the first letter of each word should be changed to titlecase.

◆ NS_ENUM() [6/13]

typedef NS_ENUM ( NSInteger  ,
CtMapObjectType   
)

Map object types.

A point in two-dimensional space.

A line in two-dimensional space, consisting of one or more open contours.

A polygon in two-dimensional space, consisting of one or more closed contours.

Information arranged as an array of values, such as an image or height data.

The total number of map object types. This is not an actual type.

A value to use where a null type is needed.

◆ NS_ENUM() [7/13]

typedef NS_ENUM ( NSInteger  ,
CtNoticeAnchor   
)

Anchor positions for notices like the legend or scale bar.

The top left corner of the display.

The top right corner of the display.

The bottom left corner of the display.

The bottom right corner of the display.

The center of the top edge of the display.

The center of the right side of the display.

The center of the left side of the display.

The center of the bottom edge of the display.

The center of the display.

◆ NS_ENUM() [8/13]

typedef NS_ENUM ( NSInteger  ,
CtPathIntersectionType   
)

The ways two paths can intersect.

The intersection type is unknown.

The paths do not intersect.

The paths intersect or are identical.

The first path contains the second.

The second path contains the first.

◆ NS_ENUM() [9/13]

typedef NS_ENUM ( NSInteger  ,
CtPointFormat   
)

The format used for points in CTM1 data. These numbers must fit into 8 bits for the moment because of the way they are stored in the CTM1 file. The values are discontinuous because several obsolete values have been discarded.

An arbitrary or unknown point format.

Units are projected map meters.

Units are degrees as 11.21 fixed-point numbers. That is, there are 2^21 (2097152) units to a degree. This format is used only by the makemap tool, for representing unprojected map data.

Units are 32nds of projected map meters. This is the default format for CTM1 data.

◆ NS_ENUM() [10/13]

typedef NS_ENUM ( NSInteger  ,
CtPointType   
)

The type of a CtPathPoint.

The point is on the curve.

The point is a control point for a quadratic (conic) Bezier spline.

The point is a control point for a cubic Bezier spline.

◆ NS_ENUM() [11/13]

typedef NS_ENUM ( NSInteger  ,
CtWritableMapType   
)

Types of writable map.

A writable map stored in memory.

A writable map stored in an SQLite database.

◆ NS_ENUM() [12/13]

typedef NS_ENUM ( NSUInteger  ,
CtFeatureDiscriminator   
)

The feature discriminator stored in a FeatureInfo object.

Not a route.

A route that is a bridge.

A route that is a tunnel.

A route that is neither a tunnel nor a bridge.

◆ NS_ENUM() [13/13]

typedef NS_ENUM ( NSUInteger  ,
CtFeatureType   
)

Every map object has a feature type. The first 32 feature types are used for routable objects and their values are indexes into tables of speeds and weights in route profiles. Other feature types are constructed from three-letter codes.

All feature type values must fit into 15 bits, and therefore must be in the range 0...32767.

◆ NS_OPTIONS() [1/2]

typedef NS_OPTIONS ( NSUInteger  ,
CtFontStyle   
)

Bit flags used for font styles.

The bit flag used to select bold face.

The bit flag used to select italics.

The bit flag used to select a serif font.

The bit flag used to select a cursive font.

The bit flag used to select a 'fantasy' font.

The bit flag used to select a monospace font.

◆ NS_OPTIONS() [2/2]

typedef NS_OPTIONS ( NSUInteger  ,
CtStringMatch   
)

Flags and constants to tell text searching how to match search terms with found strings.

A flag to match all strings for which the search term is a perfect match or a prefix.

A flag to ignore all characters that are not letters, digits or whitespace when matching.

A flag to match accented and unaccented letters.

A flag to allow imperfect matches with a small number of omitted, incorrect or extra characters.

A flag to fold letter case.

A flag to ignore whitespace.

Strings must match exactly.

Fold case when matching strings.

The search term must be an exact match or a prefix of the found string.

Ignore characters that are not letters, digits or whitespace.

Loose matching: ignore non-alphanumerics and fold accents and case.

Allow fuzzy matches: ignore non-alphanumerics, fold accents and allow imperfect matches.

Variable Documentation

◆ CtAddress

compatibility_alias CartoTypeAddress CtAddress

A synonym of CtAddress.

◆ CtBlendStyle

compatibility_alias CartoTypeBlendStyle CtBlendStyle

A synonym of CtBlendStyle.

◆ CtColorBlack

CtColor const CtColorBlack = 0xFF000000

A value for the color black.

◆ CtColorBlue

CtColor const CtColorBlue = 0xFFFF0000

A value for the color blue.

◆ CtColorCyan

CtColor const CtColorCyan = 0xFFFFFF00

A value for the color cyan.

◆ CtColorDarkBlue

CtColor const CtColorDarkBlue = 0xFF800000

A value for the color dark blue.

◆ CtColorDarkCyan

CtColor const CtColorDarkCyan = 0xFF808000

A value for the color dark cyan.

◆ CtColorDarkGray

CtColor const CtColorDarkGray = 0xFF555555

A value for the color dark gray.

◆ CtColorDarkGreen

CtColor const CtColorDarkGreen = 0xFF008000

A value for the color dark green.

◆ CtColorDarkMagenta

CtColor const CtColorDarkMagenta = 0xFF800080

A value for the color dark magenta.

◆ CtColorDarkRed

CtColor const CtColorDarkRed = 0xFF000080

A value for the color dark red.

◆ CtColorDarkYellow

CtColor const CtColorDarkYellow = 0xFF00808

A value for the color dark yellow.

◆ CtColorGray

CtColor const CtColorGray = 0xFFAAAAAA

A value for the color gray.

◆ CtColorGreen

CtColor const CtColorGreen = 0xFF00FF00

A value for the color green.

◆ CtColorMagenta

CtColor const CtColorMagenta = 0xFFFF00FF

A value for the color magenta.

◆ CtColorRed

CtColor const CtColorRed = 0xFF0000FF

A value for the color red.

◆ CtColorTransparentBlack

CtColor const CtColorTransparentBlack = 0x00000000

A value for the 'null color' transparent black.

◆ CtColorWhite

CtColor const CtColorWhite = 0xFFFFFFFF

A value for the color white.

◆ CtColorYellow

CtColor const CtColorYellow = 0xFF00FFFF

A value for the color yellow.

◆ CtFeatureInfo

compatibility_alias CartoTypeFeatureInfo CtFeatureInfo

A synonym of CtFeatureInfo.

◆ CtFindParam

compatibility_alias CartoTypeFindParam CtFindParam

A synonym of CtFindParam.

◆ CtGeometry

compatibility_alias CartoTypeGeometry CtGeometry

A synonym of CtGeometry.

◆ CtGeometryAndResult

compatibility_alias CartoTypeGeometryAndResult CtGeometryAndResult

A synonym of CtGeometryAndResult.

◆ CtMapMetaData

compatibility_alias CartoTypeMapMetaData CtMapMetaData

A synonym of CtMapMetaData.

◆ CtMapObject

compatibility_alias CartoTypeMapObject CtMapObject

A synonym of CtMapObject.

◆ CtMapObjectGroup

compatibility_alias CartoTypeMapObjectGroup CtMapObjectGroup

A synonym of CtMapObjectGroup.

◆ CtMapObjectParam

compatibility_alias CartoTypeMapObjectParam CtMapObjectParam

A synonym of CtMapObjectParam.

◆ CtMapTableIdGlobal

CtMapTableId const CtMapTableIdGlobal = 0

The ID of the global information table.

◆ CtMapTableIdLayer

CtMapTableId const CtMapTableIdLayer = 1

The ID of the table containing the layers containing the map objects; see also KLowResolutionLayerTable.

◆ CtMapTableIdLowResolutionLayer

CtMapTableId const CtMapTableIdLowResolutionLayer = 6

The ID of the table containing layer data containing map objects at lower resolutions, simplified for display at smaller scales; see also KLayerTable.

◆ CtMapTableIdNone

CtMapTableId const CtMapTableIdNone = UINT16_MAX

An ID used when no table exists or the table type is unknown.

◆ CtMapTableIdPalette

CtMapTableId const CtMapTableIdPalette = 7

The ID of the table containing color palettes for raster image objects.

◆ CtMapTableIdProjection

CtMapTableId const CtMapTableIdProjection = 4

The ID of the the table containing the map projection.

◆ CtMapTableIdRouteAStar

CtMapTableId const CtMapTableIdRouteAStar = 10

The ID of the A-star routing data table.

◆ CtMapTableIdRouteCH

CtMapTableId const CtMapTableIdRouteCH = 11

The ID of the contraction hierarchy routing data table.

◆ CtMapTableIdRouteCHStandAlone

CtMapTableId const CtMapTableIdRouteCHStandAlone = 14

The ID of the table containing contraction hierarchy routing data that can optionally be used stand-alone, in combination with other map files.

◆ CtMapTableIdRouteCHTiled

CtMapTableId const CtMapTableIdRouteCHTiled = 16

The ID of the table containing contraction hierarchy routing data that is a tile that can be used with other tiles from the same data set.

◆ CtMapTableIdRouteExtra

CtMapTableId const CtMapTableIdRouteExtra = 12

The ID of the table containing extra information used for A-star routing.

◆ CtMapTableIdRouteTECH

CtMapTableId const CtMapTableIdRouteTECH = 15

The ID of the turn-expanded contraction hierarchy routing data table.

◆ CtMapTableIdRouteTECHTiled

CtMapTableId const CtMapTableIdRouteTECHTiled = 17

The ID of the table containing turn-expanded contraction hierarchy routing data that is a tile that can be used with other tiles from the same data set.

◆ CtMapTableIdRouteTurnExpanded

CtMapTableId const CtMapTableIdRouteTurnExpanded = 13

The ID of the turn-expanded routing data table.

◆ CtMapTableIdRouteTurnExpandedCompact

CtMapTableId const CtMapTableIdRouteTurnExpandedCompact = 18

The ID of the table containing compact turn-expanded routing data, which uses less run-time RAM.

◆ CtMapTableIdString

CtMapTableId const CtMapTableIdString = 5

The ID of the table of compressed strings referenced by the map objects.

◆ CtMapTableIdTextIndex

CtMapTableId const CtMapTableIdTextIndex = 8

The ID of the table containing the text index used when searching for string attributes.

◆ CtMatch

compatibility_alias CartoTypeMatch CtMatch

A synonym of CtMatch.

◆ CtNoticePosition

compatibility_alias CartoTypeNoticePosition CtNoticePosition

A synonym of CtNoticePosition.

◆ CtPathIntersectionInfo

compatibility_alias CartoTypePathIntersectionInfo CtPathIntersectionInfo

A synonym of CtPathIntersectionInfo.

◆ CtPerspectiveParam

compatibility_alias CartoTypePerspectiveParam CtPerspectiveParam

A synonym of CtPerspectiveParam.

◆ CtPositionedBitmap

compatibility_alias CartoTypePositionedBitmap CtPositionedBitmap

A synonym of CtPositionedBitmap.

◆ CtRouteAccessCycleFlag

CtRouteAccess const CtRouteAccessCycleFlag = 1 << 28

A flag to forbid cycle access in a feature info object, or, in a vehicle type, to indicate a cyclist.

◆ CtRouteAccessEmergencyVehicleFlag

CtRouteAccess const CtRouteAccessEmergencyVehicleFlag = 1 << 30

A flag to forbid emergency vehicle access in a feature info object, or, in a vehicle type, to indicate an emergency vehicle.

◆ CtRouteAccessMask

CtRouteAccess const CtRouteAccessMask = 63U << CtRouteAccessShift

A mask to select the route access flags.

◆ CtRouteAccessMotorVehicleFlag

CtRouteAccess const CtRouteAccessMotorVehicleFlag = 1 << 29

A flag to forbid motor vehicle access in a feature info object, or, in a vehicle type, to indicate a motor vehicle.

◆ CtRouteAccessNormal

A set of flags indicating normal access: that is, access for pedestrians, cyclists and motor vehicles.

◆ CtRouteAccessOtherFlag

CtRouteAccess const CtRouteAccessOtherFlag = 1U << 31

A flag to indicate the presence of other access restrictions in a feature info object, or, in a vehicle type, to indicate a type of vehicle not covered by the other flags.

◆ CtRouteAccessPedestrianFlag

CtRouteAccess const CtRouteAccessPedestrianFlag = 1 << 27

A flag to forbid pedestrian access in a feature info object, or, in a vehicle type, to indicate a pedestrian.

◆ CtRouteAccessShift

CtRouteAccess const CtRouteAccessShift = 26

The amount by which the route access flags are shifted.

◆ CtRouteAccessVehicle

A set of flags covering all vehicles.

◆ CtRouteAccessWrongWayFlag

CtRouteAccess const CtRouteAccessWrongWayFlag = 1 << 26

A flag indicating that this route is one-way but is stored in the opposite direction to the allowed direction of travel.

◆ CtViewState

compatibility_alias CartoTypeViewState CtViewState

A synonym of CtViewState.