CartoType iOS API 8.10-3-g0075538f6
for development in Swift and Objective C for iOS and Mac OS
Classes | Macros | Typedefs | Enumerations
CartoTypeBase.h File Reference
#import <Foundation/Foundation.h>
#import <CoreGraphics/CGImage.h>
#import <CoreGraphics/CGGeometry.h>
#import <CartoType/CartoTypeResultCode.h>

Go to the source code of this file.

Classes

struct  CartoTypePathPoint
 
struct  CartoTypePathPointFP
 
struct  CartoTypePoint
 
struct  CartoTypeRect
 
struct  CartoTypePointAndResult
 
struct  CartoTypeRectAndResult
 
class  CartoTypeGeometryAndResult
 
struct  CartoTypeIdAndResult
 
struct  CartoTypeAreaLengthAndResult
 
class  CartoTypeBlendStyle
 
class  CartoTypeAddress
 
protocol  <CartoTypePath>
 
class  CartoTypeMatch
 
class  CartoTypeFeatureInfo
 
class  CartoTypeMapObject
 
class  CartoTypeMapObjectGroup
 
class  CartoTypePathIntersectionInfo
 
class  CartoTypeGeometry
 
class  CartoTypeFindParam
 
class  CartoTypeExtendedNoticePosition
 
class  CartoTypePositionedBitmap
 
class  CartoTypePerspectiveParam
 
class  CartoTypeViewState
 
class  CartoTypeMapMetaData
 
class  CartoTypeMapObjectParam
 

Macros

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

Typedefs

typedef uint32_t CartoTypeColor
 

Enumerations

enum  CartoTypeStringMatchMethod {
  StringMatchPrefixFlag = 1 , StringMatchIgnoreSymbolsFlag = 2 , StringMatchFoldAccentsFlag = 4 , StringMatchFuzzyFlag = 8 ,
  StringMatchFoldCaseFlag = 16 , StringMatchIgnoreWhitespaceFlag = 32 , StringMatchExact = 0 , StringMatchFoldCase = StringMatchFoldCaseFlag ,
  StringMatchPrefix = StringMatchPrefixFlag , StringMatchIgnoreNonAlphanumerics = StringMatchIgnoreSymbolsFlag | StringMatchIgnoreWhitespaceFlag , StringMatchLoose = StringMatchIgnoreNonAlphanumerics | StringMatchFoldAccentsFlag | StringMatchFoldCaseFlag , StringMatchFuzzy = StringMatchIgnoreNonAlphanumerics | StringMatchFoldAccentsFlag | StringMatchFuzzyFlag | StringMatchFoldCaseFlag
}
 
enum  CartoTypeFileType {
  PngFileType , JpegFileType , TiffFileType , Ctm1FileType ,
  CtmsFileType , KmlFileType , CtsqlFileType , CartoTypeRouteFileType ,
  GpxFileType
}
 
enum  CartoTypeMapObjectType {
  PointMapObjectType , LineMapObjectType , PolygonMapObjectType , ArrayMapObjectType ,
  MapObjectTypes , NoMapObjectType = -1
}
 
enum  CartoTypePointType { OnCurvePointType = 0 , QuadraticPointType = 1 , CubicPointType = 2 }
 
enum  CartoTypeAlign {
  AlignCenter , AlignStandard , AlignReverse , AlignLeft ,
  AlignRight
}
 
enum  CartoTypeCoordType {
  DegreeCoordType , DisplayCoordType , ScreenCoordType = DisplayCoordType , MapCoordType ,
  MapMeterCoordType
}
 
enum  {
  CTBlack = 0xFF000000 , CTDarkGray = 0xFF555555 , CTDarkRed = 0xFF000080 , CTDarkGreen = 0xFF008000 ,
  CTDarkYellow = 0xFF008080 , CTDarkBlue = 0xFF800000 , CTDarkMagenta = 0xFF800080 , CTDarkCyan = 0xFF808000 ,
  CTRed = 0xFF0000FF , CTGreen = 0xFF00FF00 , CTYellow = 0xFF00FFFF , CTBlue = 0xFFFF0000 ,
  CTMagenta = 0xFFFF00FF , CTCyan = 0xFFFFFF00 , CTGray = 0xFFAAAAAA , CTWhite = 0xFFFFFFFF ,
  CTTransparentBlack = 0x00000000
}
 
