libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout Namespace Reference

Namespaces

 oss
 
 ost
 

Classes

class  AbstractRoutingProfile
 Common base class for our concrete profile instantiations. More...
 
class  AccessFeature
 
class  AccessFeatureValue
 
class  AccessRestrictedFeature
 AccessRestriction signals, if there is some access restriction for a given way and a given vehicle. More...
 
class  AccessRestrictedFeatureValue
 
class  Address
 An address is a unique place at a given location, normally a building that is address by its house number. More...
 
class  AddressFeature
 
class  AddressFeatureValue
 
class  AddressListVisitor
 
class  AddressVisitor
 Visitor that gets called for every address found at a given location. More...
 
class  AdminLevelFeature
 
class  AdminLevelFeatureValue
 
class  AdminRegion
 A named administrative region. More...
 
class  AdminRegionVisitor
 Visitor that gets called for every region found. More...
 
class  AreaAreaIndex
 AreaAreaIndex allows you to find areas in a given region. More...
 
class  AreaDataFile
 Abstraction for getting cached access to the 'ways.dat' file. More...
 
class  AreaNodeIndex
 AreaWayIndex allows you to find ways and way relations in a given area. More...
 
class  AreaSearchParameter
 Parameter to influence the search result for searching for (drawable) objects in a given area. More...
 
class  AreaWayIndex
 AreaWayIndex allows you to find ways and way relations in a given area. More...
 
class  BorderStyle
 Index selectors by type and level. More...
 
class  BoundingBoxDataFile
 DataFile class for loading the bounding box of the database. More...
 
class  Breaker
 A breaker object instance allows to trigger cancelation of long running processes. More...
 
class  BridgeFeature
 
class  BuildingFeature
 
class  Cache
 Generic FIFO cache implementation with O(n log n) semantic. More...
 
struct  CellDimension
 
class  CirclePrimitive
 
class  CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  CmdLineArgParser
 
class  CmdLineBoolArgParser
 
class  CmdLineFlagArgParser
 
class  CmdLineGeoCoordArgParser
 
class  CmdLineNumberArgParser
 
class  CmdLineParser
 
class  CmdLineParseResult
 
class  CmdLineScanner
 
class  CmdLineStringArgParser
 
class  Color
 
struct  ConditionalStyle
 A line in a style sheet. More...
 
class  ConsoleLogger
 The console logger extends the StreamLogger by assigning std::cout for normal loging output and std::cerr for error output. More...
 
class  ConsoleProgress
 
class  CoordBuffer
 
class  CoordBufferImpl
 
class  CoordDataFile
 
struct  DataBlockSpan
 Reference a range of data entries by giving the offset of the first entry in the file and the number of data elements. More...
 
class  DataFile
 Access to standard format data files. More...
 
class  DataTileCache
 Data cache using tile based cache pages. More...
 
class  DebugDatabase
 Secondary Database class for accessing debug information not normally available on the target device. More...
 
class  DebugDatabaseParameter
 Database instance initialization parameter to influence the behavior of the database instance. More...
 
struct  DecodeNumberTemplated
 
struct  DecodeNumberTemplated< false, N >
 
struct  DecodeNumberTemplated< true, N >
 
class  DestinationFeature
 
class  DestinationFeatureValue
 
class  DrawPrimitive
 Index selectors by type and level. More...
 
class  DynamicFeatureLabelReader
 Generates a label based on a given feature name and label name. More...
 
class  EleFeature
 
class  EleFeatureValue
 
class  EmbankmentFeature
 
struct  EncodeNumberTemplated
 
struct  EncodeNumberTemplated< false, N >
 
struct  EncodeNumberTemplated< true, N >
 
class  FastestPathRoutingProfile
 Profile that defines costs base of the time the traveling device needs for a certain way resulting in the fastest path chosen (cost=distance/speedForWayType). More...
 
class  Feature
 A feature combines one or multiple tags to build information attribute for a type. More...
 
class  FeatureLabelReader
 
class  FeatureReader
 Helper template class for easy access to flag-like Features. More...
 
class  FeatureValue
 
class  FeatureValueReader
 Helper template class for easy access to the value of a certain feature for objects of any type. More...
 
class  FileScanner
 FileScanner implements platform independent sequential scanning-like access to data in files. More...
 
class  FileWriter
 FileScanner implements platform independent writing to data in files. More...
 
class  FillStyle
 Index selectors by type and level. More...
 
struct  FollowPathHandle
 
class  GradeFeature
 
class  GradeFeatureValue
 
class  HTMLWriter
 HTMLWriter allows easy generation of HTML web pages containing OSM based reports. More...
 
class  IconStyle
 Index selectors by type and level. More...
 
class  INameLabelProviderFactory
 
class  IndexedDataFile
 Extension of DataFile to allow loading data not only by offset but by id using an additional index file, mapping objects id to object file offset. More...
 
class  IOException
 
class  IsInFeature
 
class  IsInFeatureValue
 
class  LabelData
 
struct  LabelEvent
 
class  LabelLayouter
 
class  LabelProvider
 Interface one must implement to provider a label for the map. More...
 
class  LabelProviderFactory
 
class  LabelStyle
 Index selectors by type and level. More...
 
class  LayerFeature
 
class  LayerFeatureValue
 
class  LineStyle
 Style options for a line. More...
 
class  Location
 A location is a named point, way, area or relation on the map. More...
 
class  LocationAtPlaceDescription
 Description of a location based on the GeoCoord of that location. More...
 
class  LocationCoordDescription
 Description of a location based on the GeoCoord of that location. More...
 
class  LocationCrossingDescription
 Description of a location based on a nearby crossing. More...
 
class  LocationDescription
 A LocationDescription objects holds various alternative (and optional) descriptions of the given locations. More...
 
class  LocationDescriptionCandicate
 
class  LocationFeature
 
class  LocationFeatureValue
 
class  LocationIndex
 Location index returns objects by names (the name should be changed). More...
 
class  LocationSearch
 Object holding a search request for to lookup one or more locations based on search patterns for the region, the location and a address. More...
 
class  LocationSearchResult
 The result of a location query. More...
 
class  LocationService
 The LocationService offers a number of methods for location lookup ( search for a certain location by its name) and location reverse lookup (retrieve the name of a location). More...
 
class  LocationVisitor
 Visitor that gets called for every location found in the given area. More...
 
class  Log
 Simple logging proxy object that encapsulates one exchangeable global logger instance. More...
 
class  Logger
 A logger is a special output stream. More...
 
class  Magnification
 
class  MagnificationConverter
 
class  MapPainter
 Abstract base class of all renders (though you can always write your own renderer without inheriting from this class) It implements the general rendering algorithm. More...
 
class  MapPainterAgg
 
class  MapPainterCairo
 
class  MapPainterIOS
 
class  MapPainterNoOp
 Simple renderer that does nothing. More...
 
class  MapPainterOpenGL
 
class  MapPainterQt
 Implementation of MapPainter for Qt. More...
 
class  MapPainterSVG
 
class  MapParameter
 Collection of Parameter that parametrize and influence drawing of the map. More...
 
class  MapService
 MapService offers services for retrieving data in a way that is helpful for drawing maps. More...
 
class  MapTile
 
class  MapTileCache
 
class  MaxSpeedFeature
 
class  MaxSpeedFeatureValue
 
class  MemoryMonitor
 Starts a background threads that checks every 200ms the current memory usage of the current process and accumulates it to return the maximum memory usage since start or reset. More...
 
class  MercatorProjection
 Mercator projection that tries to render the resulting map in the same physical size on all devices. More...
 
class  NameAltFeature
 
class  NameAltFeatureValue
 
class  NameFeature
 
class  NameFeatureValue
 
class  Navigation
 
class  NodeDataFile
 Abstraction for getting cached access to the 'nodes.dat' file. More...
 
class  NodeUseMap
 The NodeUseMap can be used to efficiently check if an id used at least twice. More...
 
class  NoOpLogger
 Special Logger that just does not output the logged information. More...
 
class  NumberSet
 
struct  NumberToStringTemplated
 
struct  NumberToStringTemplated< false, N >
 
struct  NumberToStringTemplated< true, N >
 
class  NumericIndex
 Numeric index handles an index over instance of class <T> where the index criteria is of type <N>, where <N> has a numeric nature (usually Id). More...
 
class  ObjectFileRefStreamReader
 Read back a stream of sorted ObjectFileRefs as written by the ObjectFileRefStreamWriter. More...
 
class  ObjectFileRefStreamWriter
 Efficiently (in disk space handling) write a number of (sorted by file offset) ObjectFileRefs. More...
 
struct  ObjectVariantData
 For every unique combination of object attributes that are routing relevant we store an ObjectvariantData entry. More...
 
class  ObjectVariantDataFile
 DataFile class for loading the object variant data, which is part of the routing graph. More...
 
class  OpenGLMapData
 
class  OptimizeAreasLowZoom
 
class  OptimizeWaysLowZoom
 
class  OSMScoutException
 
class  OutputDescription
 
struct  PartialStyle
 A Style together with a set of the attributes that are explicitly set in the style. More...
 
struct  PartialStyleBase
 
class  Path
 A path is defined by the way to be used and the node id of a node on this way which is the target to reach. More...
 
struct  PathIntersection
 Information about intersection of two paths. More...
 
