libosmscout  1.1.1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
osmscout Namespace Reference

Namespaces

 FileDownloaderConfig
 
 oss
 
 ost
 

Classes

class  AbstractRoutingProfile
 
class  AbstractRoutingService
 
class  AccessFeature
 
class  AccessFeatureValue
 
class  AccessRestrictedFeature
 
class  AccessRestrictedFeatureValue
 
struct  AccumulatorEvent
 
class  Address
 
class  AddressFeature
 
class  AddressFeatureValue
 
class  AddressListVisitor
 
class  AddressVisitor
 
class  AdminLevelFeature
 
class  AdminLevelFeatureValue
 
class  AdminRegion
 
class  AdminRegionInfo
 
class  AdminRegionVisitor
 
class  AreaAreaIndex
 
class  AreaDataFile
 
class  AreaIndex
 
class  AreaIndexGenerator
 
struct  AreaMergeJob
 
struct  AreaMergeResult
 
class  AreaNodeIndex
 
class  AreaRegionSearchResult
 
class  AreaRegionSearchResultEntry
 
class  AreaSearchParameter
 
class  AvailableMapsModel
 
class  AvailableMapsModelDir
 
class  AvailableMapsModelItem
 
class  AvailableMapsModelMap
 
class  AvailableVoice
 
class  AvailableVoicesModel
 
class  BorderStyle
 
class  BoundingBoxDataFile
 
class  Breaker
 
class  BridgeFeature
 
class  BuildingFeature
 
class  Cache
 
struct  CellDimension
 
class  CharacterTexture
 
class  CirclePrimitive
 
class  CLASS_FINAL
 
class  ClosestRoutableObjectResult
 
class  CmdLineAlternativeFlagArgParser
 
class  CmdLineArgParser
 
class  CmdLineBoolArgParser
 
class  CmdLineFlagArgParser
 
class  CmdLineGeoCoordArgParser
 
class  CmdLineNumberArgParser
 
class  CmdLineParser
 
class  CmdLineParseResult
 
class  CmdLineScanner
 
class  CmdLineStringArgParser
 
class  CmdLineStringListArgParser
 
class  ColorFeature
 
class  ColorFeatureValue
 
struct  ConditionalStyle
 
class  ConsoleLogger
 
class  ConsoleProgress
 
class  ConstructionYearFeature
 
class  ConstructionYearFeatureValue
 
class  Consumer
 
class  ContourLabel
 
struct  ContoursData
 
class  CoordDataFile
 
class  CoverageIndex
 
struct  DatabaseLoadedResponse
 
struct  DataBlockSpan
 
class  DataFile
 
class  DataTileCache
 
struct  DBFileOffset
 
struct  DBId
 
class  DBInstance
 
class  DBJob
 
class  DBLoadJob
 
class  DBRenderJob
 
class  DBThread
 
class  DebugDatabase
 
class  DebugDatabaseParameter
 
struct  DecodeNumberTemplated
 
struct  DecodeNumberTemplated< false, N >
 
struct  DecodeNumberTemplated< true, N >
 
class  DestinationFeature
 
class  DestinationFeatureValue
 
struct  DistanceUnit
 
class  DownloadJob
 
class  DragHandler
 
class  DrawPrimitive
 
class  DynamicFeatureLabelReader
 
class  EleFeature
 
class  EleFeatureValue
 
class  ElevationChartWidget
 
class  ElevationModule
 
struct  ElevationPoint
 
class  EmbankmentFeature
 
struct  EncodeNumberTemplated
 
struct  EncodeNumberTemplated< false, N >
 
struct  EncodeNumberTemplated< true, N >
 
class  FastestPathRoutingProfile
 
class  Feature
 
struct  FeatureFilterData
 
class  FeatureLabelReader
 
class  FeatureReader
 
class  FeatureValue
 
class  FeatureValueReader
 
struct  Feet
 
class  FileDownloader
 Downloads a file specified by URL. More...
 
class  FillStyle
 
class  FillStyleProcessor
 
class  FreeTextSearchRunnable
 
class  FromToFeature
 
class  FromToFeatureValue
 
class  GeoBoxPartitioner
 
class  Glyph
 
class  GradeFeature
 
class  GradeFeatureValue
 
class  HTMLWriter
 
class  IconStyle
 
class  Importer
 
class  ImportModule
 
class  ImportProgress
 
class  INameLabelProviderFactory
 
class  IndexedDataFile
 
class  InputHandler
 
class  InstalledMapsModel
 
class  InstalledVoicesModel
 
class  IOException
 
class  IsInFeature
 
class  IsInFeatureValue
 
class  JumpHandler
 
struct  Kilometer
 
class  Label
 
class  LabelData
 
class  LabelInstance
 
class  LabelLayouter
 
class  LabelPath
 
class  LabelProvider
 
class  LabelProviderFactory
 
class  LabelStyle
 
class  LanesFeature
 
class  LanesFeatureValue
 
class  LayerFeature
 
class  LayerFeatureValue
 
class  LineStyle
 
class  Location
 
class  LocationDescriptionService
 
class  LocationEntry
 
class  LocationFeature
 
class  LocationFeatureValue
 
class  LocationIndex
 
class  LocationInfoModel
 
class  LocationListModel
 
class  LocationSearchResult
 
class  LocationService
 
class  LocationVisitor
 
class  LockHandler
 
class  Log
 
class  Logger
 
class  LookupModule
 
class  MagnificationConverter
 
class  MapDirectory
 
class  MapDownloadJob
 
class  MapDownloadsModel
 
class  MapManager
 
class  MapObjectInfoModel
 
class  MapOverlay
 
class  MapPainter
 
class  MapPainterAgg
 
class  MapPainterBatch
 
class  MapPainterBatchQt
 
class  MapPainterCairo
 
class  MapPainterDirectX
 
class  MapPainterGDI
 
class  MapPainterGDIWindow
 
class  MapPainterNoOp
 
class  MapPainterOpenGL
 
class  MapPainterQt
 
class  MapPainterSVG
 
class  MapProvider
 
class  MapRenderer
 
class  MapService
 
class  MapStyleModel
 
class  MapTile
 
class  MapTileCache
 
class  MapView
 
struct  MapViewStruct
 
class  MapWidget
 
class  Mask
 
class  MaxSpeedFeature
 
class  MaxSpeedFeatureValue
 
class  MercatorProjection
 
class  Meter
 
struct  Mile
 
class  MoveAccumulator
 
class  MoveHandler
 
class  MultiDBRoutingState
 
class  MultitouchHandler
 
class  NameAltFeature
 
class  NameAltFeatureValue
 
class  NameFeature
 
class  NameFeatureValue
 
class  NameShortFeature
 
class  NameShortFeatureValue
 
class  Navigation
 
class  NavigationAgent
 
class  NavigationEngine
 
struct  NavigationMessage
 
class  NavigationModel
 
class  NavigationModule
 
class  NearPOIModel
 
class  NetworkFeature
 
class  NetworkFeatureValue
 
class  NodeDataFile
 
class  NodeRegionSearchResult
 
class  NodeRegionSearchResultEntry
 
class  NoOpLogger
 
class  NumericIndex
 
class  NumericIndexGenerator
 
class  ObjectFileRefStreamReader
 
class  ObjectFileRefStreamWriter
 
struct  ObjectKey
 
class  ObjectPool
 
struct  ObjectVariantData
 
class  ObjectVariantDataFile
 
class  OnlineTileProvider
 
class  OnlineTileProviderModel
 
class  OpenGLMapData
 
class  OpenGLTexture
 
class  OperatorFeature
 
class  OperatorFeatureValue
 
class  OptimizeAreasLowZoom
 
class  OptimizeWaysLowZoom
 
class  OSMScoutException
 
class  OSMScoutQt
 
class  OSMScoutQtBuilder
 
class  OSMTile
 
class  OsmTileDownloader
 
class  OSMTileIdBoxConstIterator
 
class  OutputDescription
 
class  OverlayArea
 
class  OverlayNode
 
class  OverlayObject
 
class  OverlayWay
 
class  PageManager
 
class  PageSplitter
 
struct  PartialStyle
 
struct  PartialStyleBase
 
struct  PathIntersection
 
class  PathLabelData
 
class  PathShieldStyle
 
class  PathSymbolStyle
 
class  PathTextStyle
 
class  PersistentCookieJar
 
class  PhoneFeature
 
class  PhoneFeatureValue
 
class  Pipe
 
class  Place
 
class  PlaneMapRenderer
 
class  POI
 
class  POILookupModule
 
class  POIService
 
class  POIVisitor
 
class  PolygonMerger
 
class  PolygonPrimitive
 
class  PostalArea
 
class  PostalCodeFeature
 
class  PostalCodeFeatureValue
 
class  Preprocessor
 
class  PreprocessorCallback
 
class  PreprocessorFactory
 
class  ProcessingQueue
 
class  Producer
 
class  Progress
 
class  Projection
 
class  PTRouteDataFile
 
class  QBreaker
 
class  QmlRoutingProfile
 
class  QmlSettings
 
class  QtRouteData
 
struct  Rectangle
 
class  RectanglePrimitive
 
class  RefFeature
 
class  RefFeatureValue
 
struct  RequestState
 
class  RoundaboutFeature
 
struct  RoutableDBObjects
 
struct  RoutableObjects
 
class  RouteData
 
class  RouteDataFile
 
class  RouteDescription
 
class  RouteDescriptionBuilder
 
class  RouteDescriptionPostprocessor
 
class  RouteNode
 
struct  RoutePoints
 
class  RoutePostprocessor
 
class  Router
 
class  RouteStep
 
class  RoutingListModel
 
class  RoutingProfile
 
class  RoutingProgress
 
class  RoutingService
 
struct  ScanCell
 
class  SearchLocationsRunnable
 
class  SearchModule
 
class  SearchRunnable
 
struct  Segment
 
struct  SegmentGeoBox
 
class  Settings
 
class  ShapeFileVisitor
 
class  ShieldStyle
 
class  ShortestPathRoutingProfile
 
class  SidewayFeature
 
class  SidewayFeatureValue
 
class  SilentTagErrorReporter
 
class  SimpleRoutingService
 
class  SortDataGenerator
 
struct  SpeedVariant
 
class  SRTM
 
class  SRTMData
 
class  StatImportProgress
 
class  StreamLogger
 
class  StringMatcher
 
class  StringMatcherCI
 
class  StringMatcherCIFactory
 
class  StringMatcherFactory
 
class  StringMatcherTransliterate
 
class  StringMatcherTransliterateFactory
 
struct  StringToNumberTemplated
 
struct  StringToNumberTemplated< false, N >
 
struct  StringToNumberTemplated< true, N >
 
class  Style
 
class  StyleAttributeDescriptor
 
class  StyleConfig
 Index selectors by type and level. More...
 
class  StyleConstant
 
class  StyleConstantColor
 