enum  CartoTypeFeatureType {
  FeatureTypeMotorway = 0 , FeatureTypeMotorwayLink = 1 , FeatureTypeTrunkRoad = 2 , FeatureTypeTrunkLink = 3 ,
  FeatureTypePrimaryRoad = 4 , FeatureTypePrimaryLink = 5 , FeatureTypeSecondaryRoad = 6 , FeatureTypeSecondaryLink = 7 ,
  FeatureTypeTertiaryRoad = 8 , FeatureTypeUnclassifiedRoad = 9 , FeatureTypeResidentialRoad = 10 , FeatureTypeTrack = 11 ,
  FeatureTypeServiceRoad = 12 , FeatureTypePedestrianRoad = 13 , FeatureTypeVehicularFerry = 14 , FeatureTypePassengerFerry = 15 ,
  FeatureTypeLivingStreet = 16 , FeatureTypeCycleway = 17 , FeatureTypePath = 18 , FeatureTypeFootway = 19 ,
  FeatureTypeBridleway = 20 , FeatureTypeSteps = 21 , FeatureTypeOtherRoad = 22 , FeatureTypeUnpavedRoad = 23 ,
  FeatureTypeRailway = 24 , FeatureTypeLightRail = 25 , FeatureTypeSubway = 26 , FeatureTypeAerialWay = 27 ,
  FeatureTypeSkiDownhill = 28 , FeatureTypeSkiNordic = 29 , FeatureTypeWaterway = 30 , FeatureTypeUnknownRoute = 31 ,
  FeatureTypeUnknownNonRoute = 32 , FeatureTypeAdminArea1 = MakeFeatureTypeCode('a','a','a') , FeatureTypeAdminArea2 = MakeFeatureTypeCode('a','a','b') , FeatureTypeAdminArea3 = MakeFeatureTypeCode('a','a','c') ,
  FeatureTypeAdminArea4 = MakeFeatureTypeCode('a','a','d') , FeatureTypeAdminArea5 = MakeFeatureTypeCode('a','a','e') , FeatureTypeAdminArea6 = MakeFeatureTypeCode('a','a','f') , FeatureTypeAdminArea7 = MakeFeatureTypeCode('a','a','g') ,
  FeatureTypeAdminArea8 = MakeFeatureTypeCode('a','a','h') , FeatureTypeAdminArea9 = MakeFeatureTypeCode('a','a','i') , FeatureTypeAdminArea10 = MakeFeatureTypeCode('a','a','j') , FeatureTypeAddress = MakeFeatureTypeCode('a','d','d') ,
  FeatureTypeAerodrome = MakeFeatureTypeCode('a','e','r') , FeatureTypeAirport = MakeFeatureTypeCode('a','i','r') , FeatureTypeAirportGate = MakeFeatureTypeCode('a','g','t') , FeatureTypeAirportHoldingPosition = MakeFeatureTypeCode('a','h','p') ,
  FeatureTypeAllotments = MakeFeatureTypeCode('a','l','l') , FeatureTypeAlpineHut = MakeFeatureTypeCode('a','l','p') , FeatureTypeAmbulanceStation = MakeFeatureTypeCode('a','m','b') , FeatureTypeApron = MakeFeatureTypeCode('a','p','r') ,
  FeatureTypeAerialWayPylon = MakeFeatureTypeCode('a','p','y') , FeatureTypeArtwork = MakeFeatureTypeCode('a','r','t') , FeatureTypeAerialWayStation = MakeFeatureTypeCode('a','s','t') , FeatureTypeAirTerminal = MakeFeatureTypeCode('a','t','e') ,
  FeatureTypeAtm = MakeFeatureTypeCode('a','t','m') , FeatureTypeAttraction = MakeFeatureTypeCode('a','t','t') , FeatureTypeBar = MakeFeatureTypeCode('b','a','r') , FeatureTypeBasin = MakeFeatureTypeCode('b','a','s') ,
  FeatureTypeBay = MakeFeatureTypeCode('b','a','y') , FeatureTypeBeach = MakeFeatureTypeCode('b','e','a') , FeatureTypeBeacon = MakeFeatureTypeCode('b','e','c') , FeatureTypeBedAndBreakfast = MakeFeatureTypeCode('b','e','d') ,
  FeatureTypeBench = MakeFeatureTypeCode('b','e','n') , FeatureTypeBank = MakeFeatureTypeCode('b','n','k') , FeatureTypeBoatyard = MakeFeatureTypeCode('b','o','a') , FeatureTypeBorough = MakeFeatureTypeCode('b','o','r') ,
  FeatureTypeBoundary = MakeFeatureTypeCode('b','o','u') , FeatureTypeBicycleParking = MakeFeatureTypeCode('b','p','k') , FeatureTypeBicycleRental = MakeFeatureTypeCode('b','r','e') , FeatureTypeBareRock = MakeFeatureTypeCode('b','r','c') ,
  FeatureTypeBarracks = MakeFeatureTypeCode('b','r','k') , FeatureTypeBrownField = MakeFeatureTypeCode('b','r','o') , FeatureTypeBusStop = MakeFeatureTypeCode('b','s','p') , FeatureTypeBusStation = MakeFeatureTypeCode('b','s','t') ,
  FeatureTypeBufferStop = MakeFeatureTypeCode('b','u','f') , FeatureTypeBuilding = MakeFeatureTypeCode('b','u','i') , FeatureTypeBunker = MakeFeatureTypeCode('b','u','n') , FeatureTypeCabin = MakeFeatureTypeCode('c','a','b') ,
  FeatureTypeCafe = MakeFeatureTypeCode('c','a','f') , FeatureTypeCampSite = MakeFeatureTypeCode('c','a','m') , FeatureTypeCanal = MakeFeatureTypeCode('c','a','n') , FeatureTypeCaveEntrance = MakeFeatureTypeCode('c','a','v') ,
  FeatureTypeCableCar = MakeFeatureTypeCode('c','c','r') , FeatureTypeCableDistributionCabinet = MakeFeatureTypeCode('c','d','c') , FeatureTypeCemetery = MakeFeatureTypeCode('c','e','m') , FeatureTypeChairLift = MakeFeatureTypeCode('c','h','a') ,
  FeatureTypeCheckPoint = MakeFeatureTypeCode('c','h','e') , FeatureTypeChalet = MakeFeatureTypeCode('c','h','l') , FeatureTypeCivilBoundary = MakeFeatureTypeCode('c','i','b') , FeatureTypeCinema = MakeFeatureTypeCode('c','i','n') ,
  FeatureTypeCity = MakeFeatureTypeCode('c','i','t') , FeatureTypeCliff = MakeFeatureTypeCode('c','l','f') , FeatureTypeClinic = MakeFeatureTypeCode('c','l','i') , FeatureTypeCommercial = MakeFeatureTypeCode('c','m','r') ,
  FeatureTypeCoastline = MakeFeatureTypeCode('c','o','a') , FeatureTypeCollege = MakeFeatureTypeCode('c','o','l') , FeatureTypeCommon = MakeFeatureTypeCode('c','o','m') , FeatureTypeConstruction = MakeFeatureTypeCode('c','n','s') ,
  FeatureTypeConservation = MakeFeatureTypeCode('c','n','v') , FeatureTypeContinent = MakeFeatureTypeCode('c','o','n') , FeatureTypeCounty = MakeFeatureTypeCode('c','o','u') , FeatureTypeCarPark = MakeFeatureTypeCode('c','p','k') ,
  FeatureTypeCarRental = MakeFeatureTypeCode('c','r','e') , FeatureTypeCrossing = MakeFeatureTypeCode('c','r','o') , FeatureTypeCountry = MakeFeatureTypeCode('c','r','y') , FeatureTypeCarSharing = MakeFeatureTypeCode('c','s','h') ,
  FeatureTypeCutLine = MakeFeatureTypeCode('c','u','t') , FeatureTypeCarWash = MakeFeatureTypeCode('c','w','a') , FeatureTypeCaravanSite = MakeFeatureTypeCode('c','v','n') , FeatureTypeCyclingRoute = MakeFeatureTypeCode('c','y','r') ,
  FeatureTypeDam = MakeFeatureTypeCode('d','a','m') , FeatureTypeDangerArea = MakeFeatureTypeCode('d','a','n') , FeatureTypeDentist = MakeFeatureTypeCode('d','e','n') , FeatureTypeDisused = MakeFeatureTypeCode('d','i','s') ,
  FeatureTypeDitch = MakeFeatureTypeCode('d','i','t') , FeatureTypeDock = MakeFeatureTypeCode('d','o','c') , FeatureTypeDogPark = MakeFeatureTypeCode('d','o','g') , FeatureTypeDrain = MakeFeatureTypeCode('d','r','a') ,
  FeatureTypeDragLift = MakeFeatureTypeCode('d','r','g') , FeatureTypeDoctors = MakeFeatureTypeCode('d','r','s') , FeatureTypeDistrict = MakeFeatureTypeCode('d','s','t') , FeatureTypeElectricVehicleCharging = MakeFeatureTypeCode('e','v','c') ,
  FeatureTypeFarm = MakeFeatureTypeCode('f','a','r') , FeatureTypeFarmYard = MakeFeatureTypeCode('f','a','y') , FeatureTypeFell = MakeFeatureTypeCode('f','e','l') , FeatureTypeFerryTerminal = MakeFeatureTypeCode('f','e','t') ,
  FeatureTypeFastFood = MakeFeatureTypeCode('f','f','d') , FeatureTypeFireExtinguisher = MakeFeatureTypeCode('f','i','e') , FeatureTypeFireFlapper = MakeFeatureTypeCode('f','i','f') , FeatureTypeFireHose = MakeFeatureTypeCode('f','i','h') ,
  FeatureTypeFireStation = MakeFeatureTypeCode('f','i','s') , FeatureTypeFitnessStation = MakeFeatureTypeCode('f','i','t') , FeatureTypeFireHydrant = MakeFeatureTypeCode('f','i','y') , FeatureTypeForestry = MakeFeatureTypeCode('f','o','r') ,
  FeatureTypeFishing = MakeFeatureTypeCode('f','s','h') , FeatureTypeFuel = MakeFeatureTypeCode('f','u','e') , FeatureTypeFunicular = MakeFeatureTypeCode('f','u','n') , FeatureTypeGarages = MakeFeatureTypeCode('g','a','r') ,
  FeatureTypeGate = MakeFeatureTypeCode('g','a','t') , FeatureTypeGarden = MakeFeatureTypeCode('g','d','n') , FeatureTypeGenerator = MakeFeatureTypeCode('g','e','n') , FeatureTypeGreenHouse = MakeFeatureTypeCode('g','h','o') ,
  FeatureTypeGlacier = MakeFeatureTypeCode('g','l','a') , FeatureTypeGolfCourse = MakeFeatureTypeCode('g','o','l') , FeatureTypeGondola = MakeFeatureTypeCode('g','o','n') , FeatureTypeGoodsAerialWay = MakeFeatureTypeCode('g','o','o') ,
  FeatureTypeGrass = MakeFeatureTypeCode('g','r','a') , FeatureTypeGreenField = MakeFeatureTypeCode('g','r','e') , FeatureTypeGritBin = MakeFeatureTypeCode('g','r','b') , FeatureTypeGraveYard = MakeFeatureTypeCode('g','r','y') ,
  FeatureTypeGuestHouse = MakeFeatureTypeCode('g','u','e') , FeatureTypeHalt = MakeFeatureTypeCode('h','a','l') , FeatureTypeHamlet = MakeFeatureTypeCode('h','a','m') , FeatureTypeHangar = MakeFeatureTypeCode('h','a','n') ,
  FeatureTypeHeath = MakeFeatureTypeCode('h','e','a') , FeatureTypeHelipad = MakeFeatureTypeCode('h','e','l') , FeatureTypeRailwayHalt = MakeFeatureTypeCode('h','l','t') , FeatureTypeHikingRoute = MakeFeatureTypeCode('h','i','k') ,
  FeatureTypeHorseRiding = MakeFeatureTypeCode('h','o','r') , FeatureTypeHospital = MakeFeatureTypeCode('h','o','s') , FeatureTypeHotel = MakeFeatureTypeCode('h','o','t') , FeatureTypeHorseRidingRoute = MakeFeatureTypeCode('h','r','r') ,
  FeatureTypeHostel = MakeFeatureTypeCode('h','s','t') , FeatureTypeIceRink = MakeFeatureTypeCode('i','c','e') , FeatureTypeIndustrial = MakeFeatureTypeCode('i','n','d') , FeatureTypeInformation = MakeFeatureTypeCode('i','n','f') ,
  FeatureTypeIsland = MakeFeatureTypeCode('i','s','l') , FeatureTypeIsolatedDwelling = MakeFeatureTypeCode('i','s','o') , FeatureTypeJunction = MakeFeatureTypeCode('j','c','t') , FeatureTypeKindergarten = MakeFeatureTypeCode('k','i','n') ,
  FeatureTypeLandFill = MakeFeatureTypeCode('l','a','n') , FeatureTypeLand = MakeFeatureTypeCode('l','n','d') , FeatureTypeLevelCrossing = MakeFeatureTypeCode('l','e','v') , FeatureTypeLibrary = MakeFeatureTypeCode('l','i','b') ,
  FeatureTypeLocality = MakeFeatureTypeCode('l','o','c') , FeatureTypeLockGate = MakeFeatureTypeCode('l','o','k') , FeatureTypeMaritimeBoundary = MakeFeatureTypeCode('m','a','b') , FeatureTypeMall = MakeFeatureTypeCode('m','a','l') ,
  FeatureTypeMarsh = MakeFeatureTypeCode('m','a','r') , FeatureTypeMeadow = MakeFeatureTypeCode('m','e','a') , FeatureTypeMilitary = MakeFeatureTypeCode('m','i','l') , FeatureTypeMarina = MakeFeatureTypeCode('m','n','a') ,
  FeatureTypeMotel = MakeFeatureTypeCode('m','o','t') , FeatureTypeMinorPowerLine = MakeFeatureTypeCode('m','p','l') , FeatureTypeMiniatureGolf = MakeFeatureTypeCode('m','r','g') , FeatureTypeMiniatureRailway = MakeFeatureTypeCode('m','r','y') ,
  FeatureTypeMud = MakeFeatureTypeCode('m','u','d') , FeatureTypeMunicipality = MakeFeatureTypeCode('m','u','n') , FeatureTypeMuseum = MakeFeatureTypeCode('m','u','s') , FeatureTypeNatureReserve = MakeFeatureTypeCode('n','a','t') ,
  FeatureTypeNationalPark = MakeFeatureTypeCode('n','a','p') , FeatureTypeNavalBase = MakeFeatureTypeCode('n','a','v') , FeatureTypeNeighborhood = MakeFeatureTypeCode('n','e','i') , FeatureTypeNursingHome = MakeFeatureTypeCode('n','u','r') ,
  FeatureTypeOcean = MakeFeatureTypeCode('o','c','e') , FeatureTypeOrchard = MakeFeatureTypeCode('o','r','c') , FeatureTypePrecisionApproachPathIndicator = MakeFeatureTypeCode('p','a','p') , FeatureTypePark = MakeFeatureTypeCode('p','a','r') ,
  FeatureTypePublicBuilding = MakeFeatureTypeCode('p','b','u') , FeatureTypePostBox = MakeFeatureTypeCode('p','b','x') , FeatureTypePostCode = MakeFeatureTypeCode('p','c','o') , FeatureTypePicnicTable = MakeFeatureTypeCode('p','c','t') ,
  FeatureTypePeak = MakeFeatureTypeCode('p','e','a') , FeatureTypePharmacy = MakeFeatureTypeCode('p','h','a') , FeatureTypePhone = MakeFeatureTypeCode('p','h','o') , FeatureTypePicnicSite = MakeFeatureTypeCode('p','i','c') ,
  FeatureTypePier = MakeFeatureTypeCode('p','i','e') , FeatureTypePipeline = MakeFeatureTypeCode('p','i','p') , FeatureTypeParkingEntrance = MakeFeatureTypeCode('p','k','e') , FeatureTypeParking = MakeFeatureTypeCode('p','k','g') ,
  FeatureTypeParkingSpace = MakeFeatureTypeCode('p','k','s') , FeatureTypePlantNursery = MakeFeatureTypeCode('p','l','a') , FeatureTypePlatform = MakeFeatureTypeCode('p','l','f') , FeatureTypePlaceOfWorship = MakeFeatureTypeCode('p','l','w') ,
  FeatureTypePlayground = MakeFeatureTypeCode('p','l','y') , FeatureTypePostOffice = MakeFeatureTypeCode('p','o','f') , FeatureTypePolice = MakeFeatureTypeCode('p','o','l') , FeatureTypePosition = MakeFeatureTypeCode('p','o','s') ,
  FeatureTypeProtectedArea = MakeFeatureTypeCode('p','r','a') , FeatureTypePowerSubStation = MakeFeatureTypeCode('p','s','s') , FeatureTypePub = MakeFeatureTypeCode('p','u','b') , FeatureTypePowerLine = MakeFeatureTypeCode('p','w','l') ,
  FeatureTypePowerStation = MakeFeatureTypeCode('p','w','s') , FeatureTypeQuarry = MakeFeatureTypeCode('q','a','r') , FeatureTypeQuarter = MakeFeatureTypeCode('q','r','t') , FeatureTypeRange = MakeFeatureTypeCode('r','a','n') ,
  FeatureTypeRapids = MakeFeatureTypeCode('r','a','p') , FeatureTypeRecycling = MakeFeatureTypeCode('r','c','y') , FeatureTypeRecreationGround = MakeFeatureTypeCode('r','e','c') , FeatureTypeReef = MakeFeatureTypeCode('r','e','e') ,
  FeatureTypeRegion = MakeFeatureTypeCode('r','e','g') , FeatureTypeRetail = MakeFeatureTypeCode('r','e','t') , FeatureTypeRidge = MakeFeatureTypeCode('r','i','j') , FeatureTypeRiver = MakeFeatureTypeCode('r','i','v') ,
  FeatureTypeRock = MakeFeatureTypeCode('r','o','c') , FeatureTypeRoundHouse = MakeFeatureTypeCode('r','o','u') , FeatureTypeResidentialArea = MakeFeatureTypeCode('r','s','d') , FeatureTypeRestaurant = MakeFeatureTypeCode('r','s','t') ,
  FeatureTypeReservoir = MakeFeatureTypeCode('r','s','v') , FeatureTypeRunway = MakeFeatureTypeCode('r','u','n') , FeatureTypeRoute = MakeFeatureTypeCode('r','u','t') , FeatureTypeRiverBank = MakeFeatureTypeCode('r','v','b') ,
  FeatureTypeSaltPond = MakeFeatureTypeCode('s','a','l') , FeatureTypeSand = MakeFeatureTypeCode('s','a','n') , FeatureTypeSauna = MakeFeatureTypeCode('s','a','u') , FeatureTypeSchool = MakeFeatureTypeCode('s','c','h') ,
  FeatureTypeScree = MakeFeatureTypeCode('s','c','r') , FeatureTypeScrub = MakeFeatureTypeCode('s','c','b') , FeatureTypeSea = MakeFeatureTypeCode('s','e','a') , FeatureTypeStateEmergencyServiceStation = MakeFeatureTypeCode('s','e','s') ,
  FeatureTypeShop = MakeFeatureTypeCode('s','h','o') , FeatureTypeSkiRoute = MakeFeatureTypeCode('s','k','r') , FeatureTypeSlipway = MakeFeatureTypeCode('s','l','i') , FeatureTypeSportsCenter = MakeFeatureTypeCode('s','p','o') ,
  FeatureTypeSportsPitch = MakeFeatureTypeCode('s','p','p') , FeatureTypeSpring = MakeFeatureTypeCode('s','p','r') , FeatureTypeSportsTrack = MakeFeatureTypeCode('s','p','t') , FeatureTypeState = MakeFeatureTypeCode('s','t','a') ,
  FeatureTypeStadium = MakeFeatureTypeCode('s','t','m') , FeatureTypeRailwayStation = MakeFeatureTypeCode('s','t','n') , FeatureTypeStation = MakeFeatureTypeCode('s','t','n') , FeatureTypeStone = MakeFeatureTypeCode('s','t','o') ,
  FeatureTypeStopPosition = MakeFeatureTypeCode('s','t','p') , FeatureTypeStream = MakeFeatureTypeCode('s','t','r') , FeatureTypeStrait = MakeFeatureTypeCode('s','t','t') , FeatureTypeSuburb = MakeFeatureTypeCode('s','u','b') ,
  FeatureTypeSupermarket = MakeFeatureTypeCode('s','u','p') , FeatureTypeSurveyPoint = MakeFeatureTypeCode('s','u','r') , FeatureTypeSubwayEntrance = MakeFeatureTypeCode('s','w','e') , FeatureTypeSwimmingPool = MakeFeatureTypeCode('s','w','i') ,
  FeatureTypeTank = MakeFeatureTypeCode('t','a','n') , FeatureTypeTaxi = MakeFeatureTypeCode('t','a','x') , FeatureTypeTheatre = MakeFeatureTypeCode('t','h','e') , FeatureTypeThemePark = MakeFeatureTypeCode('t','h','p') ,
  FeatureTypeToilet = MakeFeatureTypeCode('t','o','i') , FeatureTypeTown = MakeFeatureTypeCode('t','o','w') , FeatureTypeTurningCircle = MakeFeatureTypeCode('t','c','i') , FeatureTypeTurningPoint = MakeFeatureTypeCode('t','p','t') ,
  FeatureTypeTram = MakeFeatureTypeCode('t','r','a') , FeatureTypeTree = MakeFeatureTypeCode('t','r','e') , FeatureTypeTrafficSignals = MakeFeatureTypeCode('t','r','f') , FeatureTypeTrackPoint = MakeFeatureTypeCode('t','r','p') ,
  FeatureTypeTreeRow = MakeFeatureTypeCode('t','r','r') , FeatureTypeTramStop = MakeFeatureTypeCode('t','r','s') , FeatureTypeTurnTable = MakeFeatureTypeCode('t','u','r') , FeatureTypeTower = MakeFeatureTypeCode('t','w','r') ,
  FeatureTypeTaxiway = MakeFeatureTypeCode('t','w','y') , FeatureTypeUniversity = MakeFeatureTypeCode('u','n','i') , FeatureTypeVisualApproachSlopeIndicator = MakeFeatureTypeCode('v','a','s') , FeatureTypeVillageGreen = MakeFeatureTypeCode('v','i','g') ,
  FeatureTypeVillage = MakeFeatureTypeCode('v','i','l') , FeatureTypeVineyard = MakeFeatureTypeCode('v','i','n') , FeatureTypeViewPoint = MakeFeatureTypeCode('v','i','w') , FeatureTypeVolcano = MakeFeatureTypeCode('v','o','l') ,
  FeatureTypeWaterfall = MakeFeatureTypeCode('w','a','f') , FeatureTypeWaterPark = MakeFeatureTypeCode('w','a','p') , FeatureTypeWater = MakeFeatureTypeCode('w','a','t') , FeatureTypeWeir = MakeFeatureTypeCode('w','e','r') ,
  FeatureTypeWetland = MakeFeatureTypeCode('w','e','t') , FeatureTypeWindsock = MakeFeatureTypeCode('w','i','s') , FeatureTypeWalkingRoute = MakeFeatureTypeCode('w','l','k') , FeatureTypeWood = MakeFeatureTypeCode('w','o','o') ,
  FeatureTypeWorks = MakeFeatureTypeCode('w','o','r') , FeatureTypeWaypoint = MakeFeatureTypeCode('w','p','t') , FeatureTypeWaterTower = MakeFeatureTypeCode('w','t','t') , FeatureTypeWaterWell = MakeFeatureTypeCode('w','t','w') ,
  FeatureTypeZoo = MakeFeatureTypeCode('z','o','o') , FeatureTypeLegacyBridleway = MakeFeatureTypeCode('b','r','i') , FeatureTypeLegacyCycleway = MakeFeatureTypeCode('c','y','c') , FeatureTypeLegacyFootway = MakeFeatureTypeCode('f','o','o') ,
  FeatureTypeLegacyLightRail = MakeFeatureTypeCode('l','i','r') , FeatureTypeLegacyMonorail = MakeFeatureTypeCode('m','o','n') , FeatureTypeLegacyNarrowGauge = MakeFeatureTypeCode('n','a','r') , FeatureTypeLegacyPreservedRailway = MakeFeatureTypeCode('p','r','y') ,
  FeatureTypeLegacyRailway = MakeFeatureTypeCode('r','l','y') , FeatureTypeLegacySteps = MakeFeatureTypeCode('s','t','e') , FeatureTypeLegacySubway = MakeFeatureTypeCode('s','w','y') , FeatureTypeLegacyTram = MakeFeatureTypeCode('t','r','a') ,
  FeatureTypeInvalid = INT16_MAX
}
 