class  PathShieldStyle
 Index selectors by type and level. More...
 
class  PathSymbolStyle
 Style for repetive drawing of symbols on top of a path. More...
 
class  PathTextStyle
 Index selectors by type and level. More...
 
class  PhoneFeature
 
class  PhoneFeatureValue
 
class  Place
 A Place description a certain place in respect to the location index. More...
 
class  POI
 A POI is an object within an area, which has been indexed by its name. More...
 
class  POIService
 The POIServices offers methods special to working with POIs. More...
 
class  PolygonMerger
 
class  PolygonPrimitive
 
class  PostalCodeFeature
 
class  PostalCodeFeatureValue
 
class  Progress
 
class  Projection
 The Projection class is an abstract base class for multiple projection implementations. More...
 
class  RectanglePrimitive
 
class  RefFeature
 
class  RefFeatureValue
 
class  RoundaboutFeature
 
class  RouteData
 
class  RouteDescription
 Description of a route, enhanced with information that are required to give a human textual (or narrative) drive instructions;. More...
 
class  RouteNode
 A route node is the representation of a node in the routing graph. More...
 
class  RoutePostprocessor
 
class  RoutingProfile
 Abstract interface for a routing profile. More...
 
class  RoutingProgress
 Optional callback object for monitoring routing progress. More...
 
class  RoutingService
 The RoutingService implements functionality in the context of routing. More...
 
struct  ScanCell
 
struct  Segment
 
class  ShieldStyle
 Index selectors by type and level. More...
 
class  ShortestPathRoutingProfile
 Profile that defines costs in a way that the shortest way is chosen (cost==distance). More...
 
class  SilentProgress
 
class  SilentTagErrorReporter
 
class  SimplifiedPath
 
class  SizeCondition
 
class  SRTM
 Read elevation data in hgt format. More...
 
class  StreamLogger
 The StreamLogger allows to direct logging output to a standard library std::ostream. More...
 
struct  StringToNumberTemplated
 
struct  StringToNumberTemplated< false, N >
 
struct  StringToNumberTemplated< true, N >
 
class  Style
 Interface class that offers a medium generic interface for styles classes. More...
 
class  StyleAttributeDescriptor
 Base class for all attribute metadata. More...
 
class  StyleConfig
 Index selectors by type and level. More...
 
class  StyleConstant
 
class  StyleConstantColor
 
class  StyleConstantMag
 
class  StyleConstantUInt
 
class  StyleCriteria
 Holds all filter criteria (minus type and zoom level criteria which are directly handled by the lookup table) for a concrete style which have to evaluated during runtime. More...
 
class  StyleDescriptor
 Holds Meta information and technical description of a style. More...
 
class  StyleEnumAttributeDescriptor
 Describes a enumeration attribute value. More...
 
class  StyleFilter
 Holds the all accumulated filter conditions as defined in the style sheet for a style. More...
 
class  StyleResolveContext
 
struct  StyleSelector
 Correlation of a StyleFilter and a PartialStyle. More...
 
class  Symbol
 Definition of a symbol. More...
 
class  TagBinaryCondition
 Returns true, if the value of the given tag fulfills the given boolean condition in regard to the comparison value. More...
 
class  TagBoolCondition
 Allows a boolean and/or condition between a number of child conditions. More...
 
class  TagCondition
 Abstract base class for all tag based conditions. More...
 
class  TagErrorReporter
 
class  TagExistsCondition
 Returns true, if the given tag exists for an object. More...
 
class  TagInfo
 Information about a tag definition. More...
 
class  TagIsInCondition
 Returns true, if the tag value of the given is one of the given values. More...
 
class  TagNotCondition
 Negates the result of the given child condition. More...
 
class  TextSearchIndex
 A class that allows prefix-based searching of text data indexed during import. More...
 
class  TextStyle
 A textual label. More...
 
class  ThreadedBreaker
 
class  Tile
 Result of a cache lookup. More...
 
class  TileData
 Temlate for storing sets of data of the same type in a tile. More...
 
class  TileId
 A Tile id, uniquely identifing a tile by its level and (unique for the given level) tile coordinates. More...
 
class  TileProjection
 Mercator projection as used by the OpenStreetMap tile rendering code. More...
 
class  TransBuffer
 
class  TransPolygon
 
class  Triangulate
 
class  TunnelFeature
 
class  TypeDistributionDataFile
 DataFile class for loading the bounding box of the database. More...
 
class  WaterIndex
 
class  WayDataFile
 Abstraction for getting cached access to the 'ways.dat' file. More...
 
class  WebsiteFeature
 
class  WebsiteFeatureValue
 
class  WidthFeature
 
class  WidthFeatureValue
 
class  WorkQueue
 

Typedefs

typedef FeatureValueReader
< AccessFeature,
AccessFeatureValue
AccessFeatureValueReader
 
typedef FeatureReader
< AccessRestrictedFeature
AccessRestrictedFeatureReader
 
typedef FeatureValueReader
< AccessRestrictedFeature,
AccessRestrictedFeatureValue
AccessRestrictedFeatureValueReader
 
typedef FeatureValueReader
< AddressFeature,
AddressFeatureValue
AddressFeatureValueReader
 
typedef std::shared_ptr< AddressAddressRef
 
typedef FeatureValueReader
< AdminLevelFeature,
AdminLevelFeatureValue
AdminLevelFeatureValueReader
 
typedef std::shared_ptr
< AdminRegion
AdminRegionRef
 
typedef std::shared_ptr
< AreaAreaIndex
AreaAreaIndexRef
 
typedef std::shared_ptr
< AreaDataFile
AreaDataFileRef
 
typedef std::shared_ptr
< AreaNodeIndex
AreaNodeIndexRef
 
typedef std::shared_ptr< Area > AreaRef
 
typedef std::shared_ptr
< AreaWayIndex
AreaWayIndexRef
 
typedef std::shared_ptr
< BasemapDatabase > 
BasemapDatabaseRef
 Reference counted reference to an Database instance. More...
 
typedef ConditionalStyle
< BorderStyle,
BorderStyle::Attribute
BorderConditionalStyle
 
typedef PartialStyle
< BorderStyle,
BorderStyle::Attribute
BorderPartialStyle
 
typedef std::vector
< std::vector
< BorderStyleSelectorList > > 
BorderStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< BorderStyle
BorderStyleRef
 
typedef StyleSelector
< BorderStyle,
BorderStyle::Attribute
BorderStyleSelector
 
typedef std::list
< BorderStyleSelector
BorderStyleSelectorList
 
typedef std::shared_ptr
< BoundingBoxDataFile
BoundingBoxDataFileRef
 
typedef std::shared_ptr< BreakerBreakerRef
 
typedef FeatureReader
< BridgeFeature
BridgeFeatureReader
 
typedef std::shared_ptr
< CirclePrimitive
CirclePrimitiveRef
 
typedef std::shared_ptr
< CmdLineArgParser
CmdLineArgParserRef
 
typedef std::shared_ptr< Coord > CoordRef
 
typedef std::shared_ptr< Database > DatabaseRef
 Reference counted reference to an Database instance. More...
 
typedef FeatureValueReader
< DestinationFeature,
DestinationFeatureValue
DestinationFeatureValueReader
 
typedef std::shared_ptr
< DrawPrimitive
DrawPrimitiveRef
 
typedef FeatureReader
< EmbankmentFeature
EmbankmentFeatureReader
 
typedef std::shared_ptr
< FastestPathRoutingProfile
FastestPathRoutingProfileRef
 
typedef std::shared_ptr< FeatureFeatureRef
 
typedef std::shared_ptr
< FeatureValueBuffer > 
FeatureValueBufferRef
 
typedef uint64_t FileOffset
 Type for describing the position of data within a file. More...
 
typedef ConditionalStyle
< FillStyle,
FillStyle::Attribute
FillConditionalStyle
 
typedef PartialStyle
< FillStyle,
FillStyle::Attribute
FillPartialStyle
 
typedef std::vector
< std::vector
< FillStyleSelectorList > > 
FillStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< FillStyle
FillStyleRef
 
typedef StyleSelector
< FillStyle,
FillStyle::Attribute
FillStyleSelector
 
typedef std::list
< FillStyleSelector
FillStyleSelectorList
 
typedef FeatureValueReader
< GradeFeature,
GradeFeatureValue
GradeFeatureValueReader
 
typedef ConditionalStyle
< IconStyle,
IconStyle::Attribute
IconConditionalStyle
 
typedef PartialStyle
< IconStyle,
IconStyle::Attribute
IconPartialStyle
 
typedef std::vector
< std::vector
< IconStyleSelectorList > > 
IconStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< IconStyle
IconStyleRef
 
typedef StyleSelector
< IconStyle,
IconStyle::Attribute
IconStyleSelector
 
typedef std::list
< IconStyleSelector
IconStyleSelectorList
 
typedef uint64_t Id
 Type to be used for libosmscout internal ids (unsigned numbers with 64 bit size). More...
 
typedef FeatureValueReader
< IsInFeature,
IsInFeatureValue
IsInFeatureValueReader
 
typedef std::shared_ptr
< Intersection > 
JunctionRef
 
typedef std::list< LabelData >
::iterator 
LabelDataRef
 
typedef std::shared_ptr
< LabelProviderFactory
LabelProviderFactoryRef
 