class  StyleConstantMag
 
class  StyleConstantUInt
 
class  StyleConstantWidth
 
class  StyleCriteria
 
class  StyleDescriptor
 
class  StyleEnumAttributeDescriptor
 
class  StyleError
 
class  StyleFilter
 
class  StyleFlagsModel
 
class  StyleModule
 
class  StyleResolveContext
 
struct  StyleSelector
 
class  Symbol
 
class  TagBinaryCondition
 
class  TagBoolCondition
 
class  TagCondition
 
class  TagErrorReporter
 
class  TagExistsCondition
 
class  TagInfo
 
class  TagIsInCondition
 
class  TagNotCondition
 
class  TapRecognizer
 
class  TextLoader
 
class  TextSearchIndex
 
class  TextStyle
 
class  ThreadedBreaker
 
class  ThreadedWorker
 
class  Tile
 
class  TileCache
 
struct  TileCacheKey
 
struct  TileCacheVal
 
class  TileData
 
class  TiledMapOverlay
 
class  TiledMapRenderer
 
class  TiledRenderingHelper
 
class  TileId
 
struct  TileIdHasher
 
class  TileKey
 
class  TileLoaderThread
 
class  TileProjection
 
struct  TransPoint
 
class  Triangulate
 
class  TunnelFeature
 
class  TypeDistributionDataFile
 
class  UninitializedException
 
class  VehicleFollowHandler
 
class  VehiclePosition
 
class  Voice
 
class  VoiceDownloadJob
 
class  VoiceManager
 
class  VoiceProvider
 
class  WaterIndex
 
class  WayDataFile
 
class  WayRegionSearchResult
 
class  WayRegionSearchResultEntry
 
class  WebsiteFeature
 
class  WebsiteFeatureValue
 
class  WidthFeature
 
class  WidthFeatureValue
 
class  WorkQueue
 
struct  Yard
 
class  ZoomGestureHandler
 

Typedefs

using AreaRef = std::shared_ptr< Area >
 
using AreaAreaIndexRef = std::shared_ptr< AreaAreaIndex >
 
using AreaDataFileRef = std::shared_ptr< AreaDataFile >
 
using AreaNodeIndexRef = std::shared_ptr< AreaNodeIndex >
 
using AreaRouteIndexRef = std::shared_ptr< AreaRouteIndex >
 
using AreaWayIndexRef = std::shared_ptr< AreaWayIndex >
 
using BasemapDatabaseRef = std::shared_ptr< BasemapDatabase >
 Reference counted reference to an Database instance. More...
 
using BoundingBoxDataFileRef = std::shared_ptr< BoundingBoxDataFile >
 
using CoverageIndexRef = std::shared_ptr< CoverageIndex >
 
using DatabaseRef = std::shared_ptr< Database >
 Reference counted reference to an Database instance. More...
 
using AccessRestrictedFeatureReader = FeatureReader< AccessRestrictedFeature >
 
using BridgeFeatureReader = FeatureReader< BridgeFeature >
 
using TunnelFeatureReader = FeatureReader< TunnelFeature >
 
using EmbankmentFeatureReader = FeatureReader< EmbankmentFeature >
 
using RoundaboutFeatureReader = FeatureReader< RoundaboutFeature >
 
using NameFeatureValueReader = FeatureValueReader< NameFeature, NameFeatureValue >
 
using NameAltFeatureValueReader = FeatureValueReader< NameAltFeature, NameAltFeatureValue >
 
using NameShortFeatureValueReader = FeatureValueReader< NameShortFeature, NameShortFeatureValue >
 
using RefFeatureValueReader = FeatureValueReader< RefFeature, RefFeatureValue >
 
using LocationFeatureValueReader = FeatureValueReader< LocationFeature, LocationFeatureValue >
 
using AddressFeatureValueReader = FeatureValueReader< AddressFeature, AddressFeatureValue >
 
using AccessFeatureValueReader = FeatureValueReader< AccessFeature, AccessFeatureValue >
 
using AccessRestrictedFeatureValueReader = FeatureValueReader< AccessRestrictedFeature, AccessRestrictedFeatureValue >
 
using LayerFeatureValueReader = FeatureValueReader< LayerFeature, LayerFeatureValue >
 
using WidthFeatureValueReader = FeatureValueReader< WidthFeature, WidthFeatureValue >
 
using MaxSpeedFeatureValueReader = FeatureValueReader< MaxSpeedFeature, MaxSpeedFeatureValue >
 
using GradeFeatureValueReader = FeatureValueReader< GradeFeature, GradeFeatureValue >
 
using AdminLevelFeatureValueReader = FeatureValueReader< AdminLevelFeature, AdminLevelFeatureValue >
 
using PostalCodeFeatureValueReader = FeatureValueReader< PostalCodeFeature, PostalCodeFeatureValue >
 
using IsInFeatureValueReader = FeatureValueReader< IsInFeature, IsInFeatureValue >
 
using DestinationFeatureValueReader = FeatureValueReader< DestinationFeature, DestinationFeatureValue >
 
using ConstructionYearFeatureValueReader = FeatureValueReader< ConstructionYearFeature, ConstructionYearFeatureValue >
 
using LanesFeatureValueReader = FeatureValueReader< LanesFeature, LanesFeatureValue >
 
using EleFeatureValueReader = FeatureValueReader< EleFeature, EleFeatureValue >
 
using OperatorFeatureValueReader = FeatureValueReader< OperatorFeature, OperatorFeatureValue >
 
using NetworkFeatureValueReader = FeatureValueReader< NetworkFeature, NetworkFeatureValue >
 
using FromToFeatureValueReader = FeatureValueReader< FromToFeature, FromToFeatureValue >
 
using ColorFeatureValueReader = FeatureValueReader< ColorFeature, ColorFeatureValue >
 
using NameFeatureLabelReader = FeatureLabelReader< NameFeature, NameFeatureValue >
 
using RefFeatureLabelReader = FeatureLabelReader< RefFeature, RefFeatureValue >
 
using JunctionRef = std::shared_ptr< Intersection >
 
using PostalAreaRef = std::shared_ptr< PostalArea >
 
using AdminRegionRef = std::shared_ptr< AdminRegion >
 
using POIRef = std::shared_ptr< POI >
 
using LocationRef = std::shared_ptr< Location >
 
using AddressRef = std::shared_ptr< Address >
 
using LocationCoordDescriptionRef = std::shared_ptr< LocationCoordDescription >
 
using LocationAtPlaceDescriptionRef = std::shared_ptr< LocationAtPlaceDescription >
 
using LocationWayDescriptionRef = std::shared_ptr< LocationWayDescription >
 
using LocationCrossingDescriptionRef = std::shared_ptr< LocationCrossingDescription >
 
using LocationDescriptionServiceRef = std::shared_ptr< LocationDescriptionService >
 
using LocationIndexRef = std::shared_ptr< LocationIndex >
 
using LocationServiceRef = std::shared_ptr< LocationService >
 
using RoutableObjectsRef = std::shared_ptr< RoutableObjects >
 
using RoutableObjectsMessageRef = std::shared_ptr< RoutableObjectsMessage >
 
using NavigationMessageRef = std::shared_ptr< NavigationMessage >
 
using NavigationAgentRef = std::shared_ptr< NavigationAgent >
 
using NodeRef = std::shared_ptr< Node >
 
using NodeDataFileRef = std::shared_ptr< NodeDataFile >
 
using OptimizeAreasLowZoomRef = std::shared_ptr< OptimizeAreasLowZoom >
 
using OptimizeWaysLowZoomRef = std::shared_ptr< OptimizeWaysLowZoom >
 
using OSMId = int64_t
 
using Id = uint64_t
 
using PageId = uint64_t
 
using FileOffset = uint64_t
 
using TypeId = uint16_t
 
using VehicleMask = uint8_t
 
using POIServiceRef = std::shared_ptr< POIService >
 
using PTRouteDataFileRef = std::shared_ptr< PTRouteDataFile >
 
using PTRouteRef = std::shared_ptr< PTRoute >
 
using RouteRef = std::shared_ptr< Route >
 
using RouteDataFileRef = std::shared_ptr< RouteDataFile >
 
using RoutePointsRef = std::shared_ptr< RoutePoints >
 
using DatabaseId = uint32_t
 
using MultiDBRoutingServiceRef = std::shared_ptr< MultiDBRoutingService >
 
using RouteDescriptionRef = std::shared_ptr< RouteDescription >
 
using RouteNodeRef = std::shared_ptr< RouteNode >
 
using RoutingDatabaseRef = std::shared_ptr< RoutingDatabase >
 
using RoutingProfileRef = std::shared_ptr< RoutingProfile >
 
using ShortestPathRoutingProfileRef = std::shared_ptr< ShortestPathRoutingProfile >
 
using FastestPathRoutingProfileRef = std::shared_ptr< FastestPathRoutingProfile >
 
using RoutingProgressRef = std::shared_ptr< RoutingProgress >
 
using SimpleRoutingServiceRef = std::shared_ptr< SimpleRoutingService >
 
using TurnRestrictionRef = std::shared_ptr< TurnRestriction >
 
using SRTMDataRef = std::shared_ptr< SRTMData >
 
using SRTMRef = std::shared_ptr< SRTM >
 
using TagId = uint16_t
 
using TagMap = std::unordered_map< TagId, std::string >
 
using TagConditionRef = std::shared_ptr< TagCondition >
 
using TagBoolConditionRef = std::shared_ptr< TagBoolCondition >
 
using TagIsInConditionRef = std::shared_ptr< TagIsInCondition >
 
using TypeInfoRef = std::shared_ptr< TypeInfo >
 
using FeatureValueBufferRef = std::shared_ptr< FeatureValueBuffer >
 
using TypeConfigRef = std::shared_ptr< TypeConfig >
 
using TypeDistributionDataFileRef = std::shared_ptr< TypeDistributionDataFile >
 
using FeatureRef = std::shared_ptr< Feature >
 
using BreakerRef = std::shared_ptr< Breaker >
 
using CmdLineArgParserRef = std::shared_ptr< CmdLineArgParser >
 
using DistanceUnitPtr = std::shared_ptr< DistanceUnit >
 
using StringMatcherRef = std::shared_ptr< StringMatcher >
 
using StringMatcherFactoryRef = std::shared_ptr< StringMatcherFactory >
 
using Timestamp = std::chrono::system_clock::time_point
 
using Duration = Timestamp::duration
 
using HourDuration = std::chrono::duration< double, std::ratio< 3600 > >
 
using WaterIndexRef = std::shared_ptr< WaterIndex >
 
using WayRef = std::shared_ptr< Way >
 
using WayDataFileRef = std::shared_ptr< WayDataFile >
 
typedef std::shared_ptr< ImportErrorReporter > ImportErrorReporterRef
 
using ImportModuleRef = std::shared_ptr< ImportModule >
 