enum  CartoTypeFeatureDiscriminator { FeatureDiscriminatorNonRoute = 0 , FeatureDiscriminatorBridgeRoute = 1 , FeatureDiscriminatorTunnelRoute = 2 , FeatureDiscriminatorRoute = 3 }
 
enum  CartoTypePathIntersectionType {
  PathIntersectionTypeUnknown , PathIntersectionTypeSeparate , PathIntersectionTypeIntersects , PathIntersectionTypeContains ,
  PathIntersectionTypeContained
}
 
enum  CartoTypeClipOperation { IntersectionClipOperation , UnionClipOperation , DifferenceClipOperation , XorClipOperation }
 
enum  CartoTypeWritableMapType { MemoryWritableMapType , SQLiteWritableMapType }
 
enum  CartoTypeNoticePosition {
  NoticePositionTopLeft , NoticePositionTopRight , NoticePositionBottomLeft , NoticePositionBottomRight ,
  NoticePositionTop , NoticePositionRight , NoticePositionLeft , NoticePositionBottom ,
  NoticePositionCenter
}
 
enum  CartoTypeLetterCase { LetterCaseNone , LetterCaseLower , LetterCaseUpper , LetterCaseTitle }
 
enum  CartoTypePointFormat { PointFormatUnknown = 0 , PointFormatMeter = 2 , PointFormatScaledDegree = 7 , PointFormatMeter32nds = 8 }
 

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