typedef std::shared_ptr
< LabelProvider
LabelProviderRef
 
typedef std::shared_ptr
< LabelStyle
LabelStyleRef
 
typedef FeatureValueReader
< LayerFeature,
LayerFeatureValue
LayerFeatureValueReader
 
typedef ConditionalStyle
< LineStyle,
LineStyle::Attribute
LineConditionalStyle
 
typedef PartialStyle
< LineStyle,
LineStyle::Attribute
LinePartialStyle
 
typedef std::vector
< std::vector
< LineStyleSelectorList > > 
LineStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< LineStyle
LineStyleRef
 
typedef StyleSelector
< LineStyle,
LineStyle::Attribute
LineStyleSelector
 
typedef std::list
< LineStyleSelector
LineStyleSelectorList
 
typedef std::shared_ptr
< LocationAtPlaceDescription
LocationAtPlaceDescriptionRef
 Reference counted reference to a LocationAtPlaceDescription instance. More...
 
typedef std::shared_ptr
< LocationCoordDescription
LocationCoordDescriptionRef
 Reference counted reference to a LocationCoordDescription instance. More...
 
typedef std::shared_ptr
< LocationCrossingDescription
LocationCrossingDescriptionRef
 Reference counted reference to a LocationCrossingDescription instance. More...
 
typedef FeatureValueReader
< LocationFeature,
LocationFeatureValue
LocationFeatureValueReader
 
typedef std::shared_ptr
< LocationIndex
LocationIndexRef
 
typedef std::shared_ptr< LocationLocationRef
 
typedef std::shared_ptr
< LocationService
LocationServiceRef
 Reference counted reference to a location service instance. More...
 
typedef std::shared_ptr
< MapService
MapServiceRef
 Reference counted reference to an Database instance. More...
 
typedef std::shared_ptr< MapTileMapTileRef
 
typedef FeatureValueReader
< MaxSpeedFeature,
MaxSpeedFeatureValue
MaxSpeedFeatureValueReader
 
typedef std::chrono::duration
< double, std::milli > 
MilliDouble
 
typedef FeatureValueReader
< NameAltFeature,
NameAltFeatureValue
NameAltFeatureValueReader
 
typedef FeatureLabelReader
< NameFeature,
NameFeatureValue
NameFeatureLabelReader
 
typedef FeatureValueReader
< NameFeature,
NameFeatureValue
NameFeatureValueReader
 
typedef std::chrono::duration
< double, std::nano > 
NanoDouble
 
typedef std::shared_ptr
< NodeDataFile
NodeDataFileRef
 
typedef std::shared_ptr< Node > NodeRef
 
typedef std::shared_ptr
< OptimizeAreasLowZoom
OptimizeAreasLowZoomRef
 
typedef std::shared_ptr
< OptimizeWaysLowZoom
OptimizeWaysLowZoomRef
 
typedef int64_t OSMId
 Type to be used for OSM ids (signed numbers with 64 bit size). More...
 
typedef uint64_t PageId
 
typedef ConditionalStyle
< PathShieldStyle,
PathShieldStyle::Attribute
PathShieldConditionalStyle
 
typedef PartialStyle
< PathShieldStyle,
PathShieldStyle::Attribute
PathShieldPartialStyle
 
typedef std::vector
< std::vector
< PathShieldStyleSelectorList > > 
PathShieldStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< PathShieldStyle
PathShieldStyleRef
 
typedef StyleSelector
< PathShieldStyle,
PathShieldStyle::Attribute
PathShieldStyleSelector
 
typedef std::list
< PathShieldStyleSelector
PathShieldStyleSelectorList
 
typedef ConditionalStyle
< PathSymbolStyle,
PathSymbolStyle::Attribute
PathSymbolConditionalStyle
 
typedef PartialStyle
< PathSymbolStyle,
PathSymbolStyle::Attribute
PathSymbolPartialStyle
 
typedef std::vector
< std::vector
< PathSymbolStyleSelectorList > > 
PathSymbolStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< PathSymbolStyle
PathSymbolStyleRef
 
typedef StyleSelector
< PathSymbolStyle,
PathSymbolStyle::Attribute
PathSymbolStyleSelector
 
typedef std::list
< PathSymbolStyleSelector
PathSymbolStyleSelectorList
 
typedef ConditionalStyle
< PathTextStyle,
PathTextStyle::Attribute
PathTextConditionalStyle
 
typedef PartialStyle
< PathTextStyle,
PathTextStyle::Attribute
PathTextPartialStyle
 
typedef std::vector
< std::vector
< PathTextStyleSelectorList > > 
PathTextStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< PathTextStyle
PathTextStyleRef
 
typedef StyleSelector
< PathTextStyle,
PathTextStyle::Attribute
PathTextStyleSelector
 
typedef std::list
< PathTextStyleSelector
PathTextStyleSelectorList
 
typedef std::shared_ptr< POIPOIRef
 
typedef std::shared_ptr
< POIService
POIServiceRef
 Reference counted reference to a POI service instance. More...
 
typedef std::shared_ptr
< PolygonPrimitive
PolygonPrimitiveRef
 
typedef FeatureValueReader
< PostalCodeFeature,
PostalCodeFeatureValue
PostalCodeFeatureValueReader
 
typedef std::shared_ptr
< RectanglePrimitive
RectanglePrimitiveRef
 
typedef FeatureValueReader
< RefFeature, RefFeatureValue
RefFeatureValueReader
 
typedef FeatureReader
< RoundaboutFeature
RoundaboutFeatureReader
 
typedef DataFile< RouteNodeRouteNodeDataFile
 
typedef std::shared_ptr
< RouteNode
RouteNodeRef
 
typedef std::shared_ptr
< RoutingProfile
RoutingProfileRef
 
typedef std::shared_ptr
< RoutingProgress
RoutingProgressRef
 
typedef std::shared_ptr
< RoutingService
RoutingServiceRef
 Reference counted reference to an RoutingService instance. More...
 
typedef ConditionalStyle
< ShieldStyle,
ShieldStyle::Attribute
ShieldConditionalStyle
 
typedef PartialStyle
< ShieldStyle,
ShieldStyle::Attribute
ShieldPartialStyle
 
typedef std::vector
< std::vector
< ShieldStyleSelectorList > > 
ShieldStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< ShieldStyle
ShieldStyleRef
 
typedef StyleSelector
< ShieldStyle,
ShieldStyle::Attribute
ShieldStyleSelector
 
typedef std::list
< ShieldStyleSelector
ShieldStyleSelectorList
 
typedef std::shared_ptr
< ShortestPathRoutingProfile
ShortestPathRoutingProfileRef
 
typedef std::shared_ptr
< SizeCondition
SizeConditionRef
 
typedef std::shared_ptr
< StyleAttributeDescriptor
StyleAttributeDescriptorRef
 
typedef std::shared_ptr
< StyleConfig
StyleConfigRef
 
typedef std::shared_ptr
< StyleConstant
StyleConstantRef
 
typedef std::shared_ptr
< StyleDescriptor
StyleDescriptorRef
 
typedef std::shared_ptr< SymbolSymbolRef
 
typedef std::shared_ptr
< TagBoolCondition
TagBoolConditionRef
 Reference counted reference to a tag condition. More...
 
typedef std::shared_ptr
< TagCondition
TagConditionRef
 Reference counted reference to a tag condition. More...
 
typedef uint16_t TagId
 
typedef std::shared_ptr
< TagIsInCondition
TagIsInConditionRef
 Reference counted reference to a tag condition. More...
 
typedef std::unordered_map
< TagId, std::string > 
TagMap
 
typedef ConditionalStyle
< TextStyle,
TextStyle::Attribute
TextConditionalStyle
 
typedef PartialStyle
< TextStyle,
TextStyle::Attribute
TextPartialStyle
 
typedef std::vector
< std::vector
< TextStyleSelectorList > > 
TextStyleLookupTable
 List of selectors. More...
 
typedef std::shared_ptr
< TextStyle
TextStyleRef
 
typedef StyleSelector
< TextStyle,
TextStyle::Attribute
TextStyleSelector
 
typedef std::list
< TextStyleSelector
TextStyleSelectorList
 
typedef TileData< AreaRefTileAreaData
 TileData for areas. More...
 
typedef std::shared_ptr
< DataTileCache
TiledDataCacheRef
 Reference counted reference to a DataTileCache instance. More...
 
typedef TileData< NodeRefTileNodeData
 TileData for nodes. More...
 
typedef std::shared_ptr< TileTileRef
 Reference counted reference to a tile. More...
 
typedef TileData< WayRefTileWayData
 TileData for ways. More...
 
typedef FeatureReader
< TunnelFeature
TunnelFeatureReader
 
typedef std::shared_ptr
< TurnRestriction > 
TurnRestrictionRef
 
typedef std::shared_ptr
< TypeConfig > 
TypeConfigRef
 Reference counted reference to a TypeConfig instance. More...
 
typedef std::shared_ptr
< TypeDistributionDataFile
TypeDistributionDataFileRef
 
typedef uint16_t TypeId
 Type for describing a type of an way, area or node. More...
 
typedef std::shared_ptr< TypeInfo > TypeInfoRef
 
typedef uint8_t VehicleMask
 
typedef std::shared_ptr
< WaterIndex
WaterIndexRef
 