using PreprocessorFactoryRef = std::shared_ptr< PreprocessorFactory >
 
using RawCoastlineRef = std::shared_ptr< RawCoastline >
 
using RawCoordRef = std::shared_ptr< RawCoord >
 
typedef std::shared_ptr< RawNode > RawNodeRef
 
using RawRelationRef = std::shared_ptr< RawRelation >
 
using RawWayRef = std::shared_ptr< RawWay >
 
using TileNodeData = TileData< NodeRef >
 
using TileWayData = TileData< WayRef >
 
using TileAreaData = TileData< AreaRef >
 
using TileRouteData = TileData< RouteRef >
 
using TileRef = std::shared_ptr< Tile >
 
using TiledDataCacheRef = std::shared_ptr< DataTileCache >
 
using IntRectangle = Rectangle< int >
 
using DoubleRectangle = Rectangle< double >
 
using LabelProviderRef = std::shared_ptr< LabelProvider >
 
using LabelProviderFactoryRef = std::shared_ptr< LabelProviderFactory >
 
using MapDataRef = std::shared_ptr< MapData >
 
using MapServiceRef = std::shared_ptr< MapService >
 
typedef std::shared_ptr< MapTileMapTileRef
 
using ColorPostprocessor = osmscout::Color(*)(const osmscout::Color &)
 
using StyleConstantRef = std::shared_ptr< StyleConstant >
 
using SizeConditionRef = std::shared_ptr< SizeCondition >
 
using LinePartialStyle = PartialStyle< LineStyle, LineStyle::Attribute >
 
using LineConditionalStyle = ConditionalStyle< LineStyle, LineStyle::Attribute >
 
using LineStyleSelector = StyleSelector< LineStyle, LineStyle::Attribute >
 
using LineStyleSelectorList = std::list< LineStyleSelector >
 
using LineStyleLookupTable = std::vector< std::vector< LineStyleSelectorList > >
 List of selectors. More...
 
using FillPartialStyle = PartialStyle< FillStyle, FillStyle::Attribute >
 Index selectors by type and level. More...
 
using FillConditionalStyle = ConditionalStyle< FillStyle, FillStyle::Attribute >
 
using FillStyleSelector = StyleSelector< FillStyle, FillStyle::Attribute >
 
using FillStyleSelectorList = std::list< FillStyleSelector >
 
using FillStyleLookupTable = std::vector< std::vector< FillStyleSelectorList > >
 List of selectors. More...
 
using BorderPartialStyle = PartialStyle< BorderStyle, BorderStyle::Attribute >
 Index selectors by type and level. More...
 
using BorderConditionalStyle = ConditionalStyle< BorderStyle, BorderStyle::Attribute >
 
using BorderStyleSelector = StyleSelector< BorderStyle, BorderStyle::Attribute >
 
using BorderStyleSelectorList = std::list< BorderStyleSelector >
 
using BorderStyleLookupTable = std::vector< std::vector< BorderStyleSelectorList > >
 List of selectors. More...
 
using TextPartialStyle = PartialStyle< TextStyle, TextStyle::Attribute >
 Index selectors by type and level. More...
 
using TextConditionalStyle = ConditionalStyle< TextStyle, TextStyle::Attribute >
 
using TextStyleSelector = StyleSelector< TextStyle, TextStyle::Attribute >
 
using TextStyleSelectorList = std::list< TextStyleSelector >
 
using TextStyleLookupTable = std::vector< std::vector< TextStyleSelectorList > >
 List of selectors. More...
 
using ShieldPartialStyle = PartialStyle< ShieldStyle, ShieldStyle::Attribute >
 Index selectors by type and level. More...
 
using ShieldConditionalStyle = ConditionalStyle< ShieldStyle, ShieldStyle::Attribute >
 
using ShieldStyleSelector = StyleSelector< ShieldStyle, ShieldStyle::Attribute >
 
using ShieldStyleSelectorList = std::list< ShieldStyleSelector >
 
using ShieldStyleLookupTable = std::vector< std::vector< ShieldStyleSelectorList > >
 List of selectors. More...
 
using PathShieldPartialStyle = PartialStyle< PathShieldStyle, PathShieldStyle::Attribute >
 Index selectors by type and level. More...
 
using PathShieldConditionalStyle = ConditionalStyle< PathShieldStyle, PathShieldStyle::Attribute >
 
using PathShieldStyleSelector = StyleSelector< PathShieldStyle, PathShieldStyle::Attribute >
 
using PathShieldStyleSelectorList = std::list< PathShieldStyleSelector >
 
using PathShieldStyleLookupTable = std::vector< std::vector< PathShieldStyleSelectorList > >
 List of selectors. More...
 
using PathTextPartialStyle = PartialStyle< PathTextStyle, PathTextStyle::Attribute >
 Index selectors by type and level. More...
 
using PathTextConditionalStyle = ConditionalStyle< PathTextStyle, PathTextStyle::Attribute >
 
using PathTextStyleSelector = StyleSelector< PathTextStyle, PathTextStyle::Attribute >
 
using PathTextStyleSelectorList = std::list< PathTextStyleSelector >
 
using PathTextStyleLookupTable = std::vector< std::vector< PathTextStyleSelectorList > >
 List of selectors. More...
 
using IconPartialStyle = PartialStyle< IconStyle, IconStyle::Attribute >
 Index selectors by type and level. More...
 
using IconConditionalStyle = ConditionalStyle< IconStyle, IconStyle::Attribute >
 
using IconStyleSelector = StyleSelector< IconStyle, IconStyle::Attribute >
 
using IconStyleSelectorList = std::list< IconStyleSelector >
 
using IconStyleLookupTable = std::vector< std::vector< IconStyleSelectorList > >
 List of selectors. More...
 
using PathSymbolPartialStyle = PartialStyle< PathSymbolStyle, PathSymbolStyle::Attribute >
 Index selectors by type and level. More...
 
using PathSymbolConditionalStyle = ConditionalStyle< PathSymbolStyle, PathSymbolStyle::Attribute >
 
using PathSymbolStyleSelector = StyleSelector< PathSymbolStyle, PathSymbolStyle::Attribute >
 
using PathSymbolStyleSelectorList = std::list< PathSymbolStyleSelector >
 
using PathSymbolStyleLookupTable = std::vector< std::vector< PathSymbolStyleSelectorList > >
 List of selectors. More...
 
using StyleConfigRef = std::shared_ptr< StyleConfig >
 
using SymbolRef = std::shared_ptr< Symbol >
 
using StyleAttributeDescriptorRef = std::shared_ptr< StyleAttributeDescriptor >
 
using StyleDescriptorRef = std::shared_ptr< StyleDescriptor >
 
using FillStyleProcessorRef = std::shared_ptr< FillStyleProcessor >
 
using LineStyleRef = std::shared_ptr< LineStyle >
 
using FillStyleRef = std::shared_ptr< FillStyle >
 
using BorderStyleRef = std::shared_ptr< BorderStyle >
 
using LabelStyleRef = std::shared_ptr< LabelStyle >
 
using TextStyleRef = std::shared_ptr< TextStyle >
 
using ShieldStyleRef = std::shared_ptr< ShieldStyle >
 
using PathShieldStyleRef = std::shared_ptr< PathShieldStyle >
 
using PathTextStyleRef = std::shared_ptr< PathTextStyle >
 
using IconStyleRef = std::shared_ptr< IconStyle >
 
using DrawPrimitiveRef = std::shared_ptr< DrawPrimitive >
 
using PolygonPrimitiveRef = std::shared_ptr< PolygonPrimitive >
 
using RectanglePrimitiveRef = std::shared_ptr< RectanglePrimitive >
 
using CirclePrimitiveRef = std::shared_ptr< CirclePrimitive >
 
using PathSymbolStyleRef = std::shared_ptr< PathSymbolStyle >
 
typedef std::shared_ptr< OpenGLTextureOpenGLTextureRef
 
typedef std::shared_ptr< CharacterTextureCharacterTextureRef
 
using QtGlyph = Glyph< QGlyphRun >
 
using QtLabel = Label< QGlyphRun, QTextLayout >
 
using QtLabelInstance = LabelInstance< QGlyphRun, QTextLayout >
 
using DBInstanceRef = std::shared_ptr< DBInstance >
 
using DBThreadRef = std::shared_ptr< DBThread >
 
using LocationEntryRef = std::shared_ptr< LocationEntry >
 
typedef std::shared_ptr< AdminRegionInfoAdminRegionInfoRef
 
typedef std::shared_ptr< LookupModuleLookupModuleRef
 
using MapManagerRef = std::shared_ptr< MapManager >
 
using MapRendererRef = std::shared_ptr< MapRenderer >
 
using OSMScoutQtBuilderRef = std::shared_ptr< OSMScoutQtBuilder >
 
using OverlayObjectRef = std::shared_ptr< OverlayObject >
 
using QmlRoutingProfileRef = std::shared_ptr< QmlRoutingProfile >
 
using SettingsRef = std::shared_ptr< Settings >
 
using StyleModuleRef = std::shared_ptr< StyleModule >
 
using VoiceManagerRef = std::shared_ptr< VoiceManager >
 

Enumerations

enum  OSMRefType { osmRefNone = 0, osmRefNode = 1, osmRefWay = 2, osmRefRelation = 3 }
 
enum  RefType { refNone = 0, refNode = 1, refArea = 2, refWay = 3 }
 
enum  Vehicle : uint8_t { vehicleFoot = 1u << 1u, vehicleBicycle = 1u << 2u, vehicleCar = 1u << 3u }
 
enum  Grade : uint8_t {
  SolidGrade = 1, GravelGrade = 2, UnpavedGrade = 3, MostlySoftGrade = 4,
  SoftGrade = 5
}
 
enum  DistanceUnitSystem { DistanceUnitSystem::Metrics, DistanceUnitSystem::Imperial }
 
enum  BinaryOperator {
  operatorLess, operatorLessEqual, operatorEqual, operatorGreaterEqual,
  operatorGreater, operatorNotEqual
}
 
enum  RenderSteps : size_t {
  FirstStep = 0, Initialize = 0, DumpStatistics = 1, PreprocessData = 2,
  Prerender = 3, DrawBaseMapTiles = 4, DrawGroundTiles = 5, DrawOSMTileGrids = 6,
  DrawAreas = 7, DrawWays = 8, DrawWayDecorations = 9, DrawWayContourLabels = 10,
  PrepareAreaLabels = 11, DrawAreaBorderLabels = 12, DrawAreaBorderSymbols = 13, PrepareNodeLabels = 14,
  PrepareRouteLabels = 15, DrawContourLines = 16, DrawHillShading = 17, DrawLabels = 18,
  Postrender = 19, LastStep = 19
}
 
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
}
 