◆ CartoTypeColor

typedef uint32_t CartoTypeColor

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CTBlack 

A value for the color black.

CTDarkGray 

A value for the color dark gray.

CTDarkRed 

A value for the color dark red.

CTDarkGreen 

A value for the color dark green.

CTDarkYellow 

A value for the color dark yellow.

CTDarkBlue 

A value for the color dark blue.

CTDarkMagenta 

A value for the color dark magenta.

CTDarkCyan 

A value for the color dark cyan.

CTRed 

A value for the color red.

CTGreen 

A value for the color green.

CTYellow 

A value for the color yellow.

CTBlue 

A value for the color blue.

CTMagenta 

A value for the color magenta.

CTCyan 

A value for the color cyan.

CTGray 

A value for the color gray.

CTWhite 

A value for the color white.

CTTransparentBlack 

A value for the 'null color' transparent black.

◆ CartoTypeAlign

Alignments used for multi-line text.

Enumerator
AlignCenter 

Center the text.

AlignStandard 

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

AlignReverse 

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

AlignLeft 

Align to the left and leave space on the right.

AlignRight 

Align to the right and leave space on the left.

◆ CartoTypeClipOperation

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

Enumerator
IntersectionClipOperation 

Returns the intersection of two paths; commutative.

UnionClipOperation 