typedef std::shared_ptr
< WayDataFile
WayDataFileRef
 
typedef std::shared_ptr< Way > WayRef
 
typedef FeatureValueReader
< WidthFeature,
WidthFeatureValue
WidthFeatureValueReader
 

Enumerations

enum  BinaryOperator {
  operatorLess, operatorLessEqual, operatorEqual, operatorGreaterEqual,
  operatorGreater, operatorNotEqual
}
 Enumeration of possible binary operators as used by the various parsers. More...
 
enum  OSMRefType { osmRefNone = 0, osmRefNode = 1, osmRefWay = 2, osmRefRelation = 3 }
 
enum  RefType { refNone = 0, refNode = 1, refArea = 2, refWay = 3 }
 
enum  StyleAttributeType {
  StyleAttributeType::TYPE_VOID, StyleAttributeType::TYPE_BOOL, StyleAttributeType::TYPE_STRING, StyleAttributeType::TYPE_COLOR,
  StyleAttributeType::TYPE_MAGNIFICATION, StyleAttributeType::TYPE_ENUM, StyleAttributeType::TYPE_DISPLAY_SIZE, StyleAttributeType::TYPE_UDISPLAY_SIZE,
  StyleAttributeType::TYPE_MAP_SIZE, StyleAttributeType::TYPE_UMAP_SIZE, StyleAttributeType::TYPE_DOUBLE, StyleAttributeType::TYPE_UDOUBLE,
  StyleAttributeType::TYPE_UDOUBLE_ARRAY, StyleAttributeType::TYPE_INT, StyleAttributeType::TYPE_UINT, StyleAttributeType::TYPE_LABEL,
  StyleAttributeType::TYPE_SYMBOL
}
 Enumeration of different style sheet attribute value types. More...
 
enum  Vehicle { vehicleFoot = 1 << 1, vehicleBicycle = 1 << 2, vehicleCar = 1 << 3 }
 

Functions

 _PS_CONST (1)
 
 _PS_CONST (2)
 
 _PS_CONST (0_5)
 
 _PS_CONST (2OPI)
 
 _PS_CONST (PIO2)
 
 _PS_CONST (LOG_C_2)
 
 _PS_CONST (0_66)
 
 _PS_CONST (0_87)
 
 _PS_CONST (1_74)
 
 _PS_CONST (1_32)
 
 _PS_CONST (log_inv_1_74)
 
 _PS_CONST (log_inv_1_32)
 
 _PS_CONST_TYPE (sign_mask, uint64_t)
 
 _PS_CONST_TYPE (x01_double_mask, uint64_t)
 
 _PS_CONST_TYPE (x03FE_double_mask, uint64_t)
 
 _PS_CONST_TYPE (1_exp, uint64_t)
 
 _PS_CONST_TYPE (f_fraction_mask, uint64_t)
 
 _PS_CONST_TYPE (f_exp_mask, uint64_t)
 
 _PS_CONST_TYPE (f_one_mask, uint64_t)
 
 _PS_CONST_TYPE (1022, uint64_t)
 
OSMSCOUT_API std::string AppendFileToDir (const std::string &dir, const std::string &file)
 Append the filename 'name' to the directory name 'name' correctly adding directory delimiter if necessary. More...
 
template<typename N >
bool AreaIsCCW (const std::vector< N > &edges)
 Returns true, if the polygon is counter clock wise (CCW) More...
 
template<typename N >
bool AreaIsClockwise (const std::vector< N > &edges)
 Returns true, if the closed polygon with the given nodes is oriented clockwise. More...
 
template<typename N >
bool AreaIsSimple (std::vector< N > points)
 Returns true, if the handed polygon is simple (aka not complex). More...
 
template<typename N >
bool AreaIsSimple (const std::vector< std::pair< N, N > > &edges, const std::vector< bool > &edgeStartsNewPoly)
 Returns true, if the handed polygons are simple (aka not complex). More...
 
template<typename N >
bool AreaIsValid (std::vector< N > &outerPoints, std::vector< std::vector< N > > &innerPoints)
 
static bool AreaSorter (const MapPainter::AreaData &a, const MapPainter::AreaData &b)
 Return if a > b, a should be drawn before b. More...
 
v2df atanh_pd (v2df x)
 
double atanh_pd (double x)
 
double atanh_pd (double x, double y, double &res_x, double &res_y)
 
v2df atanh_sin_pd (v2df x)
 
double atanh_sin_pd (double x)
 
double atanh_sin_pd (double x, double y, double &res_x, double &res_y)
 
OSMSCOUT_API std::string BearingDisplayString (double bearing)
 COnvert the bearing to to a direction description in releation tothe compass. More...
 
template<typename N >
uint8_t BitsNeededToEncodeNumber (N number)
 Returns the number of bytes needed to encode the number. More...
 
template<typename N >
BitsToBytes (N bits)
 Returns the number of bytes needed to encode the given number of bits. More...
 
OSMSCOUT_API const char * BoolToString (bool value)
 Rteurns a string representation of the given boolean value (either 'true' or 'false') More...
 
OSMSCOUT_API std::string ByteSizeToString (FileOffset size)
 
OSMSCOUT_API std::string ByteSizeToString (double size)
 
OSMSCOUT_API uint8_t BytesNeededToAddressFileData (const std::string &filename)
 Number of bytes needed to address the complete content of the given file. More...
 
template<typename N >
uint8_t BytesNeededToEncodeNumber (N number)
 Returns the number of bytes needed to encode the number. More...
 
static double CalculateDistancePointToLineSegment (const TransPolygon::TransPoint &p, const TransPolygon::TransPoint &a, const TransPolygon::TransPoint &b)
 Calculates the distance between a point p and a line defined by the points a and b. More...
 
template<typename N >
double CalculateDistancePointToLineSegment (const N &p, const N &a, const N &b)
 Calculates the distance between a point p and a line defined by the points a and b. More...
 
OSMSCOUT_API double CalculateDistancePointToLineSegment (const GeoCoord &p, const GeoCoord &a, const GeoCoord &b, GeoCoord &intersection)
 Calculates the distance between a point p and a line defined by the points a and b. More...
 
static double CalculateDistancePointToPoint (const TransPolygon::TransPoint &a, const TransPolygon::TransPoint &b)
 
static double * CalculatePathSegmentLengths (cairo_path_t *path)
 Calculate an array of double for the path, that contains the length of each path segment. More...
 
static double CalculatePointDistance (cairo_path_data_t *a, cairo_path_data_t *b)
 
template<class S , class A >
void CalculateUsedTypes (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< TypeInfoSet > &typeSets)
 