enum  OffsetRel : int {
  OffsetRel::base, OffsetRel::leftOutline, OffsetRel::rightOutline, OffsetRel::laneDivider,
  OffsetRel::laneForwardLeft, OffsetRel::laneForwardThroughLeft, OffsetRel::laneForwardThrough, OffsetRel::laneForwardThroughRight,
  OffsetRel::laneForwardRight, OffsetRel::laneBackwardLeft, OffsetRel::laneBackwardThroughLeft, OffsetRel::laneBackwardThrough,
  OffsetRel::laneBackwardThroughRight, OffsetRel::laneBackwardRight, OffsetRel::sidecar
}
 
enum  DatabaseCoverage { Outside = 0, Covered = 1, Intersects = 2 }
 
enum  RenderingType { PlaneRendering = 0, TiledRendering = 1 }
 

Functions

std::ostream & operator<< (std::ostream &stream, const DBId &o)
 
std::ostream & operator<< (std::ostream &stream, const DBFileOffset &o)
 
 _PS_CONST (1)
 
 _PS_CONST (2)
 
 _PS_CONST (0_5)
 
 _PS_CONST (2OPI)
 
 _PS_CONST (PIO2)
 
 _PS_CONST (LOG_C_2)
 
 _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)
 
 _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)
 
v2df sin_pd (v2df x)
 
v2df dangerous_sin_pd (v2df x)
 
double sin_pd (double x)
 
double dangerous_sin_pd (double x)
 
void sin_pd (double x, double y, double &res_x, double &res_y)
 
void dangerous_sin_pd (double x, double y, double &res_x, double &res_y)
 
void sin_cos_pd (double x, double &res_sin, double &res_cos)
 
v2df cos_pd (v2df x)
 
double cos_pd (double x)
 
double cos_pd (double x, double y, double &res_x, double &res_y)
 
v2df log_pd (v2df x)
 
double log_pd (double x)
 
double log_pd (double x, double y, double &res_x, double &res_y)
 
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)
 
void sincos (double x, double &resSin, double &resCos)
 
static std::string Base64Encode (const std::vector< char > &in)
 
static std::vector< char > Base64Decode (const std::string &in)
 
template<class ... Args>
CmdLineArgParserRef CmdLineFlag (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineAlternativeFlag (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineBoolOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineStringOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineStringListOption (Args &&...args)
 
template<class T , class ... Args>
CmdLineArgParserRef CmdLineNumberOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineIntOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineUIntOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineLongOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineULongOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineSizeTOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineDoubleOption (Args &&...args)
 
template<class ... Args>
CmdLineArgParserRef CmdLineGeoCoordOption (Args &&...args)
 
OSMSCOUT_API bool ParseBoolArgument (int argc, char *argv[], int &currentIndex, bool &value)
 
OSMSCOUT_API bool ParseStringArgument (int argc, char *argv[], int &currentIndex, std::string &value)
 
OSMSCOUT_API bool ParseSizeTArgument (int argc, char *argv[], int &currentIndex, size_t &value)
 
OSMSCOUT_API bool ParseUInt32Argument (int argc, char *argv[], int &currentIndex, uint32_t &value)
 
std::ostream & operator<< (std::ostream &os, const Distance &distance)
 
Distance Meters (double m)
 
Distance Kilometers (double km)
 
OSMSCOUT_API FileOffset GetFileSize (const std::string &filename)
 
OSMSCOUT_API bool RemoveFile (const std::string &filename)
 
OSMSCOUT_API bool RenameFile (const std::string &oldFilename, const std::string &newFilename)
 
OSMSCOUT_API std::string AppendFileToDir (const std::string &dir, const std::string &file)
 
OSMSCOUT_API uint8_t BytesNeededToAddressFileData (const std::string &filename)
 
OSMSCOUT_API bool ExistsInFilesystem (const std::string &filename)
 
OSMSCOUT_API bool IsDirectory (const std::string &filename)
 
OSMSCOUT_API bool ReadFile (const std::string &filename, std::vector< char > &content)
 
OSMSCOUT_API bool IsValidToWrite (const std::vector< Point > &nodes)
 
double DegToRad (double deg)
 
double RadToDeg (double rad)
 
double AngleDiff (double a, double b)
 
template<typename N >
void GetBoundingBox (const std::vector< N > &nodes, double &minLon, double &maxLon, double &minLat, double &maxLat)
 
template<class InputIt >
void GetBoundingBox (const InputIt first, const InputIt last, GeoBox &boundingBox)
 
template<typename N >
void GetBoundingBox (const std::vector< N > &nodes, GeoBox &boundingBox)
 
template<typename N >
bool LinesIntersect (const N &a1, const N &a2, const N &b1, const N &b2)
 
template<typename N , typename I >
bool GetLineIntersection (const N &a1, const N &a2, const N &b1, const N &b2, I &intersection)
 
template<typename N >
bool GetLineIntersectionPixel (const N &a1, const N &a2, const N &b1, const N &b2, N &intersection)
 
template<typename N >
double DistanceSquare (const N &a, const N &b)
 
template<typename N , typename M >
bool IsCoordInArea (const N &point, const std::vector< M > &nodes)
 
template<typename N , typename M >
int GetRelationOfPointToArea (const N &point, const std::vector< M > &nodes)
 
template<typename N , typename M >
bool IsAreaCompletelyInArea (const std::vector< N > &a, const std::vector< M > &b)
 
template<typename N , typename M >
bool IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b, const GeoBox &aBox, const GeoBox &bBox)
 
template<typename N , typename M >
bool IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b)
 
template<typename N , typename M >
bool IsAreaSubOfArea (const std::vector< N > &a, const std::vector< M > &b)
 
template<typename N , typename M >
bool IsAreaSubOfAreaQuorum (const std::vector< N > &a, const std::vector< M > &b)
 
template<typename N , typename M >
bool IsAreaSubOfAreaOrSame (const std::vector< N > &a, const std::vector< M > &b)
 
template<typename N >
bool AreaIsSimple (std::vector< N > points)
 
template<typename N >
bool AreaIsSimple (const std::vector< std::pair< N, N > > &edges, const std::vector< bool > &edgeStartsNewPoly)
 
template<typename N >
bool AreaIsCCW (const std::vector< N > &edges)
 
template<typename N >
bool AreaIsValid (std::vector< N > &outerPoints, std::vector< std::vector< N > > &innerPoints)
 
void Normalize (double x, double y, double &nx, double &ny)
 
double Det (double x1, double y1, double x2, double y2)
 
OSMSCOUT_API size_t Pow (size_t a, size_t b)
 
template<typename N >
bool AreaIsClockwise (const std::vector< N > &edges)
 
template<typename N >
double CalculateDistancePointToLineSegment (const N &p, const N &a, const N &b)
 
OSMSCOUT_API double CalculateDistancePointToLineSegment (const GeoCoord &p, const GeoCoord &a, const GeoCoord &b, GeoCoord &intersection)
 
OSMSCOUT_API Distance GetSphericalDistance (const GeoCoord &a, const GeoCoord &b)
 
OSMSCOUT_API Distance GetEllipsoidalDistance (double aLon, double aLat, double bLon, double bLat)
 
OSMSCOUT_API Distance GetEllipsoidalDistance (const GeoCoord &a, const GeoCoord &b)
 
OSMSCOUT_API void GetEllipsoidalDistance (double lat1, double lon1, const Bearing &bearing, const Distance &distance, double &lat2, double &lon2)
 
OSMSCOUT_API GeoCoord GetEllipsoidalDistance (const GeoCoord &position, const Bearing &bearing, const Distance &distance)
 
OSMSCOUT_API Bearing GetSphericalBearingInitial (const GeoCoord &a, const GeoCoord &b)
 
OSMSCOUT_API Bearing GetSphericalBearingFinal (const GeoCoord &a, const GeoCoord &b)
 
OSMSCOUT_API double GetDistanceInLonDegrees (const Distance &d, double latitude=0)
 
OSMSCOUT_API double NormalizeRelativeAngle (double angle)
 
void OSMSCOUT_API ScanConvertLine (int x1, int y1, int x2, int y2, std::vector< ScanCell > &cells)
 
OSMSCOUT_API double DistanceToSegment (double px, double py, double p1x, double p1y, double p2x, double p2y, double &r, double &qx, double &qy)
 
OSMSCOUT_API double DistanceToSegment (const GeoCoord &point, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, double &r, GeoCoord &intersection)
 
OSMSCOUT_API double DistanceToSegment (const std::vector< Point > &points, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, GeoCoord &location, GeoCoord &intersection)
 
OSMSCOUT_API double DistanceToSegment (const GeoBox &boundingBox, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, GeoCoord &location, GeoCoord &intersection)
 
template<typename N >
void GetSegmentBoundingBox (const std::vector< N > &path, size_t from, size_t to, GeoBox &boundingBox)
 
template<typename N >
void ComputeSegmentBoxes (const std::vector< N > &path, std::vector< SegmentGeoBox > &segmentBoxes, size_t bound, size_t segmentSize=1000)
 
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)
 
template<typename N >
bool FindIntersection (const std::vector< N > &way, size_t &i, size_t &j)
 
std::ostream & operator<< (std::ostream &os, const MagnificationLevel &level)
 
std::string operator+ (const char *text, const MagnificationLevel &level)
 
std::string operator+ (const std::string &text, const MagnificationLevel &level)
 
template<typename N >
unsigned int EncodeNumberSigned (N number, char *buffer)
 
template<typename N >
unsigned int EncodeNumberUnsigned (N number, char *buffer)
 
template<typename N >
unsigned int EncodeNumber (N number, char *buffer)
 
template<typename N , size_t S>
unsigned int EncodeNumber (N number, std::array< char, S > &buffer)
 
template<typename N >
unsigned int DecodeNumberSigned (const char *buffer, N &number)
 
template<typename N >
unsigned int DecodeNumberUnsigned (const char *buffer, N &number)
 
template<typename N >
unsigned int DecodeNumber (const char *buffer, N &number)
 
template<typename N >
BitsToBytes (N bits)
 
template<typename N >
uint8_t BytesNeededToEncodeNumber (N number)
 
template<typename N >
uint8_t BitsNeededToEncodeNumber (N number)
 
OSMSCOUT_API uint64_t InterleaveNumbers (uint32_t a, uint32_t b)
 
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 StringToBool (const char *string, bool &value)
 
OSMSCOUT_API const char * BoolToString (bool value)
 
OSMSCOUT_API std::string NumberToString (long value, const Locale &locale)
 
OSMSCOUT_API bool GetDigitValue (char digit, size_t &result)
 
template<typename N >
size_t NumberDigits (const N &number, size_t base=10)
 
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)
 
template<typename N >
bool StringToNumber (const std::string &string, N &number, size_t base=10)
 
OSMSCOUT_API bool StringToNumber (const char *string, double &value)
 
OSMSCOUT_API bool StringToNumber (const std::string &string, double &value)
 