Returns the union of two paths; commutative.

DifferenceClipOperation 

Returns the difference of two paths; non-commutative.

XorClipOperation 

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

◆ CartoTypeCoordType

Coordinate types used when specifying points in many CartoType functions.

Enumerator
DegreeCoordType 

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

DisplayCoordType 

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

ScreenCoordType 

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

MapCoordType 

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

MapMeterCoordType 

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

◆ CartoTypeFeatureDiscriminator

The feature discriminator stored in a FeatureInfo object.

Enumerator
FeatureDiscriminatorNonRoute 

Not a route.

FeatureDiscriminatorBridgeRoute 

A route that is a bridge.

FeatureDiscriminatorTunnelRoute 

A route that is a tunnel.

FeatureDiscriminatorRoute 

A route that is neither a tunnel nor a bridge.

◆ CartoTypeFeatureType

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.

◆ CartoTypeFileType

File types of interest to CartoType.

Enumerator
PngFileType 

PNG (Portable Network Graphics) image files.

JpegFileType 

JPEG (Joint Photographic Expert Group) image files.

TiffFileType 

TIFF (Tagged Image File Format) image files.

Ctm1FileType 

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

CtmsFileType 

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

KmlFileType 

KML (Keyhole Markup Language) map data files.

CtsqlFileType 