template<class... Args>
CmdLineArgParserRef CmdLineBoolOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineDoubleOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineFlag (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineGeoCoordOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineIntOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineLongOption (Args &&...args)
 
template<class T , class... Args>
CmdLineArgParserRef CmdLineNumberOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineSizeTOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineStringOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineUIntOption (Args &&...args)
 
template<class... Args>
CmdLineArgParserRef CmdLineULongOption (Args &&...args)
 
template<typename N >
void ComputeSegmentBoxes (const std::vector< N > &path, std::vector< GeoBox > &segmentBoxes, size_t bound)
 Helper for FindPathIntersections. More...
 
v2df cos_pd (v2df x)
 
double cos_pd (double x)
 
double cos_pd (double x, double y, double &res_x, double &res_y)
 
v2df dangerous_sin_pd (v2df x)
 
double dangerous_sin_pd (double x)
 
void dangerous_sin_pd (double x, double y, double &res_x, double &res_y)
 
template<typename N >
unsigned int DecodeNumber (const char *buffer, N &number)
 Decode a variable length encoded number from the buffer back to the variable. More...
 
template<typename N >
unsigned int DecodeNumberSigned (const char *buffer, N &number)
 Decode a signed variable length encoded number from the buffer back to the variable. More...
 
template<typename N >
unsigned int DecodeNumberUnsigned (const char *buffer, N &number)
 Decode an unsigned variable length encoded number from the buffer back to the variable. More...
 
double DegToRad (double deg)
 
double Det (double x1, double y1, double x2, double y2)
 Calculates the determinant of the line between the given points. More...
 
template<typename N >
double DistanceSquare (const N &a, const N &b)
 
OSMSCOUT_API double DistanceToSegment (double px, double py, double p1x, double p1y, double p2x, double p2y, double &r, double &qx, double &qy)
 Return de distance of the point (px,py) to the segment [(p1x,p1y),(p2x,p2y)], r the abscissa on the line of (qx,qy) the orthogonal projected point from (px,py). More...
 
static void DrawContourLabelCairo (cairo_t *draw, cairo_path_t *path, double offset, double textHeight, const std::string &text)
 
static size_t EatWhitespace (const std::string &text, size_t currentPos)
 
template<typename N >
unsigned int EncodeNumber (N number, char *buffer)
 Encode a number into the given buffer using some variable length encoding. More...
 
template<typename N >
unsigned int EncodeNumberSigned (N number, char *buffer)
 Encode a signed number into the given buffer using some variable length encoding. More...
 
template<typename N >
unsigned int EncodeNumberUnsigned (N number, char *buffer)
 Encode an unsigned number into the given buffer using some variable length encoding. More...
 
OSMSCOUT_API bool ExistsInFilesystem (const std::string &filename)
 Returns true of the given filename exists in the filesystem. More...
 
template<typename N >
bool FindIntersection (const std::vector< N > &way, size_t &i, size_t &j)
 Find next intersetion on way (with itself) from node index i. More...
 
template<typename N >
void FindPathIntersections (const std::vector< N > &aPath, const std::vector< N > &bPath, bool aClosed, bool bClosed, std::vector< PathIntersection > &intersections, size_t aStartIndex=0, size_t bStartIndex=0)
 Find all intersections between aPath and bPath from node index aStartIndex and bStartIndex. More...
 
template<typename N >
void GetBoundingBox (const std::vector< N > &nodes, double &minLon, double &maxLon, double &minLat, double &maxLat)
 Calculate the bounding box of the (non empty) vector of geo coords. More...
 
template<typename N >
void GetBoundingBox (const std::vector< N > &nodes, GeoBox &boundingBox)
 Calculate the bounding box of the (non empty) vector of geo coords. More...
 
OSMSCOUT_API bool GetDigitValue (char digit, size_t &result)
 Returns the numerical value of the given character, if the character is a digit in a numerical value. More...
 
OSMSCOUT_API double GetEllipsoidalDistance (double aLon, double aLat, double bLon, double bLat)
 Calculates the ellipsoidal (WGS-84) distance between the two given points on the ellipsoid. More...
 
OSMSCOUT_API double GetEllipsoidalDistance (const GeoCoord &a, const GeoCoord &b)
 Calculates the ellipsoidal (WGS-84) distance between the two given points on the ellipsoid. More...
 
OSMSCOUT_API void GetEllipsoidalDistance (double lat1, double lon1, double bearing, double distance, double &lat2, double &lon2)
 Given a starting point and a bearing and a distance calculates the coordinates of the resulting point in the (WGS-84) ellipsoid. More...
 
template<class S , class A >
void GetFeatureStyle (const StyleResolveContext &context, const std::vector< std::list< StyleSelector< S, A > > > &styleSelectors, const FeatureValueBuffer &buffer, const Projection &projection, std::shared_ptr< S > &style)
 Get the style data based on the given features of an object, a given style (S) and its style attributes (A). More...
 
OSMSCOUT_API FileOffset GetFileSize (const std::string &filename)
 Return the size of the file in the parameter size. More...
 
OSMSCOUT_API std::string GetFirstInStringList (const std::string &stringList, const std::string &divider)
 Assumes that the string consists of a number of values separated by one of the given divider. More...
 
static void GetGridPoints (const std::vector< Point > &nodes, double gridSizeHoriz, double gridSizeVert, std::set< GeoCoord > &intersections)
 
static char GetHexChar (size_t value)
 
static size_t GetHexValue (char digit)
 
template<typename N , typename I >
bool GetLineIntersection (const N &a1, const N &a2, const N &b1, const N &b2, I &intersection)
 Returns true, if the lines defined by the given coordinates intersect. More...
 
template<typename N >
bool GetLineIntersectionPixel (const N &a1, const N &a2, const N &b1, const N &b2, N &intersection)
 Returns true, if the lines defined by the given coordinates intersect. More...
 
template<class S , class A >
void GetMaxLevelInConditionals (const std::list< ConditionalStyle< S, A > > &conditionals, size_t &maxLevel)
 
template<typename N , typename M >
int GetRelationOfPointToArea (const N &point, const std::vector< M > &nodes)
 Gives information about the position of the point in relation to the area. More...
 
template<typename N >
void GetSegmentBoundingBox (const std::vector< N > &path, size_t from, size_t to, GeoBox &boundingBox)
 Helper for FindPathIntersections. More...
 
OSMSCOUT_API double GetSphericalBearingFinal (double aLon, double aLat, double bLon, double bLat)
 Calculates the final bearing for a line from one coordinate two the other coordinate on a sphere. More...
 
OSMSCOUT_API double GetSphericalBearingFinal (const GeoCoord &a, const GeoCoord &b)
 Calculates the final bearing for a line from one coordinate two the other coordinate on a sphere. More...
 
OSMSCOUT_API double GetSphericalBearingInitial (double aLon, double aLat, double bLon, double bLat)
 Calculates the initial bearing for a line from one coordinate two the other coordinate on a sphere. More...
 
OSMSCOUT_API double GetSphericalBearingInitial (const GeoCoord &a, const GeoCoord &b)
 Calculates the initial bearing for a line from one coordinate to the other coordinate on a sphere. More...
 
OSMSCOUT_API double GetSphericalDistance (const GeoCoord &a, const GeoCoord &b)
 Calculates the spherical distance between the two given points on the sphere. More...
 
OSMSCOUT_API void GroupStringListToStrings (std::list< std::string >::const_iterator token, size_t listSize, size_t parts, std::list< std::list< std::string > > &lists)
 Given a list of strings, individual strings will be combined into a given number of sub groups (individual string concatenated and separated by a space). More...
 
OSMSCOUT_API uint64_t InterleaveNumbers (uint32_t a, uint32_t b)
 Encodes the given numbers into a new number of twice the size that has the bits of each nunber alternating interleaved. More...
 
template<typename N , typename M >
bool IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b, const GeoBox aBox, const GeoBox bBox)
 Return true, if at least one point of area a in within area b. More...
 
template<typename N , typename M >
bool IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b)
 Return true, if at least one point of area a in within area b. More...
 
template<typename N , typename M >
bool IsAreaCompletelyInArea (const std::vector< N > &a, const std::vector< M > &b)
 Return true, if area a is completely in area b. More...
 
template<typename N , typename M >
bool IsAreaSubOfArea (const std::vector< N > &a, const std::vector< M > &b)
 Assumes that the given areas do not intersect. More...
 
template<typename N , typename M >
bool IsAreaSubOfAreaOrSame (const std::vector< N > &a, const std::vector< M > &b)
 Assumes that the given areas do not intersect. More...
 
template<typename N , typename M >
bool IsAreaSubOfAreaQuorum (const std::vector< N > &a, const std::vector< M > &b)
 Assumes that the given areas do not intersect. More...
 
template<typename N , typename M >
bool IsCoordInArea (const N &point, const std::vector< M > &nodes)
 Returns true, if point in area. More...
 
OSMSCOUT_API bool IsDirectory (const std::string &filename)
 Returns true of the given filename points to a directory. More...
 
static bool IsLowerByteSet (unsigned char *bytes)
 
OSMSCOUT_API bool IsValidToWrite (const std::vector< Point > &nodes)
 
static bool LabelLayoutDataSorter (const MapPainter::LabelLayoutData &a, const MapPainter::LabelLayoutData &b)
 Sort labels for the same object by position. More...
 
void LayoutTextLayout (const QFontMetrics &fontMetrics, qreal proposedWidth, QTextLayout &layout, QRectF &boundingBox)
 
template<typename N >
bool LinesIntersect (const N &a1, const N &a2, const N &b1, const N &b2)
 Returns true, if the lines defined by the given coordinates intersect. More...
 
OSMSCOUT_MAP_CAIRO_API
cairo_surface_t * 
LoadPNG (const std::string &filename)
 
OSMSCOUT_API std::string LocaleStringToUTF8String (const std::string &text)
 Convert the given std::string in the current locale to a std::string containing a corresponding UTF8 character sequence. More...
 
OSMSCOUT_API std::wstring LocaleStringToWString (const std::string &text)
 Converts the given std::string with content in the current locale to a std::wstring. More...
 
v2df log_pd (v2df x)
 
double log_pd (double x)
 
double log_pd (double x, double y, double &res_x, double &res_y)
 
static void MapPathOnPath (cairo_t *draw, cairo_path_t *srcPath, cairo_path_t *dstPath, double xOffset, double yOffset)
 
void Normalize (double x, double y, double &nx, double &ny)
 
OSMSCOUT_API double NormalizeRelativeAngel (double angle)
 Normalizes the given bearing to be in the interval [-180.0 - 180.0]. More...
 
template<typename N >
size_t NumberDigits (const N &number, size_t base=10)
 
template<typename N >
std::string NumberToString (const N &number)
 Converts the given (possibly negative) decimal number to a std::string. More...
 
template<typename N >
std::string NumberToStringSigned (const N &number)
 
template<typename N >
std::string NumberToStringUnsigned (const N &number)
 
OSMSCOUT_API std::ostream & operator<< (std::ostream &stream, const StopClock &clock)
 
OSMSCOUT_API std::ostream & operator<< (std::ostream &stream, const StopClockNano &clock)
 
OSMSCOUT_API bool ParseBoolArgument (int argc, char *argv[], int &currentIndex, bool &value)
 
OSMSCOUT_API bool ParseSizeTArgument (int argc, char *argv[], int &currentIndex, size_t &value)
 
OSMSCOUT_API bool ParseStringArgument (int argc, char *argv[], int &currentIndex, std::string &value)
 
static void PathPointTransformer (double &x, double &y, cairo_path_t *path, double *pathSegmentLengths)
 Project a point X,Y onto a parameterized path. More...
 
OSMSCOUT_API size_t Pow (size_t a, size_t b)
 
OSMSCOUT_API bool RemoveFile (const std::string &filename)
 Deletes the given file. More...
 
OSMSCOUT_API bool RenameFile (const std::string &oldFilename, const std::string &newFilename)
 Rename a file. More...
 