OSMSCOUT_API size_t CountWords (const std::string &text)
 
OSMSCOUT_API std::list< std::string > SplitStringAtSpace (const std::string &input)
 
OSMSCOUT_API std::list< std::string > SplitString (const std::string &stringList, const std::string &separator, int maxSize=-1)
 
OSMSCOUT_API std::string GetFirstInStringList (const std::string &stringList, const std::string &divider)
 
OSMSCOUT_API void TokenizeString (const std::string &input, std::list< std::string > &tokens)
 
OSMSCOUT_API void SimplifyTokenList (std::list< std::string > &tokens)
 
OSMSCOUT_API std::string GetTokensFromStart (const std::list< std::string > &tokens, size_t count)
 
OSMSCOUT_API std::string GetTokensFromEnd (const std::list< std::string > &tokens, size_t count)
 
OSMSCOUT_API void GroupStringListToStrings (std::list< std::string >::const_iterator token, size_t listSize, size_t parts, std::list< std::list< std::string > > &lists)
 
OSMSCOUT_API std::string ByteSizeToString (FileOffset size)
 
OSMSCOUT_API std::string ByteSizeToString (double size)
 
OSMSCOUT_API std::wstring LocaleStringToWString (const std::string &text)
 
OSMSCOUT_API std::string WStringToLocaleString (const std::wstring &text)
 
OSMSCOUT_API std::wstring UTF8StringToWString (const std::string &text)
 
OSMSCOUT_API std::u32string UTF8StringToU32String (const std::string &text)
 
OSMSCOUT_API std::string WStringToUTF8String (const std::wstring &text)
 
OSMSCOUT_API std::string LocaleStringToUTF8String (const std::string &text)
 
OSMSCOUT_API std::string UTF8StringToLocaleString (const std::string &text)
 
OSMSCOUT_API std::string UTF8StringToUpper (const std::string &text)
 
OSMSCOUT_API std::string UTF8StringToLower (const std::string &text)
 
OSMSCOUT_API std::string UTF8NormForLookup (const std::string &text)
 
OSMSCOUT_API std::string UTF8Transliterate (const std::string &text)
 
OSMSCOUT_API bool ParseISO8601TimeString (const std::string &timeStr, Timestamp &timestamp)
 
OSMSCOUT_API std::string TimestampToISO8601TimeString (const Timestamp &timestamp)
 
OSMSCOUT_API std::string DurationString (const Duration &duration)
 
double DurationAsSeconds (Duration duration)
 
double DurationAsHours (Duration duration)
 
Duration DurationOfHours (double hours)
 
OSMSCOUT_API void OptimizeArea (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint)
 
OSMSCOUT_API void OptimizeWay (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint)
 
template<typename C >
void TransformArea (const C &nodes, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint)
 
template<typename C >
void TransformWay (const C &nodes, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint)
 
OSMSCOUT_API void TransformBoundingBox (const GeoBox &boundingBox, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint)
 
OSMSCOUT_API CoordBufferRange CopyPolygonToCoordBuffer (const TransBuffer &transBuffer, CoordBuffer &coordBuffer)
 
template<typename C >
CoordBufferRange TransformArea (const C &nodes, TransBuffer &transBuffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance)
 
template<typename C >
CoordBufferRange TransformWay (const C &nodes, TransBuffer &transBuffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance)
 
OSMSCOUT_API CoordBufferRange TransformBoundingBox (const GeoBox &boundingBox, TransBuffer &buffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance)
 
template<typename InputIterator >
void WriteGpx (InputIterator begin, InputIterator end, const std::string &name)
 
void WriteGpx (const std::vector< Point > &path, const std::string &name)
 
template<class NativeGlyph , class NativeLabel >
static bool LabelInstanceSorter (const LabelInstance< NativeGlyph, NativeLabel > &a, const LabelInstance< NativeGlyph, NativeLabel > &b)
 
template<class NativeGlyph >
static bool ContourLabelSorter (const ContourLabel< NativeGlyph > &a, const ContourLabel< NativeGlyph > &b)
 
OSMSCOUT_MAP_CAIRO_API cairo_surface_t * LoadPNG (const std::string &filename)
 
OSMSCOUT_MAP_OPENGL_API osmscout::OpenGLTextureRef LoadPNGOpenGL (const std::string &filename)
 
bool operator!= (const MapViewStruct &r1, const MapViewStruct &r2)
 
bool operator== (const MapView &a, const MapView &b)
 
bool operator!= (const MapView &a, const MapView &b)
 
bool operator== (const TileCacheKey &a, const TileCacheKey &b)
 
bool operator< (const TileCacheKey &a, const TileCacheKey &b)
 
uint qHash (const TileCacheKey &key)
 
QDebug & operator<< (QDebug &out, const TileCacheKey &key)
 

Variables

OSMSCOUT_API const double lonConversionFactor
 
OSMSCOUT_API const double latConversionFactor
 
constexpr uint32_t maxRawCoordValue = 0x7FFFFFF
 
const size_t coordByteSize =7
 
static const TagId tagIgnore = 0
 
static const TypeId typeIgnore = 0
 
static const uint32_t FILE_FORMAT_VERSION =22
 
constexpr const char * Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
 
const size_t CELL_DIMENSION_MAX = 25
 
const size_t CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1
 
OSMSCOUT_API const std::array< CellDimension, CELL_DIMENSION_COUNTcellDimension
 
OSMSCOUT_API Log log
 
static const double GRAD_TO_RAD = 2 * M_PI / 360
 

Detailed Description

Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license

Original source: http://code.qt.io/cgit/qt/qt.git/tree/tools/qml/qmlruntime.cpp?h=4.7#n438

Typedef Documentation

◆ AccessFeatureValueReader

◆ AccessRestrictedFeatureReader

◆ AccessRestrictedFeatureValueReader

◆ AddressFeatureValueReader

◆ AddressRef

using osmscout::AddressRef = typedef std::shared_ptr<Address>

◆ AdminLevelFeatureValueReader

◆ AdminRegionInfoRef

◆ AdminRegionRef

using osmscout::AdminRegionRef = typedef std::shared_ptr<AdminRegion>

◆ AreaAreaIndexRef

using osmscout::AreaAreaIndexRef = typedef std::shared_ptr<AreaAreaIndex>

◆ AreaDataFileRef

using osmscout::AreaDataFileRef = typedef std::shared_ptr<AreaDataFile>

◆ AreaNodeIndexRef

using osmscout::AreaNodeIndexRef = typedef std::shared_ptr<AreaNodeIndex>

◆ AreaRef

using osmscout::AreaRef = typedef std::shared_ptr<Area>

◆ AreaRouteIndexRef

using osmscout::AreaRouteIndexRef = typedef std::shared_ptr<AreaRouteIndex>

◆ AreaWayIndexRef

using osmscout::AreaWayIndexRef = typedef std::shared_ptr<AreaWayIndex>

◆ BasemapDatabaseRef

using osmscout::BasemapDatabaseRef = typedef std::shared_ptr<BasemapDatabase>

Reference counted reference to an Database instance.

◆ BorderConditionalStyle

◆ BorderPartialStyle

Index selectors by type and level.

◆ BorderStyleLookupTable

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

List of selectors.

◆ BorderStyleRef

using osmscout::BorderStyleRef = typedef std::shared_ptr<BorderStyle>

◆ BorderStyleSelector

◆ BorderStyleSelectorList

◆ BoundingBoxDataFileRef

using osmscout::BoundingBoxDataFileRef = typedef std::shared_ptr<BoundingBoxDataFile>

◆ BreakerRef

using osmscout::BreakerRef = typedef std::shared_ptr<Breaker>

◆ BridgeFeatureReader

◆ CharacterTextureRef

◆ CirclePrimitiveRef

using osmscout::CirclePrimitiveRef = typedef std::shared_ptr<CirclePrimitive>

◆ CmdLineArgParserRef

using osmscout::CmdLineArgParserRef = typedef std::shared_ptr<CmdLineArgParser>

◆ ColorFeatureValueReader

◆ ColorPostprocessor

using osmscout::ColorPostprocessor = typedef osmscout::Color (*)(const osmscout::Color &)

◆ ConstructionYearFeatureValueReader

◆ CoverageIndexRef

using osmscout::CoverageIndexRef = typedef std::shared_ptr<CoverageIndex>

◆ DatabaseId

using osmscout::DatabaseId = typedef uint32_t

◆ DatabaseRef

using osmscout::DatabaseRef = typedef std::shared_ptr<Database>

Reference counted reference to an Database instance.

◆ DBInstanceRef

using osmscout::DBInstanceRef = typedef std::shared_ptr<DBInstance>

◆ DBThreadRef

using osmscout::DBThreadRef = typedef std::shared_ptr<DBThread>

◆ DestinationFeatureValueReader

◆ DistanceUnitPtr

using osmscout::DistanceUnitPtr = typedef std::shared_ptr<DistanceUnit>

◆ DoubleRectangle

using osmscout::DoubleRectangle = typedef Rectangle<double>

◆ DrawPrimitiveRef

using osmscout::DrawPrimitiveRef = typedef std::shared_ptr<DrawPrimitive>

◆ Duration

using osmscout::Duration = typedef Timestamp::duration

◆ EleFeatureValueReader

◆ EmbankmentFeatureReader

◆ FastestPathRoutingProfileRef

◆ FeatureRef

using osmscout::FeatureRef = typedef std::shared_ptr<Feature>

◆ FeatureValueBufferRef

using osmscout::FeatureValueBufferRef = typedef std::shared_ptr<FeatureValueBuffer>

◆ FillConditionalStyle

◆ FillPartialStyle

Index selectors by type and level.

◆ FillStyleLookupTable

using osmscout::FillStyleLookupTable = typedef std::vector<std::vector<FillStyleSelectorList> >

List of selectors.

◆ FillStyleProcessorRef

using osmscout::FillStyleProcessorRef = typedef std::shared_ptr<FillStyleProcessor>

◆ FillStyleRef

using osmscout::FillStyleRef = typedef std::shared_ptr<FillStyle>

◆ FillStyleSelector

◆ FillStyleSelectorList

◆ FromToFeatureValueReader

◆ GradeFeatureValueReader

◆ HourDuration

using osmscout::HourDuration = typedef std::chrono::duration<double, std::ratio<3600> >

◆ IconConditionalStyle

◆ IconPartialStyle

Index selectors by type and level.

◆ IconStyleLookupTable

using osmscout::IconStyleLookupTable = typedef std::vector<std::vector<IconStyleSelectorList> >

List of selectors.

◆ IconStyleRef

using osmscout::IconStyleRef = typedef std::shared_ptr<IconStyle>

◆ IconStyleSelector

◆ IconStyleSelectorList

◆ ImportErrorReporterRef

typedef std::shared_ptr<ImportErrorReporter> osmscout::ImportErrorReporterRef