CTSQL (CartoType SQLite format) map data files.

CartoTypeRouteFileType 

CTROUTE (CartoType XML route) files.

GpxFileType 

GPX (GPS Exchange) files.

◆ CartoTypeLetterCase

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

Enumerator
LetterCaseNone 

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

LetterCaseLower 

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

LetterCaseUpper 

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

LetterCaseTitle 

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.

◆ CartoTypeMapObjectType

Map object types.

Enumerator
PointMapObjectType 

A point in two-dimensional space.

LineMapObjectType 

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

PolygonMapObjectType 

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

ArrayMapObjectType 

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

MapObjectTypes 

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

NoMapObjectType 

A value to use where a null type is needed.

◆ CartoTypeNoticePosition

Positions for notices like the legend or scale bar.

Enumerator
NoticePositionTopLeft 

The top left corner of the display.

NoticePositionTopRight 

The top right corner of the display.

NoticePositionBottomLeft 

The bottom left corner of the display.

NoticePositionBottomRight 

The bottom right corner of the display.

NoticePositionTop 

The center of the top edge of the display.

NoticePositionRight 

The center of the right side of the display.

NoticePositionLeft 

The center of the left side of the display.

NoticePositionBottom 

The center of the bottom edge of the display.

NoticePositionCenter 

The center of the display.