void OSMSCOUT_API ScanConvertLine (int x1, int y1, int x2, int y2, std::vector< ScanCell > &cells)
 Does a scan conversion for a line between the given coordinates. More...
 
static bool ScanCoordinate (const std::string &text, size_t &currentPos, double &value, size_t maxDigits)
 
static void SimplifyPolyLineDouglasPeucker (TransPolygon::TransPoint *points, size_t beginIndex, size_t endIndex, size_t endValueIndex, double optimizeErrorToleranceSquared)
 
OSMSCOUT_API void SimplifyTokenList (std::list< std::string > &tokens)
 Simplifying a token list by merging tokens that start with an upper case letter followed by a token starting with a lower case letter. More...
 
void sin_cos_pd (double x, double &res_sin, double &res_cos)
 
v2df sin_pd (v2df x)
 
double sin_pd (double x)
 
void sin_pd (double x, double y, double &res_x, double &res_y)
 
void sincos (double x, double &resSin, double &resCos)
 
template<class S , class A >
void SortInConditionals (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< std::vector< std::list< StyleSelector< S, A > > > > &selectors)
 
OSMSCOUT_API void SplitStringAtSpace (const std::string &input, std::list< std::string > &tokens)
 Converts the given string into a list of whitespace separated (std::isspace()) strings. More...
 
OSMSCOUT_API std::string StringListToString (const std::list< std::string > &list, const std::string &separator="/")
 
OSMSCOUT_API bool StringToBool (const char *string, bool &value)
 Convert the given string to a boolean value. More...
 
OSMSCOUT_API bool StringToNumber (const char *string, double &value)
 
OSMSCOUT_API bool StringToNumber (const std::string &string, double &value)
 
template<typename N >
unsigned int StringToNumber (const std::string &string, N &number, size_t base=10)
 Converts a string holding a (possibly negative) numerical value of the given base to the numerical value itself. More...
 
template<typename N >
bool StringToNumberSigned (const std::string &string, N &number, size_t base=10)
 
template<typename N >
bool StringToNumberUnsigned (const std::string &string, N &number, size_t base=10)
 
OSMSCOUT_API void TokenizeString (const std::string &input, std::list< std::string > &tokens)
 Converts the given string into a list of whitespace or colon-separated strings. More...
 
static void TransformPathOntoPath (cairo_path_t *srcPath, cairo_path_t *dstPath, double *pathSegmentLengths, double xOffset, double yOffset)
 Project a path using a function. More...
 
OSMSCOUT_API std::string UTF8StringToLocaleString (const std::string &text)
 Convert the given std::string in UTF-8 a std::string containing to corresponding string in the current locale. More...
 
OSMSCOUT_API std::string UTF8StringToLower (const std::string &text)
 Convert the given std::string containing a UTF8 character sequence to lower case using the current global locale. More...
 
OSMSCOUT_API std::string UTF8StringToUpper (const std::string &text)
 Convert the given std::string containing a UTF8 character sequence to upper case using the current global locale. More...
 
OSMSCOUT_API std::wstring UTF8StringToWString (const std::string &text)
 Convert the given std::string containign a UTF8 character sequence to a std::wstring. More...
 
OSMSCOUT_API std::string WStringToLocaleString (const std::wstring &text)
 Converts the given std::wstring to a std::string with content in the current locale. More...
 
OSMSCOUT_API std::string WStringToUTF8String (const std::wstring &text)
 Convert the given std::wstring to a std::string containing a corresponding UTF8 character sequence. More...
 

Variables

static StyleDescriptorRef borderStyleDescriptor =std::make_shared<BorderStyleDescriptor>()
 
const size_t CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1
 
const size_t CELL_DIMENSION_MAX = 25
 
OSMSCOUT_API CellDimension cellDimension [CELL_DIMENSION_COUNT]
 
const size_t coordByteSize =7
 Number of bytes needed to store a lat,lon coordinate pair. More...
 
static const double earthExtentMeter =2*M_PI*earthRadiusMeter
 
static const double earthRadiusMeter =6378137.0
 
static const uint32_t FILE_FORMAT_VERSION =13
 
static StyleDescriptorRef fillStyleDescriptor =std::make_shared<FillStyleDescriptor>()
 
static double FONT_HEIGHT_FACTOR =10
 Height of the font in pixel in relation to the given fontSize. More...
 
static double FONT_WIDTH_HEIGHT_FACTOR =1
 Width of an individual character in relation to its height. More...
 
static const double gradtorad =2*M_PI/360
 
static StyleDescriptorRef iconStyleDescriptor =std::make_shared<IconStyleDescriptor>()
 
cairo_user_data_key_t imageDataKey
 
OSMSCOUT_API const double latConversionFactor =134217727.0/180.0
 Coordinates will be stored as unsigned long values in file. More...
 
static StyleDescriptorRef lineStyleDescriptor =std::make_shared<LineStyleDescriptor>()
 
OSMSCOUT_API Log log
 The one an donly global instance of the logger that should get used for all logging output. More...
 
OSMSCOUT_API const double lonConversionFactor =134217727.0/360.0
 Coordinates will be stored as unsigned long values in file. More...
 
static double one_degree_at_equator = 111320.0
 
static StyleDescriptorRef pathShieldStyleDescriptor =std::make_shared<PathShieldStyleDescriptor>()
 
static StyleDescriptorRef pathSymbolStyleDescriptor =std::make_shared<PathSymbolStyleDescriptor>()
 
static StyleDescriptorRef pathTextStyleDescriptor =std::make_shared<PathTextStyleDescriptor>()
 
static const TagId tagIgnore = 0
 Magic constant for an unresolved and to be ignored tag. More...
 
static StyleDescriptorRef textStyleDescriptor =std::make_shared<TextStyleDescriptor>()
 
static const double tileDPI =96.0
 
static const double tileWidthZoom0Aquator =earthExtentMeter
 
static const TypeId typeIgnore = 0
 Magic constant for an unresolved and to be ignored object type. More...
 
static const char * valueChar ="0123456789abcdef"
 

Typedef Documentation

typedef std::shared_ptr<Address> osmscout::AddressRef
typedef std::shared_ptr<AdminRegion> osmscout::AdminRegionRef
typedef std::shared_ptr<AreaAreaIndex> osmscout::AreaAreaIndexRef
typedef std::shared_ptr<AreaDataFile> osmscout::AreaDataFileRef
typedef std::shared_ptr<AreaNodeIndex> osmscout::AreaNodeIndexRef
typedef std::shared_ptr<Area> osmscout::AreaRef
typedef std::shared_ptr<AreaWayIndex> osmscout::AreaWayIndexRef
typedef std::shared_ptr<BasemapDatabase> osmscout::BasemapDatabaseRef

Reference counted reference to an Database instance.

typedef std::vector<std::vector<BorderStyleSelectorList> > osmscout::BorderStyleLookupTable

List of selectors.

typedef std::shared_ptr<BorderStyle> osmscout::BorderStyleRef
typedef std::shared_ptr<Breaker> osmscout::BreakerRef
typedef std::shared_ptr<Coord> osmscout::CoordRef
typedef std::shared_ptr<Database> osmscout::DatabaseRef

Reference counted reference to an Database instance.

typedef std::shared_ptr<DrawPrimitive> osmscout::DrawPrimitiveRef
typedef std::shared_ptr<Feature> osmscout::FeatureRef
typedef std::shared_ptr<FeatureValueBuffer> osmscout::FeatureValueBufferRef
typedef std::vector<std::vector<FillStyleSelectorList> > osmscout::FillStyleLookupTable

List of selectors.

typedef std::shared_ptr<FillStyle> osmscout::FillStyleRef
typedef std::vector<std::vector<IconStyleSelectorList> > osmscout::IconStyleLookupTable

List of selectors.

typedef std::shared_ptr<IconStyle> osmscout::IconStyleRef
typedef std::shared_ptr<Intersection> osmscout::JunctionRef
typedef std::list<LabelData>::iterator osmscout::LabelDataRef
typedef std::shared_ptr<LabelProvider> osmscout::LabelProviderRef
typedef std::shared_ptr<LabelStyle> osmscout::LabelStyleRef
typedef std::vector<std::vector<LineStyleSelectorList> > osmscout::LineStyleLookupTable

List of selectors.

typedef std::shared_ptr<LineStyle> osmscout::LineStyleRef
typedef std::shared_ptr<LocationIndex> osmscout::LocationIndexRef
typedef std::shared_ptr<Location> osmscout::LocationRef
typedef std::shared_ptr<MapTile> osmscout::MapTileRef
typedef std::chrono::duration<double,std::milli> osmscout::MilliDouble
typedef std::chrono::duration<double,std::nano> osmscout::NanoDouble
typedef std::shared_ptr<NodeDataFile> osmscout::NodeDataFileRef
typedef std::shared_ptr<Node> osmscout::NodeRef
typedef uint64_t osmscout::PageId

List of selectors.

List of selectors.

List of selectors.

typedef std::shared_ptr<PathTextStyle> osmscout::PathTextStyleRef
typedef std::shared_ptr<POI> osmscout::POIRef
typedef std::shared_ptr<RouteNode> osmscout::RouteNodeRef
typedef std::shared_ptr<RoutingProfile> osmscout::RoutingProfileRef
typedef std::vector<std::vector<ShieldStyleSelectorList> > osmscout::ShieldStyleLookupTable