◆ ImportModuleRef

using osmscout::ImportModuleRef = typedef std::shared_ptr<ImportModule>

◆ IntRectangle

using osmscout::IntRectangle = typedef Rectangle<int>

◆ IsInFeatureValueReader

◆ JunctionRef

using osmscout::JunctionRef = typedef std::shared_ptr<Intersection>

◆ LabelProviderFactoryRef

using osmscout::LabelProviderFactoryRef = typedef std::shared_ptr<LabelProviderFactory>

◆ LabelProviderRef

typedef std::shared_ptr< LabelProvider > osmscout::LabelProviderRef

◆ LabelStyleRef

using osmscout::LabelStyleRef = typedef std::shared_ptr<LabelStyle>

◆ LanesFeatureValueReader

◆ LayerFeatureValueReader

◆ LineConditionalStyle

◆ LinePartialStyle

◆ LineStyleLookupTable

using osmscout::LineStyleLookupTable = typedef std::vector<std::vector<LineStyleSelectorList> >

List of selectors.

◆ LineStyleRef

using osmscout::LineStyleRef = typedef std::shared_ptr<LineStyle>

◆ LineStyleSelector

◆ LineStyleSelectorList

◆ LocationEntryRef

using osmscout::LocationEntryRef = typedef std::shared_ptr<LocationEntry>

◆ LocationFeatureValueReader

◆ LocationIndexRef

using osmscout::LocationIndexRef = typedef std::shared_ptr<LocationIndex>

◆ LocationRef

using osmscout::LocationRef = typedef std::shared_ptr<Location>

◆ MapDataRef

using osmscout::MapDataRef = typedef std::shared_ptr<MapData>

◆ MapRendererRef

using osmscout::MapRendererRef = typedef std::shared_ptr<MapRenderer>

◆ MapTileRef

typedef std::shared_ptr<MapTile> osmscout::MapTileRef

◆ MaxSpeedFeatureValueReader

◆ NameAltFeatureValueReader

◆ NameFeatureLabelReader

◆ NameFeatureValueReader

◆ NameShortFeatureValueReader

◆ NavigationAgentRef

using osmscout::NavigationAgentRef = typedef std::shared_ptr<NavigationAgent>

◆ NavigationMessageRef

using osmscout::NavigationMessageRef = typedef std::shared_ptr<NavigationMessage>

◆ NetworkFeatureValueReader

◆ NodeDataFileRef

using osmscout::NodeDataFileRef = typedef std::shared_ptr<NodeDataFile>

◆ NodeRef

using osmscout::NodeRef = typedef std::shared_ptr<Node>

◆ OpenGLTextureRef

typedef std::shared_ptr<OpenGLTexture> osmscout::OpenGLTextureRef

◆ OperatorFeatureValueReader

◆ OptimizeAreasLowZoomRef

using osmscout::OptimizeAreasLowZoomRef = typedef std::shared_ptr<OptimizeAreasLowZoom>

◆ OptimizeWaysLowZoomRef

using osmscout::OptimizeWaysLowZoomRef = typedef std::shared_ptr<OptimizeWaysLowZoom>

◆ OverlayObjectRef

using osmscout::OverlayObjectRef = typedef std::shared_ptr<OverlayObject>

◆ PageId

using osmscout::PageId = typedef uint64_t

◆ PathShieldConditionalStyle

◆ PathShieldPartialStyle

Index selectors by type and level.

◆ PathShieldStyleLookupTable

using osmscout::PathShieldStyleLookupTable = typedef std::vector<std::vector<PathShieldStyleSelectorList> >

List of selectors.

◆ PathShieldStyleRef

using osmscout::PathShieldStyleRef = typedef std::shared_ptr<PathShieldStyle>

◆ PathShieldStyleSelector

◆ PathShieldStyleSelectorList

◆ PathSymbolConditionalStyle

◆ PathSymbolPartialStyle

Index selectors by type and level.

◆ PathSymbolStyleLookupTable

using osmscout::PathSymbolStyleLookupTable = typedef std::vector<std::vector<PathSymbolStyleSelectorList> >

List of selectors.

◆ PathSymbolStyleRef

using osmscout::PathSymbolStyleRef = typedef std::shared_ptr<PathSymbolStyle>

◆ PathSymbolStyleSelector

◆ PathSymbolStyleSelectorList

◆ PathTextConditionalStyle

◆ PathTextPartialStyle

Index selectors by type and level.

◆ PathTextStyleLookupTable

using osmscout::PathTextStyleLookupTable = typedef std::vector<std::vector<PathTextStyleSelectorList> >

List of selectors.

◆ PathTextStyleRef

using osmscout::PathTextStyleRef = typedef std::shared_ptr<PathTextStyle>

◆ PathTextStyleSelector

◆ PathTextStyleSelectorList

◆ POIRef

using osmscout::POIRef = typedef std::shared_ptr<POI>

◆ PolygonPrimitiveRef

using osmscout::PolygonPrimitiveRef = typedef std::shared_ptr<PolygonPrimitive>

◆ PostalAreaRef

using osmscout::PostalAreaRef = typedef std::shared_ptr<PostalArea>

◆ PostalCodeFeatureValueReader

◆ PreprocessorFactoryRef

using osmscout::PreprocessorFactoryRef = typedef std::shared_ptr<PreprocessorFactory>

◆ PTRouteDataFileRef

using osmscout::PTRouteDataFileRef = typedef std::shared_ptr<PTRouteDataFile>

◆ PTRouteRef

using osmscout::PTRouteRef = typedef std::shared_ptr<PTRoute>

◆ QmlRoutingProfileRef

using osmscout::QmlRoutingProfileRef = typedef std::shared_ptr<QmlRoutingProfile>

◆ QtGlyph

using osmscout::QtGlyph = typedef Glyph<QGlyphRun>

◆ QtLabel

using osmscout::QtLabel = typedef Label<QGlyphRun, QTextLayout>

◆ QtLabelInstance

using osmscout::QtLabelInstance = typedef LabelInstance<QGlyphRun, QTextLayout>

◆ RawCoastlineRef

using osmscout::RawCoastlineRef = typedef std::shared_ptr<RawCoastline>

◆ RawCoordRef

using osmscout::RawCoordRef = typedef std::shared_ptr<RawCoord>

◆ RawNodeRef

typedef std::shared_ptr<RawNode> osmscout::RawNodeRef

◆ RawRelationRef

using osmscout::RawRelationRef = typedef std::shared_ptr<RawRelation>

◆ RawWayRef

using osmscout::RawWayRef = typedef std::shared_ptr<RawWay>

◆ RectanglePrimitiveRef

using osmscout::RectanglePrimitiveRef = typedef std::shared_ptr<RectanglePrimitive>

◆ RefFeatureLabelReader

◆ RefFeatureValueReader

◆ RoundaboutFeatureReader

◆ RoutableObjectsMessageRef

using osmscout::RoutableObjectsMessageRef = typedef std::shared_ptr<RoutableObjectsMessage>

◆ RoutableObjectsRef

using osmscout::RoutableObjectsRef = typedef std::shared_ptr<RoutableObjects>

◆ RouteDataFileRef

using osmscout::RouteDataFileRef = typedef std::shared_ptr<RouteDataFile>

◆ RouteDescriptionRef

using osmscout::RouteDescriptionRef = typedef std::shared_ptr<RouteDescription>

◆ RouteNodeRef

using osmscout::RouteNodeRef = typedef std::shared_ptr<RouteNode>

◆ RoutePointsRef

using osmscout::RoutePointsRef = typedef std::shared_ptr<RoutePoints>

◆ RouteRef

using osmscout::RouteRef = typedef std::shared_ptr<Route>

◆ RoutingProfileRef

using osmscout::RoutingProfileRef = typedef std::shared_ptr<RoutingProfile>

◆ ShieldConditionalStyle

◆ ShieldPartialStyle

Index selectors by type and level.

◆ ShieldStyleLookupTable

using osmscout::ShieldStyleLookupTable = typedef std::vector<std::vector<ShieldStyleSelectorList> >

List of selectors.

◆ ShieldStyleRef

using osmscout::ShieldStyleRef = typedef std::shared_ptr<ShieldStyle>

◆ ShieldStyleSelector

◆ ShieldStyleSelectorList

◆ ShortestPathRoutingProfileRef

◆ SizeConditionRef

using osmscout::SizeConditionRef = typedef std::shared_ptr<SizeCondition>

◆ SRTMDataRef

using osmscout::SRTMDataRef = typedef std::shared_ptr<SRTMData>

◆ SRTMRef

using osmscout::SRTMRef = typedef std::shared_ptr<SRTM>

◆ StringMatcherFactoryRef

using osmscout::StringMatcherFactoryRef = typedef std::shared_ptr<StringMatcherFactory>

◆ StringMatcherRef

using osmscout::StringMatcherRef = typedef std::shared_ptr<StringMatcher>

◆ StyleAttributeDescriptorRef

◆ StyleConfigRef

using osmscout::StyleConfigRef = typedef std::shared_ptr<StyleConfig>

◆ StyleConstantRef

using osmscout::StyleConstantRef = typedef std::shared_ptr<StyleConstant>

◆ StyleDescriptorRef

using osmscout::StyleDescriptorRef = typedef std::shared_ptr<StyleDescriptor>

◆ SymbolRef

using osmscout::SymbolRef = typedef std::shared_ptr<Symbol>

◆ TagId

using osmscout::TagId = typedef uint16_t

◆ TagMap

using osmscout::TagMap = typedef std::unordered_map<TagId, std::string>

◆ TextConditionalStyle

◆ TextPartialStyle

Index selectors by type and level.

◆ TextStyleLookupTable

using osmscout::TextStyleLookupTable = typedef std::vector<std::vector<TextStyleSelectorList> >

List of selectors.

◆ TextStyleRef

using osmscout::TextStyleRef = typedef std::shared_ptr<TextStyle>

◆ TextStyleSelector

◆ TextStyleSelectorList

◆ Timestamp

using osmscout::Timestamp = typedef std::chrono::system_clock::time_point

◆ TunnelFeatureReader

◆ TurnRestrictionRef

using osmscout::TurnRestrictionRef = typedef std::shared_ptr<TurnRestriction>

◆ TypeDistributionDataFileRef

◆ TypeInfoRef

using osmscout::TypeInfoRef = typedef std::shared_ptr<TypeInfo>

◆ VehicleMask

using osmscout::VehicleMask = typedef uint8_t

◆ WaterIndexRef

using osmscout::WaterIndexRef = typedef std::shared_ptr<WaterIndex>

◆ WayDataFileRef

using osmscout::WayDataFileRef = typedef std::shared_ptr<WayDataFile>

◆ WayRef

using osmscout::WayRef = typedef std::shared_ptr<Way>

◆ WidthFeatureValueReader

Enumeration Type Documentation

◆ BinaryOperator