◆ CartoTypePathIntersectionType

The ways two paths can intersect.

Enumerator
PathIntersectionTypeUnknown 

The intersection type is unknown.

PathIntersectionTypeSeparate 

The paths do not intersect.

PathIntersectionTypeIntersects 

The paths intersect or are identical.

PathIntersectionTypeContains 

The first path contains the second.

PathIntersectionTypeContained 

The second path contains the first.

◆ CartoTypePointFormat

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.

Enumerator
PointFormatUnknown 

An arbitrary or unknown point format.

PointFormatMeter 

Units are projected map meters.

PointFormatScaledDegree 

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.

PointFormatMeter32nds 

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

◆ CartoTypePointType

The type of a CartoTypePathPoint.

Enumerator
OnCurvePointType 

The point is on the curve.

QuadraticPointType 

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

CubicPointType 

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

◆ CartoTypeStringMatchMethod

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

Enumerator
StringMatchPrefixFlag 

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

StringMatchIgnoreSymbolsFlag 

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

StringMatchFoldAccentsFlag 

A flag to match accented and unaccented letters.

StringMatchFuzzyFlag 

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

StringMatchFoldCaseFlag 

A flag to fold letter case.

StringMatchIgnoreWhitespaceFlag 

A flag to ignore whitespace.

StringMatchExact 

Strings must match exactly.

StringMatchFoldCase 

Fold case when matching strings.

StringMatchPrefix 

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

StringMatchIgnoreNonAlphanumerics 

Ignore characters that are not letters, digits or whitespace.

StringMatchLoose 

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

StringMatchFuzzy 

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

◆ CartoTypeWritableMapType

Types of writable maps.

Enumerator
MemoryWritableMapType 

A writable map stored in memory.

SQLiteWritableMapType 

A writable map stored in an SQLite database.