List of selectors.

typedef std::shared_ptr<ShieldStyle> osmscout::ShieldStyleRef
typedef std::shared_ptr<SizeCondition> osmscout::SizeConditionRef
typedef std::shared_ptr<StyleConfig> osmscout::StyleConfigRef
typedef std::shared_ptr<StyleConstant> osmscout::StyleConstantRef
typedef std::shared_ptr<Symbol> osmscout::SymbolRef
typedef uint16_t osmscout::TagId
typedef std::unordered_map<TagId,std::string> osmscout::TagMap
typedef std::vector<std::vector<TextStyleSelectorList> > osmscout::TextStyleLookupTable

List of selectors.

typedef std::shared_ptr<TextStyle> osmscout::TextStyleRef
typedef std::shared_ptr<TurnRestriction> osmscout::TurnRestrictionRef
typedef std::shared_ptr<TypeInfo> osmscout::TypeInfoRef
typedef uint8_t osmscout::VehicleMask
typedef std::shared_ptr<WaterIndex> osmscout::WaterIndexRef
typedef std::shared_ptr<WayDataFile> osmscout::WayDataFileRef
typedef std::shared_ptr<Way> osmscout::WayRef

Enumeration Type Documentation

Enumeration of possible binary operators as used by the various parsers.

Enumerator
operatorLess 
operatorLessEqual 
operatorEqual 
operatorGreaterEqual 
operatorGreater 
operatorNotEqual 
Enumerator
osmRefNone 
osmRefNode 
osmRefWay 
osmRefRelation 
Enumerator
refNone 
refNode 
refArea 
refWay 
Enumerator
vehicleFoot 
vehicleBicycle 
vehicleCar 

Function Documentation