Enumeration of possible binary operators as used by the various parsers

Enumerator
operatorLess 
operatorLessEqual 
operatorEqual 
operatorGreaterEqual 
operatorGreater 
operatorNotEqual 

◆ DistanceUnitSystem

Enumerator
Metrics 
Imperial 

◆ OffsetRel

enum osmscout::OffsetRel : int
strong

Offset for rendered line, relative to way.

Enumerator
base 

way center

leftOutline 

left side of the way

rightOutline 

right side of the way

laneDivider 

when way has multiple lanes, line is rendered as its divider

laneForwardLeft 

when way has explicit turns, following offsets may be used to decorate them specially

laneForwardThroughLeft 
laneForwardThrough 
laneForwardThroughRight 
laneForwardRight 
laneBackwardLeft 
laneBackwardThroughLeft 
laneBackwardThrough 
laneBackwardThroughRight 
laneBackwardRight 
sidecar 

special offset for routes, line are stacked next to way, same colors are "collapsed"

◆ OSMRefType

Enumerator
osmRefNone 
osmRefNode 
osmRefWay 
osmRefRelation 

◆ RefType

Enumerator
refNone 
refNode 
refArea 
refWay 

◆ RenderSteps

enum osmscout::RenderSteps : size_t
Enumerator
FirstStep 
Initialize 

Setup internal state of renderer for executing next steps with current projection and parameters.

DumpStatistics 

Prints details for debugging, if debug flag (performance, data) is set in renderer parameter.

PreprocessData 

Convert geographical coordinates of object points to screen coordinates,.

Prerender 

Implementation specific preparison.

DrawBaseMapTiles 

Draw unknown/sea/land tiles and tiles with "coastlines" from base map.

DrawGroundTiles 

Same as previous, but from main database.

DrawOSMTileGrids 

If special style exists, renders grid corresponding to OSM tiles.

DrawAreas 
DrawWays 
DrawWayDecorations 
DrawWayContourLabels 
PrepareAreaLabels 
DrawAreaBorderLabels 
DrawAreaBorderSymbols 
PrepareNodeLabels 
PrepareRouteLabels 
DrawContourLines 
DrawHillShading 
DrawLabels 
Postrender 

Implementation specific final step.

LastStep 

◆ Vehicle

enum osmscout::Vehicle : uint8_t
Enumerator
vehicleFoot 
vehicleBicycle 
vehicleCar 

Function Documentation

◆ _PS_CONST() [1/12]

osmscout::_PS_CONST ( )

◆ _PS_CONST() [2/12]

osmscout::_PS_CONST ( )

◆ _PS_CONST() [3/12]

osmscout::_PS_CONST ( 0_5  )

◆ _PS_CONST() [4/12]

osmscout::_PS_CONST ( 2OPI  )

◆ _PS_CONST() [5/12]

osmscout::_PS_CONST ( PIO2  )

◆ _PS_CONST() [6/12]

osmscout::_PS_CONST ( LOG_C_2  )

◆ _PS_CONST() [7/12]

osmscout::_PS_CONST ( 0_66  )

◆ _PS_CONST() [8/12]

osmscout::_PS_CONST ( 0_87  )

◆ _PS_CONST() [9/12]

osmscout::_PS_CONST ( 1_74  )

◆ _PS_CONST() [10/12]

osmscout::_PS_CONST ( 1_32  )

◆ _PS_CONST() [11/12]

osmscout::_PS_CONST ( log_inv_1_74  )

◆ _PS_CONST() [12/12]

osmscout::_PS_CONST ( log_inv_1_32  )

◆ _PS_CONST_TYPE() [1/8]