osmscout::_PS_CONST ( )
osmscout::_PS_CONST ( )
osmscout::_PS_CONST ( 0_5  )
osmscout::_PS_CONST ( 2OPI  )
osmscout::_PS_CONST ( PIO2  )
osmscout::_PS_CONST ( LOG_C_2  )
osmscout::_PS_CONST ( 0_66  )
osmscout::_PS_CONST ( 0_87  )
osmscout::_PS_CONST ( 1_74  )
osmscout::_PS_CONST ( 1_32  )
osmscout::_PS_CONST ( log_inv_1_74  )
osmscout::_PS_CONST ( log_inv_1_32  )
osmscout::_PS_CONST_TYPE ( sign_mask  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( x01_double_mask  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( x03FE_double_mask  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( 1_exp  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( f_fraction_mask  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( f_exp_mask  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( f_one_mask  ,
uint64_t   
)
osmscout::_PS_CONST_TYPE ( 1022  ,
uint64_t   
)
static bool osmscout::AreaSorter ( const MapPainter::AreaData &  a,
const MapPainter::AreaData &  b 
)
inlinestatic

Return if a > b, a should be drawn before b.

References osmscout::MapPainter::AreaData::boundingBox, and osmscout::MapPainter::AreaData::fillStyle.

v2df osmscout::atanh_pd ( v2df  x)
inline

References ARRAY2V2DF, and log_pd().

Referenced by atanh_pd(), and atanh_sin_pd().

double osmscout::atanh_pd ( double  x)
inline

References atanh_pd().

double osmscout::atanh_pd ( double  x,
double  y,
double &  res_x,
double &  res_y 
)
inline

References atanh_pd().

v2df osmscout::atanh_sin_pd ( v2df  x)
inline

References atanh_pd(), and dangerous_sin_pd().

Referenced by atanh_sin_pd().

double osmscout::atanh_sin_pd ( double  x)
inline

References atanh_sin_pd().

double osmscout::atanh_sin_pd ( double  x,
double  y,
double &  res_x,
double &  res_y 
)
inline

References atanh_sin_pd().

std::string osmscout::BearingDisplayString ( double  bearing)

COnvert the bearing to to a direction description in releation tothe compass.

References M_PI.

Referenced by LocationInfoModel::bearing(), and LocationInfoModel::onLocationDescription().

const char * osmscout::BoolToString ( bool  value)

Rteurns a string representation of the given boolean value (either 'true' or 'false')

Parameters
valuevalue to return
Returns
result of the conversion
std::string osmscout::ByteSizeToString ( double  size)
static double osmscout::CalculateDistancePointToLineSegment ( const TransPolygon::TransPoint &  p,
const TransPolygon::TransPoint &  a,
const TransPolygon::TransPoint &  b 
)
static

Calculates the distance between a point p and a line defined by the points a and b.

Parameters
pThe point in distance to a line
aOne point defining the line
bAnother point defining the line
Returns
The distance

References osmscout::TransPolygon::TransPoint::x, and osmscout::TransPolygon::TransPoint::y.

template<typename N >
double osmscout::CalculateDistancePointToLineSegment ( const N &  p,
const N &  a,
const N &  b 
)

Calculates the distance between a point p and a line defined by the points a and b.

Parameters
pThe point in distance to a line
aOne point defining the line
bAnother point defining the line
Returns
The distance

Referenced by osmscout::LocationService::LoadNearAreas(), and osmscout::LocationService::LoadNearWays().

double osmscout::CalculateDistancePointToLineSegment ( const GeoCoord &  p,
const GeoCoord &  a,
const GeoCoord &  b,
GeoCoord &  intersection 
)

Calculates the distance between a point p and a line defined by the points a and b.

Parameters
pThe point in distance to a line
aOne point defining the line
bAnother point defining the line
intersectionThe point that is closest to 'p', either 'a', 'b', or a point on the line between 'a' and 'b'.
Returns
The distance
static double osmscout::CalculateDistancePointToPoint ( const TransPolygon::TransPoint &  a,
const TransPolygon::TransPoint &  b 
)
static
static double* osmscout::CalculatePathSegmentLengths ( cairo_path_t *  path)
static

Calculate an array of double for the path, that contains the length of each path segment.

References CalculatePointDistance().

Referenced by MapPathOnPath().

static double osmscout::CalculatePointDistance ( cairo_path_data_t *  a,
cairo_path_data_t *  b 
)
static
template<class S , class A >
void osmscout::CalculateUsedTypes ( const TypeConfig &  typeConfig,
const std::list< ConditionalStyle< S, A > > &  conditionals,
size_t  maxLevel,
std::vector< TypeInfoSet > &  typeSets 
)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineBoolOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineDoubleOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineFlag ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineGeoCoordOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineIntOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineLongOption ( Args &&...  args)
template<class T , class... Args>
CmdLineArgParserRef osmscout::CmdLineNumberOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineSizeTOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineStringOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineUIntOption ( Args &&...  args)
template<class... Args>
CmdLineArgParserRef osmscout::CmdLineULongOption ( Args &&...  args)
template<typename N >
void osmscout::ComputeSegmentBoxes ( const std::vector< N > &  path,
std::vector< GeoBox > &  segmentBoxes,
size_t  bound 
)

Helper for FindPathIntersections.

Compute bounding boxes for path segments with length 1000 nodes, up to node index bound (exclusive)

References GetSegmentBoundingBox().

Referenced by FindIntersection(), and FindPathIntersections().

v2df osmscout::cos_pd ( v2df  x)
inline

References ARRAY2V2DF, ARRAY2V2DI, and POLY_EVAL6.

Referenced by cos_pd().

double osmscout::cos_pd ( double  x)
inline

References cos_pd().

double osmscout::cos_pd ( double  x,
double  y,
double &  res_x,
double &  res_y 
)
inline

References cos_pd().

v2df osmscout::dangerous_sin_pd ( v2df  x)
inline

References POLY_EVAL6.

Referenced by atanh_sin_pd(), and dangerous_sin_pd().

double osmscout::dangerous_sin_pd ( double  x)
inline

References dangerous_sin_pd().

void osmscout::dangerous_sin_pd ( double  x,
double  y,
double &  res_x,
double &  res_y 
)
inline

References dangerous_sin_pd().

double osmscout::DegToRad ( double  deg)
inline

References M_PI.

Referenced by GetSphericalDistance().

template<typename N >
double osmscout::DistanceSquare ( const N &  a,
const N &  b 
)

Referenced by FindPathIntersections().

static void osmscout::DrawContourLabelCairo ( cairo_t *  draw,
cairo_path_t *  path,
double  offset,
double  textHeight,
const std::string &  text 
)
static
static size_t osmscout::EatWhitespace ( const std::string &  text,
size_t  currentPos 
)
static
static void osmscout::GetGridPoints ( const std::vector< Point > &  nodes,
double  gridSizeHoriz,
double  gridSizeVert,
std::set< GeoCoord > &  intersections 
)
static

References GetLineIntersection().

static char osmscout::GetHexChar ( size_t  value)
static
static size_t osmscout::GetHexValue ( char  digit)
static
template<class S , class A >
void osmscout::GetMaxLevelInConditionals ( const std::list< ConditionalStyle< S, A > > &  conditionals,
size_t &  maxLevel 
)
template<typename N >
void osmscout::GetSegmentBoundingBox ( const std::vector< N > &  path,
size_t  from,
size_t  to,
GeoBox &  boundingBox 
)

Helper for FindPathIntersections.

Compute bounding box of path segment from node index from (inclusive) to node index to (exclusive)

Referenced by ComputeSegmentBoxes(), and FindPathIntersections().

static bool osmscout::IsLowerByteSet ( unsigned char *  bytes)
static

Referenced by LoadPNG().

bool osmscout::IsValidToWrite ( const std::vector< Point > &  nodes)
static bool osmscout::LabelLayoutDataSorter ( const MapPainter::LabelLayoutData &  a,
const MapPainter::LabelLayoutData &  b 
)
inlinestatic

Sort labels for the same object by position.

References osmscout::MapPainter::LabelLayoutData::position.

void osmscout::LayoutTextLayout ( const QFontMetrics &  fontMetrics,
qreal  proposedWidth,
QTextLayout &  layout,
QRectF &  boundingBox 
)
cairo_surface_t * osmscout::LoadPNG ( const std::string &  filename)
v2df osmscout::log_pd ( v2df  x)
inline

References ARRAY2V2DF, ARRAY2V2DI, and POLY_EVAL3.

Referenced by atanh_pd(), and log_pd().

double osmscout::log_pd ( double  x)
inline

References log_pd().

double osmscout::log_pd ( double  x,
double  y,
double &  res_x,
double &  res_y 
)
inline

References log_pd().

static void osmscout::MapPathOnPath ( cairo_t *  draw,
cairo_path_t *  srcPath,
cairo_path_t *  dstPath,
double  xOffset,
double  yOffset 
)
static
template<typename N >
size_t osmscout::NumberDigits ( const N &  number,
size_t  base = 10 
)

Referenced by StringToNumberSigned().

template<typename N >
std::string osmscout::NumberToStringSigned ( const N &  number)
template<typename N >
std::string osmscout::NumberToStringUnsigned ( const N &  number)
std::ostream & osmscout::operator<< ( std::ostream &  stream,
const StopClock &  clock 
)
std::ostream & osmscout::operator<< ( std::ostream &  stream,
const StopClockNano &  clock 
)
bool osmscout::ParseBoolArgument ( int  argc,
char *  argv[],
int &  currentIndex,
bool &  value 
)

References StringToBool().

bool osmscout::ParseSizeTArgument ( int  argc,
char *  argv[],
int &  currentIndex,
size_t &  value 
)

References StringToNumber().

bool osmscout::ParseStringArgument ( int  argc,
char *  argv[],
int &  currentIndex,
std::string &  value 
)
static void osmscout::PathPointTransformer ( double &  x,
double &  y,
cairo_path_t *  path,
double *  pathSegmentLengths 
)
static

Project a point X,Y onto a parameterized path.

The final point is where you get if you walk on the path forward from the beginning for X units, then stop there and walk another Y units perpendicular to the path at that point. In more detail:

There's two pieces of math involved:

The parametric forms are used to answer the question of "where will I be if I walk a distance of X on this path". The Gradient is used to answer the question of "where will I be if then I stop, rotate left for 90 degrees and walk straight for a distance of Y".

Referenced by TransformPathOntoPath().

size_t osmscout::Pow ( size_t  a,
size_t  b 
)
static bool osmscout::ScanCoordinate ( const std::string &  text,
size_t &  currentPos,
double &  value,
size_t  maxDigits 
)
static
static void osmscout::SimplifyPolyLineDouglasPeucker ( TransPolygon::TransPoint *  points,
size_t  beginIndex,
size_t  endIndex,
size_t  endValueIndex,
double  optimizeErrorToleranceSquared 
)
static
void osmscout::sin_cos_pd ( double  x,
double &  res_sin,
double &  res_cos 
)
inline

References M_PI, and sin_pd().

v2df osmscout::sin_pd ( v2df  x)
inline

References ARRAY2V2DF, and POLY_EVAL6.

Referenced by sin_cos_pd(), and sin_pd().

double osmscout::sin_pd ( double  x)
inline

References sin_pd().

void osmscout::sin_pd ( double  x,
double  y,
double &  res_x,
double &  res_y 
)
inline

References sin_pd().

void osmscout::sincos ( double  x,
double &  resSin,
double &  resCos 
)
inline
template<class S , class A >
void osmscout::SortInConditionals ( const TypeConfig &  typeConfig,
const std::list< ConditionalStyle< S, A > > &  conditionals,
size_t  maxLevel,
std::vector< std::vector< std::list< StyleSelector< S, A > > > > &  selectors 
)
template<typename N >
bool osmscout::StringToNumberSigned ( const std::string &  string,
N &  number,
size_t  base = 10 
)

References GetDigitValue(), and NumberDigits().

template<typename N >
bool osmscout::StringToNumberUnsigned ( const std::string &  string,
N &  number,
size_t  base = 10 
)
static void osmscout::TransformPathOntoPath ( cairo_path_t *  srcPath,
cairo_path_t *  dstPath,
double *  pathSegmentLengths,
double  xOffset,
double  yOffset 
)
static

Project a path using a function.

Each point of the path (including Bezier control points) is passed to the function for transformation.

References PathPointTransformer().

Referenced by MapPathOnPath().

std::string osmscout::UTF8StringToLower ( const std::string &  text)

Convert the given std::string containing a UTF8 character sequence to lower case using the current global locale.

Parameters
textText to get converted
Returns
Converted text
Note
that a global C++ locale must be set for more than simple ASCII conversions to work.

References UTF8StringToWString(), and WStringToUTF8String().

std::string osmscout::UTF8StringToUpper ( const std::string &  text)

Convert the given std::string containing a UTF8 character sequence to upper case using the current global locale.

Parameters
textText to get converted
Returns
Converted text
Note
that a global C++ locale must be set for more than simple ASCII conversions to work.

References UTF8StringToWString(), and WStringToUTF8String().

Variable Documentation

StyleDescriptorRef osmscout::borderStyleDescriptor =std::make_shared<BorderStyleDescriptor>()
static
const size_t osmscout::CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1
const size_t osmscout::CELL_DIMENSION_MAX = 25
CellDimension osmscout::cellDimension
Initial value:
= {
{ 360.0, 180.0 },
{ 180.0, 90.0 },
{ 90.0, 45.0 },
{ 45.0, 22.5 },
{ 22.5, 11.25 },
{ 11.25, 5.625 },
{ 5.625, 2.8125 },
{ 2.8125, 1.40625 },
{ 1.40625, 0.703125 },
{ 0.703125, 0.3515625 },
{ 0.3515625, 0.17578125 },
{ 0.17578125, 0.087890625 },
{ 0.087890625, 0.0439453125 },
{ 0.0439453125, 0.02197265625 },
{ 0.02197265625, 0.010986328125 },
{ 0.010986328125, 0.0054931640625 },
{ 0.0054931640625, 0.00274658203125 },
{ 0.00274658203125, 0.001373291015625 },
{ 0.001373291015625, 0.0006866455078125 },
{ 0.0006866455078125, 0.00034332275390625 },
{ 0.00034332275390625, 0.000171661376953125 },
{ 0.000171661376953125, 0.0000858306884765625 },
{ 0.0000858306884765625, 0.00004291534423828125 },
{ 0.00004291534423828125, 0.000021457672119140625 },
{ 0.000021457672119140625, 0.0000107288360595703125 },
{ 0.0000107288360595703125, 0.0000107288360595703125 }
}

Referenced by osmscout::MapTileCache< T >::GetTilesForBoundingBox(), osmscout::DataTileCache::GetTilesForBoundingBox(), osmscout::AreaNodeIndex::Open(), and osmscout::AreaWayIndex::Open().

const double osmscout::earthExtentMeter =2*M_PI*earthRadiusMeter
static
const double osmscout::earthRadiusMeter =6378137.0
static
const uint32_t osmscout::FILE_FORMAT_VERSION =13
static
StyleDescriptorRef osmscout::fillStyleDescriptor =std::make_shared<FillStyleDescriptor>()
static
double osmscout::FONT_HEIGHT_FACTOR =10
static

Height of the font in pixel in relation to the given fontSize.

Referenced by osmscout::MapPainterNoOp::GetFontHeight(), and osmscout::MapPainterNoOp::GetTextDimension().

double osmscout::FONT_WIDTH_HEIGHT_FACTOR =1
static

Width of an individual character in relation to its height.

Referenced by osmscout::MapPainterNoOp::GetTextDimension().

StyleDescriptorRef osmscout::iconStyleDescriptor =std::make_shared<IconStyleDescriptor>()
static
cairo_user_data_key_t osmscout::imageDataKey

Referenced by LoadPNG().

StyleDescriptorRef osmscout::lineStyleDescriptor =std::make_shared<LineStyleDescriptor>()
static
double osmscout::one_degree_at_equator = 111320.0
static
StyleDescriptorRef osmscout::pathShieldStyleDescriptor =std::make_shared<PathShieldStyleDescriptor>()
static
StyleDescriptorRef osmscout::pathSymbolStyleDescriptor =std::make_shared<PathSymbolStyleDescriptor>()
static
StyleDescriptorRef osmscout::pathTextStyleDescriptor =std::make_shared<PathTextStyleDescriptor>()
static
StyleDescriptorRef osmscout::textStyleDescriptor =std::make_shared<TextStyleDescriptor>()
static
const double osmscout::tileDPI =96.0
static
const double osmscout::tileWidthZoom0Aquator =earthExtentMeter
static
const char* osmscout::valueChar ="0123456789abcdef"
static