osmscout::_PS_CONST_TYPE ( sign_mask  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [2/8]

osmscout::_PS_CONST_TYPE ( x01_double_mask  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [3/8]

osmscout::_PS_CONST_TYPE ( x03FE_double_mask  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [4/8]

osmscout::_PS_CONST_TYPE ( 1_exp  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [5/8]

osmscout::_PS_CONST_TYPE ( f_fraction_mask  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [6/8]

osmscout::_PS_CONST_TYPE ( f_exp_mask  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [7/8]

osmscout::_PS_CONST_TYPE ( f_one_mask  ,
uint64_t   
)

◆ _PS_CONST_TYPE() [8/8]

osmscout::_PS_CONST_TYPE ( 1022  ,
uint64_t   
)

◆ atanh_pd() [1/3]

v2df osmscout::atanh_pd ( v2df  x)
inline

◆ atanh_pd() [2/3]

double osmscout::atanh_pd ( double  x)
inline

◆ atanh_pd() [3/3]

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

◆ atanh_sin_pd() [1/3]

v2df osmscout::atanh_sin_pd ( v2df  x)
inline

◆ atanh_sin_pd() [2/3]

double osmscout::atanh_sin_pd ( double  x)
inline

◆ atanh_sin_pd() [3/3]

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

◆ Base64Decode()

static std::vector<char> osmscout::Base64Decode ( const std::string &  in)
inlinestatic

◆ Base64Encode()

static std::string osmscout::Base64Encode ( const std::vector< char > &  in)
inlinestatic

◆ BoolToString()

OSMSCOUT_API const char* osmscout::BoolToString ( bool  value)

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

Parameters
valuevalue to return
Returns
result of the conversion

◆ ByteSizeToString()

OSMSCOUT_API std::string osmscout::ByteSizeToString ( double  size)

◆ CalculateDistancePointToLineSegment() [1/2]

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

◆ CalculateDistancePointToLineSegment() [2/2]

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

◆ CmdLineAlternativeFlag()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineAlternativeFlag ( Args &&...  args)

◆ CmdLineBoolOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineBoolOption ( Args &&...  args)

◆ CmdLineDoubleOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineDoubleOption ( Args &&...  args)

◆ CmdLineFlag()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineFlag ( Args &&...  args)

◆ CmdLineGeoCoordOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineGeoCoordOption ( Args &&...  args)

◆ CmdLineIntOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineIntOption ( Args &&...  args)

◆ CmdLineLongOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineLongOption ( Args &&...  args)

◆ CmdLineNumberOption()

template<class T , class ... Args>
CmdLineArgParserRef osmscout::CmdLineNumberOption ( Args &&...  args)

◆ CmdLineSizeTOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineSizeTOption ( Args &&...  args)

◆ CmdLineStringListOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineStringListOption ( Args &&...  args)

◆ CmdLineStringOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineStringOption ( Args &&...  args)

◆ CmdLineUIntOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineUIntOption ( Args &&...  args)

◆ CmdLineULongOption()

template<class ... Args>
CmdLineArgParserRef osmscout::CmdLineULongOption ( Args &&...  args)

◆ ComputeSegmentBoxes()

template<typename N >
void osmscout::ComputeSegmentBoxes ( const std::vector< N > &  path,
std::vector< SegmentGeoBox > &  segmentBoxes,
size_t  bound,
size_t  segmentSize = 1000 
)

Helper for FindPathIntersections

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

◆ ContourLabelSorter()

template<class NativeGlyph >
static bool osmscout::ContourLabelSorter ( const ContourLabel< NativeGlyph > &  a,
const ContourLabel< NativeGlyph > &  b 
)
static

◆ CopyPolygonToCoordBuffer()

OSMSCOUT_API CoordBufferRange osmscout::CopyPolygonToCoordBuffer ( const TransBuffer &  transBuffer,
CoordBuffer &  coordBuffer 
)

◆ cos_pd() [1/3]

v2df osmscout::cos_pd ( v2df  x)
inline

◆ cos_pd() [2/3]

double osmscout::cos_pd ( double  x)
inline

◆ cos_pd() [3/3]

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

◆ dangerous_sin_pd() [1/3]

v2df osmscout::dangerous_sin_pd ( v2df  x)
inline

◆ dangerous_sin_pd() [2/3]

double osmscout::dangerous_sin_pd ( double  x)
inline

◆ dangerous_sin_pd() [3/3]

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

◆ DistanceSquare()

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

◆ DistanceToSegment() [1/3]

OSMSCOUT_API double osmscout::DistanceToSegment ( const GeoCoord &  point,
const GeoCoord &  segmentStart,
const GeoCoord &  segmentEnd,
double &  r,
GeoCoord &  intersection 
)

◆ DistanceToSegment() [2/3]

OSMSCOUT_API double osmscout::DistanceToSegment ( const std::vector< Point > &  points,
const GeoCoord &  segmentStart,
const GeoCoord &  segmentEnd,
GeoCoord &  location,
GeoCoord &  intersection 
)

◆ DistanceToSegment() [3/3]

OSMSCOUT_API double osmscout::DistanceToSegment ( const GeoBox &  boundingBox,
const GeoCoord &  segmentStart,
const GeoCoord &  segmentEnd,
GeoCoord &  location,
GeoCoord &  intersection 
)

◆ DurationAsHours()

double osmscout::DurationAsHours ( Duration  duration)
inline

◆ DurationAsSeconds()

double osmscout::DurationAsSeconds ( Duration  duration)
inline

◆ DurationOfHours()

Duration osmscout::DurationOfHours ( double  hours)
inline

◆ DurationString()

OSMSCOUT_API std::string osmscout::DurationString ( const Duration duration)

◆ GetSegmentBoundingBox()

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)

◆ GetTokensFromEnd()

OSMSCOUT_API std::string osmscout::GetTokensFromEnd ( const std::list< std::string > &  tokens,
size_t  count 
)

◆ GetTokensFromStart()

OSMSCOUT_API std::string osmscout::GetTokensFromStart ( const std::list< std::string > &  tokens,
size_t  count 
)

◆ IsValidToWrite()

OSMSCOUT_API bool osmscout::IsValidToWrite ( const std::vector< Point > &  nodes)

◆ Kilometers()

Distance osmscout::Kilometers ( double  km)
inline

◆ LabelInstanceSorter()

template<class NativeGlyph , class NativeLabel >
static bool osmscout::LabelInstanceSorter ( const LabelInstance< NativeGlyph, NativeLabel > &  a,
const LabelInstance< NativeGlyph, NativeLabel > &  b 
)
static

◆ LoadPNG()

OSMSCOUT_MAP_CAIRO_API cairo_surface_t* osmscout::LoadPNG ( const std::string &  filename)

◆ LoadPNGOpenGL()

OSMSCOUT_MAP_OPENGL_API osmscout::OpenGLTextureRef osmscout::LoadPNGOpenGL ( const std::string &  filename)

◆ log_pd() [1/3]

v2df osmscout::log_pd ( v2df  x)
inline

◆ log_pd() [2/3]

double osmscout::log_pd ( double  x)
inline

◆ log_pd() [3/3]

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

◆ Meters()

Distance osmscout::Meters ( double  m)
inline

◆ NumberDigits()

template<typename N >
size_t osmscout::NumberDigits ( const N &  number,
size_t  base = 10 
)

◆ NumberToString()

OSMSCOUT_API std::string osmscout::NumberToString ( long  value,
const Locale &  locale 
)

Returns locale-aware string representation of number

Parameters
value
locale
Returns

◆ operator!=() [1/2]

bool osmscout::operator!= ( const MapViewStruct r1,
const MapViewStruct r2 
)
inline

◆ operator!=() [2/2]

bool osmscout::operator!= ( const MapView a,
const MapView b 
)
inline

◆ operator+() [1/2]

std::string osmscout::operator+ ( const char *  text,
const MagnificationLevel &  level 
)
inline

◆ operator+() [2/2]

std::string osmscout::operator+ ( const std::string &  text,
const MagnificationLevel &  level 
)
inline

◆ operator<()

bool osmscout::operator< ( const TileCacheKey a,
const TileCacheKey b 
)

◆ operator<<() [1/7]

OSMSCOUT_API std::ostream& osmscout::operator<< ( std::ostream &  stream,
const StopClock &  clock 
)

◆ operator<<() [2/7]

QDebug& osmscout::operator<< ( QDebug &  out,
const TileCacheKey key 
)

◆ operator<<() [3/7]

std::ostream& osmscout::operator<< ( std::ostream &  stream,
const DBId o 
)
inline

◆ operator<<() [4/7]

OSMSCOUT_API std::ostream& osmscout::operator<< ( std::ostream &  stream,
const StopClockNano &  clock 
)

◆ operator<<() [5/7]

std::ostream& osmscout::operator<< ( std::ostream &  os,
const MagnificationLevel &  level 
)
inline

◆ operator<<() [6/7]

std::ostream& osmscout::operator<< ( std::ostream &  stream,
const DBFileOffset o 
)
inline

◆ operator<<() [7/7]

std::ostream& osmscout::operator<< ( std::ostream &  os,
const Distance &  distance 
)
inline

◆ operator==() [1/2]

bool osmscout::operator== ( const TileCacheKey a,
const TileCacheKey b 
)

◆ operator==() [2/2]

bool osmscout::operator== ( const MapView a,
const MapView b 
)
inline

◆ OptimizeArea()

OSMSCOUT_API void osmscout::OptimizeArea ( TransBuffer &  buffer,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance,
TransPolygon::OutputConstraint  constraint 
)

Optimize a already transformed area

◆ OptimizeWay()

OSMSCOUT_API void osmscout::OptimizeWay ( TransBuffer &  buffer,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance,
TransPolygon::OutputConstraint  constraint 
)

Optimize a already transformed way

◆ ParseBoolArgument()

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

◆ ParseISO8601TimeString()

OSMSCOUT_API bool osmscout::ParseISO8601TimeString ( const std::string &  timeStr,
Timestamp timestamp 
)

Parse time string in ISO 8601 format "2017-11-26T13:46:12.124Z" (UTC timezone) to Timestamp (std::chrono::time_point with millisecond accuracy).

Note that format is not locale specific

Parameters
timeStr
timestamp
Returns
true on success

◆ ParseSizeTArgument()

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

◆ ParseStringArgument()

OSMSCOUT_API bool osmscout::ParseStringArgument ( int  argc,
char *  argv[],
int &  currentIndex,
std::string &  value 
)

◆ ParseUInt32Argument()

OSMSCOUT_API bool osmscout::ParseUInt32Argument ( int  argc,
char *  argv[],
int &  currentIndex,
uint32_t &  value 
)

◆ Pow()

OSMSCOUT_API size_t osmscout::Pow ( size_t  a,
size_t  b 
)

◆ qHash()

uint osmscout::qHash ( const TileCacheKey key)

◆ ReadFile()

OSMSCOUT_API bool osmscout::ReadFile ( const std::string &  filename,
std::vector< char > &  content 
)

◆ sin_cos_pd()

void osmscout::sin_cos_pd ( double  x,
double &  res_sin,
double &  res_cos 
)
inline

◆ sin_pd() [1/3]

v2df osmscout::sin_pd ( v2df  x)
inline

◆ sin_pd() [2/3]

double osmscout::sin_pd ( double  x)
inline

◆ sin_pd() [3/3]

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

◆ sincos()

void osmscout::sincos ( double  x,
double &  resSin,
double &  resCos 
)
inline

◆ StringToNumberSigned()

template<typename N >
bool osmscout::StringToNumberSigned ( const std::string &  string,
N &  number,
size_t  base = 10 
)

◆ StringToNumberUnsigned()

template<typename N >
bool osmscout::StringToNumberUnsigned ( const std::string &  string,
N &  number,
size_t  base = 10 
)

◆ TimestampToISO8601TimeString()

OSMSCOUT_API std::string osmscout::TimestampToISO8601TimeString ( const Timestamp timestamp)

Format Timestamp to string in ISO8601 format "2017-11-26T13:46:12.124Z" for UTC timezone.

Parameters
timestamp
Returns
time string

◆ TransformArea() [1/2]

template<typename C >
void osmscout::TransformArea ( const C &  nodes,
TransBuffer &  buffer,
const Projection projection,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance,
TransPolygon::OutputConstraint  constraint = TransPolygon::noConstraint 
)

Transform form geo to screen coordinates and (optionally) optimize the passed area with the given coordinates

Template Parameters
Ccontainer type for the geo coordinates of the area
Parameters
nodesArea coordinates
bufferTransBuffer instance for memory caching
projectionProjection to use
optimizeMode of optimization
optimizeErrorTolerance
constraint

◆ TransformArea() [2/2]

template<typename C >
CoordBufferRange osmscout::TransformArea ( const C &  nodes,
TransBuffer &  transBuffer,
CoordBuffer &  coordBuffer,
const Projection projection,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance 
)

Transform the geo coordinates to display coordinates of the given area and copy the resulting coordinates the the given CoordBuffer.

Template Parameters
CContainer type for the geo coordinates of the area
Parameters
nodesarea coordinates
transBufferTransBuffer instance for memory caching
coordBufferTarget CoordBuffer
projectionProjection to use
optimize
optimizeErrorTolerance
Returns
The resulting coordinate range in the CoordBuffer

◆ TransformBoundingBox() [1/2]

OSMSCOUT_API void osmscout::TransformBoundingBox ( const GeoBox &  boundingBox,
TransBuffer &  buffer,
const Projection projection,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance,
TransPolygon::OutputConstraint  constraint = TransPolygon::noConstraint 
)

Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates

Template Parameters
CContainer type for the geo coordinates of the area
Parameters
boundingBoxbounding box
bufferTransBuffer instance for memory caching
projectionProjection to use
optimizeMode of optimization
optimizeErrorTolerance
constraint

◆ TransformBoundingBox() [2/2]

OSMSCOUT_API CoordBufferRange osmscout::TransformBoundingBox ( const GeoBox &  boundingBox,
TransBuffer &  buffer,
CoordBuffer &  coordBuffer,
const Projection projection,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance 
)

Transform the geo coordinates to display coordinates of the given bounding box and copy the resulting coordinates the the given CoordBuffer.

Template Parameters
CContainer type for the geo coordinates of the area
Parameters
boundingBoxbounding box
transBufferTransBuffer instance for memory caching
coordBufferTarget CoordBuffer
projectionProjection to use
optimize
optimizeErrorTolerance
Returns
The resulting coordinate range in the CoordBuffer

◆ TransformWay() [1/2]

template<typename C >
void osmscout::TransformWay ( const C &  nodes,
TransBuffer &  buffer,
const Projection projection,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance,
TransPolygon::OutputConstraint  constraint = TransPolygon::noConstraint 
)

Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates

Template Parameters
Ccontainer type for the geo coordinates of the area
Parameters
nodesArea coordinates
bufferTransBuffer instance for memory caching
projectionProjection to use
optimizeMode of optimization
optimizeErrorTolerance
constraint

◆ TransformWay() [2/2]

template<typename C >
CoordBufferRange osmscout::TransformWay ( const C &  nodes,
TransBuffer &  transBuffer,
CoordBuffer &  coordBuffer,
const Projection projection,
TransPolygon::OptimizeMethod  optimize,
double  optimizeErrorTolerance 
)

Transform the geo coordinates to display coordinates of the given way and copy the resulting coordinates the the given CoordBuffer.

Template Parameters
CContainer type for the geo coordinates of the area
Parameters
nodesway coordinates
transBufferTransBuffer instance for memory caching
coordBufferTarget CoordBuffer
projectionProjection to use
optimize
optimizeErrorTolerance
Returns
The resulting coordinate range in the CoordBuffer

◆ UTF8NormForLookup()

OSMSCOUT_API std::string osmscout::UTF8NormForLookup ( const std::string &  text)

Normalise the given std::string containing a UTF8 character sequence for tolerant comparison. It may be used for string lookup typed by human, for example street name, where string are not binary equals, but are "same" for human - for example "Baker Street" and "Baker street"

Normalized string is converted to lowercase, all whitespaces are converted to standard space and multiple following spaces are collapsed to one.

Parameters
textText to get converted
Returns
Converted text

◆ UTF8StringToLower()

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

Convert the given std::string containing a UTF8 character sequence to lower case using the translation table implementation.

Parameters
textText to get converted
Returns
Converted text

◆ UTF8StringToUpper()

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

Convert the given std::string containing a UTF8 character sequence to upper case using translation table implementation.

Parameters
textText to get converted
Returns
Converted text

◆ UTF8Transliterate()

OSMSCOUT_API std::string osmscout::UTF8Transliterate ( const std::string &  text)

Transliterate non-ascii characters to one or more characters that are similar to the original character. When there is no transformation available, original character is keep in place (translation table implementation).

Parameters
textText to get converted
Returns
Converted text

◆ WriteGpx() [1/2]

template<typename InputIterator >
void osmscout::WriteGpx ( InputIterator  begin,
InputIterator  end,
const std::string &  name 
)

Just for debug. It exports path to gpx file that may be open in external editor (josm for example). It is very useful to visual check that path is generated/cutted/walk (...) correctly.

Just call this method from some place, add breakpoint after it and check the result...

◆ WriteGpx() [2/2]

void osmscout::WriteGpx ( const std::vector< Point > &  path,
const std::string &  name 
)

Variable Documentation

◆ Base64Chars

constexpr const char* osmscout::Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

◆ CELL_DIMENSION_COUNT

const size_t osmscout::CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1

◆ CELL_DIMENSION_MAX

const size_t osmscout::CELL_DIMENSION_MAX = 25

◆ cellDimension

OSMSCOUT_API const std::array<CellDimension,CELL_DIMENSION_COUNT> osmscout::cellDimension

◆ FILE_FORMAT_VERSION

const uint32_t osmscout::FILE_FORMAT_VERSION =22
static

◆ maxRawCoordValue

constexpr uint32_t osmscout::maxRawCoordValue = 0x7FFFFFF