libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout Namespace Reference

Namespaces

namespace  ost
namespace  locidx
namespace  oss
namespace  FileDownloaderConfig

Classes

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

Typedefs

using AreaRef = std::shared_ptr<Area>
using BreakerRef = std::shared_ptr<Breaker>
using CmdLineArgParserRef = std::shared_ptr<CmdLineArgParser>
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.
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.
using LocationIndexRef = std::shared_ptr<LocationIndex>
using NodeDataFileRef = std::shared_ptr<NodeDataFile>
using OptimizeAreasLowZoomRef = std::shared_ptr<OptimizeAreasLowZoom>
using OptimizeWaysLowZoomRef = std::shared_ptr<OptimizeWaysLowZoom>
using PTRouteDataFileRef = std::shared_ptr<PTRouteDataFile>
using TypeDistributionDataFileRef = std::shared_ptr<TypeDistributionDataFile>
using WaterIndexRef = std::shared_ptr<WaterIndex>
using WayDataFileRef = std::shared_ptr<WayDataFile>
using SRTMDataRef = std::shared_ptr<SRTMData>
using SRTMRef = std::shared_ptr<SRTM>
using AccessFeatureValueReader = FeatureValueReader<AccessFeature, AccessFeatureValue>
using AccessRestrictedFeatureReader = FeatureReader<AccessRestrictedFeature>
using AccessRestrictedFeatureValueReader = FeatureValueReader<AccessRestrictedFeature, AccessRestrictedFeatureValue>
using AddressFeatureValueReader = FeatureValueReader<AddressFeature, AddressFeatureValue>
using AdminLevelFeatureValueReader = FeatureValueReader<AdminLevelFeature, AdminLevelFeatureValue>
using BridgeFeatureReader = FeatureReader<BridgeFeature>
using ClockwiseDirectionFeatureReader = FeatureReader<ClockwiseDirectionFeature>
using ColorFeatureValueReader = FeatureValueReader<ColorFeature, ColorFeatureValue>
using ConstructionYearFeatureValueReader = FeatureValueReader<ConstructionYearFeature, ConstructionYearFeatureValue>
using DestinationFeatureValueReader = FeatureValueReader<DestinationFeature, DestinationFeatureValue>
using EleFeatureValueReader = FeatureValueReader<EleFeature, EleFeatureValue>
using EmbankmentFeatureReader = FeatureReader<EmbankmentFeature>
using FromToFeatureValueReader = FeatureValueReader<FromToFeature, FromToFeatureValue>
using GradeFeatureValueReader = FeatureValueReader<GradeFeature, GradeFeatureValue>
using IsInFeatureValueReader = FeatureValueReader<IsInFeature, IsInFeatureValue>
using LanesFeatureValueReader = FeatureValueReader<LanesFeature, LanesFeatureValue>
using LayerFeatureValueReader = FeatureValueReader<LayerFeature, LayerFeatureValue>
using LocationFeatureValueReader = FeatureValueReader<LocationFeature, LocationFeatureValue>
using MaxSpeedFeatureValueReader = FeatureValueReader<MaxSpeedFeature, MaxSpeedFeatureValue>
using NameAltFeatureValueReader = FeatureValueReader<NameAltFeature, NameAltFeatureValue>
using NameFeatureValueReader = FeatureValueReader<NameFeature, NameFeatureValue>
using NameFeatureLabelReader = FeatureLabelReader<NameFeature, NameFeatureValue>
using NameShortFeatureValueReader = FeatureValueReader<NameShortFeature, NameShortFeatureValue>
using NetworkFeatureValueReader = FeatureValueReader<NetworkFeature, NetworkFeatureValue>
using OperatorFeatureValueReader = FeatureValueReader<OperatorFeature, OperatorFeatureValue>
using PostalCodeFeatureValueReader = FeatureValueReader<PostalCodeFeature, PostalCodeFeatureValue>
using RefFeatureValueReader = FeatureValueReader<RefFeature, RefFeatureValue>
using RefFeatureLabelReader = FeatureLabelReader<RefFeature, RefFeatureValue>
using RoundaboutFeatureReader = FeatureReader<RoundaboutFeature>
using TunnelFeatureReader = FeatureReader<TunnelFeature>
using WidthFeatureValueReader = FeatureValueReader<WidthFeature, WidthFeatureValue>
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 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 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 PTRouteRef = std::shared_ptr<PTRoute>
using RouteRef = std::shared_ptr<Route>
using RoutePointsRef = std::shared_ptr<RoutePoints>
using DatabaseId = uint32_t
using MultiDBRoutingServiceRef = std::shared_ptr<MultiDBRoutingService>
using RouteDataFileRef = std::shared_ptr<RouteDataFile>
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 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 FeatureRef = std::shared_ptr<Feature>
using DistanceUnitPtr = std::shared_ptr<DistanceUnit>
using StringMatcherRef = std::shared_ptr<StringMatcher>
using StringMatcherFactoryRef = std::shared_ptr<StringMatcherFactory>
using SunriseSunsetRes = std::optional<std::tuple<Timestamp, Timestamp>>
using Timestamp = std::chrono::system_clock::time_point
using Duration = Timestamp::duration
using HourDuration = std::chrono::duration<double, std::ratio<3600>>
using WayRef = std::shared_ptr<Way>
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 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.
using FillPartialStyle = PartialStyle<FillStyle, FillStyle::Attribute>
 Index selectors by type and level.
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.
using BorderPartialStyle = PartialStyle<BorderStyle, BorderStyle::Attribute>
 Index selectors by type and level.
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.
using TextPartialStyle = PartialStyle<TextStyle, TextStyle::Attribute>
 Index selectors by type and level.
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.
using ShieldPartialStyle = PartialStyle<ShieldStyle, ShieldStyle::Attribute>
 Index selectors by type and level.
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.
using PathShieldPartialStyle = PartialStyle<PathShieldStyle, PathShieldStyle::Attribute>
 Index selectors by type and level.
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.
using PathTextPartialStyle = PartialStyle<PathTextStyle, PathTextStyle::Attribute>
 Index selectors by type and level.
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.
using IconPartialStyle = PartialStyle<IconStyle, IconStyle::Attribute>
 Index selectors by type and level.
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.
using PathSymbolPartialStyle = PartialStyle<PathSymbolStyle, PathSymbolStyle::Attribute>
 Index selectors by type and level.
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.
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 IconLookupRef = std::shared_ptr<IconLookup>
using LocationEntryRef = std::shared_ptr<LocationEntry>
typedef std::shared_ptr< LookupModuleLookupModuleRef
using MapDownloaderRef = std::shared_ptr<MapDownloader>
using MapRendererRef = std::shared_ptr<MapRenderer>
using QtMediaPlayerState = QMediaPlayer::PlaybackState
using OSMScoutQtBuilderRef = std::shared_ptr<OSMScoutQtBuilder>
using OverlayObjectRef = std::shared_ptr<OverlayObject>
using QmlRoutingProfileRef = std::shared_ptr<QmlRoutingProfile>
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 class  DistanceUnitSystem { Metrics , Imperial }
enum class  LaneTurn : std::uint8_t {
  LaneTurn::Null = 0 , LaneTurn::None = 1 , LaneTurn::Left = 2 , LaneTurn::MergeToLeft = 3 ,
  LaneTurn::SlightLeft = 4 , LaneTurn::SharpLeft = 5 , LaneTurn::Through_Left = 6 , LaneTurn::Through_SlightLeft = 7 ,
  LaneTurn::Through_SharpLeft = 8 , LaneTurn::Through = 9 , LaneTurn::Through_Right = 10 , LaneTurn::Through_SlightRight = 11 ,
  LaneTurn::Through_SharpRight = 12 , LaneTurn::Right = 13 , LaneTurn::MergeToRight = 14 , LaneTurn::SlightRight = 15 ,
  LaneTurn::SharpRight = 16 , LaneTurn::Unknown = 17
}
enum  BinaryOperator {
  operatorLess , operatorLessEqual , operatorEqual , operatorGreaterEqual ,
  operatorGreater , operatorNotEqual
}
enum  RenderSteps : size_t {
  FirstStep = 0 , Initialize = 0 , DumpStatistics = 1 , CalculatePaths = 2 ,
  CalculateWayShields = 3 , ProcessAreas = 4 , ProcessRoutes = 5 , AfterPreprocessing = 6 ,
  Prerender = 7 , DrawBaseMapTiles = 8 , DrawGroundTiles = 9 , DrawOSMTileGrids = 10 ,
  DrawAreas = 11 , DrawWays = 12 , DrawWayDecorations = 13 , DrawWayContourLabels = 14 ,
  PrepareAreaLabels = 15 , DrawAreaBorderLabels = 16 , DrawAreaBorderSymbols = 17 , PrepareNodeLabels = 18 ,
  PrepareRouteLabels = 19 , DrawContourLines = 20 , DrawHillShading = 21 , DrawLabels = 22 ,
  Postrender = 23 , LastStep = 23
}
enum class  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 class  OffsetRel : int {
  base , leftOutline , rightOutline , laneDivider ,
  laneForwardLeft , laneForwardThroughLeft , laneForwardThrough , laneForwardThroughRight ,
  laneForwardRight , laneBackwardLeft , laneBackwardThroughLeft , laneBackwardThrough ,
  laneBackwardThroughRight , laneBackwardRight , sidecar
}
enum  RenderingType { PlaneRendering = 0 , TiledRendering = 1 }

Functions

OSMSCOUT_API bool SetThreadName (const std::string &name)
OSMSCOUT_API bool SetThreadName (std::thread &thread, const std::string &name)
OSMSCOUT_API Signal< std::thread::id > & ThreadExitSignal ()
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)
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 GetDirectory (const std::string &file)
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)
OSMSCOUT_API Vertex2D operator- (const Vertex2D &a, const Vertex2D &b)
OSMSCOUT_API Vertex2D operator+ (const Vertex2D &a, const Vertex2D &b)
OSMSCOUT_API Vertex2D operator* (const Vertex2D &a, double scale)
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)
std::ostream & operator<< (std::ostream &os, const Distance &distance)
Distance Meters (double m)
Distance Kilometers (double km)
double DegToRad (double deg)
double RadToDeg (double rad)
double AngleDiff (double a, double b)
template<class InputIt>
void GetBoundingBox (const InputIt first, const InputIt last, GeoBox &boundingBox)
template<typename N>
GeoBox GetBoundingBox (const std::vector< N > &nodes)
GeoBox GetBoundingBox (const std::vector< Point > &nodes)
template<typename N>
void GetBoundingBox (const std::vector< N > &nodes, GeoBox &boundingBox)
void GetBoundingBox (const std::vector< Point > &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::string OSMSCOUT_API LaneTurnString (LaneTurn turn)
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 GeoCoord PolygonCenter (const Area &area, double precision=1)
OSMSCOUT_API GeoCoord PolygonCenter (const std::vector< Point > &polygon, double precision=1)
OSMSCOUT_API std::ostream & operator<< (std::ostream &stream, const StopClock &stopClock)
OSMSCOUT_API std::ostream & operator<< (std::ostream &stream, const StopClockNano &stopClock)
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 std::string FloatToString (double value, const Locale &locale, uint32_t precision=3)
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 ReplaceString (const std::string &in, const std::string &search, const std::string &replacement)
OSMSCOUT_API std::optional< std::pair< std::string, std::string > > SplitStringToPair (const std::string &str, const std::string &separator)
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, const Locale &locale=Locale::ByEnvironmentSafe())
OSMSCOUT_API std::string ByteSizeToString (double size, const Locale &locale=Locale::ByEnvironmentSafe())
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)
OSMSCOUT_API std::string Trim (const std::string &str, char trimmedChar=' ')
OSMSCOUT_API SunriseSunsetRes GetSunriseSunset (const GeoCoord &location, const Timestamp &day, double sunAltitude)
OSMSCOUT_API SunriseSunsetRes GetCivilTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now())
OSMSCOUT_API SunriseSunsetRes GetNauticalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now())
OSMSCOUT_API SunriseSunsetRes GetAstronomicalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now())
OSMSCOUT_API SunriseSunsetRes GetSunriseSunset (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now())
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)
bool IsLaneOffset (OffsetRel rel)
OffsetRel ParseForwardTurnStringToOffset (LaneTurn turn)
OffsetRel ParseBackwardTurnStringToOffset (LaneTurn turn)
OSMSCOUT_MAP_CAIRO_API cairo_surface_t * LoadPNG (const std::string &filename)
OSMSCOUT_MAP_OPENGL_API osmscout::OpenGLTextureRef LoadPNGOpenGL (const std::string &filename)
bool OSMSCOUT_MAP_OPENGL_API LoadShaderSource (const std::string &dirPath, const std::string &name, std::string &result)
bool OSMSCOUT_MAP_OPENGL_API LoadShader (GLuint &shader, GLenum type, const std::string &name, const std::string &shaderSource)
bool operator== (const MapView &a, const MapView &b)
bool operator!= (const MapView &a, const MapView &b)
OSMSCOUT_CLIENT_QT_API std::vector< std::string > QStringListToStringVector (const QStringList &list)
OSMSCOUT_CLIENT_QT_API QStringList StringVectorToQStringList (const std::vector< std::string > &v)
OSMSCOUT_CLIENT_QT_API QDateTime TimestampToQDateTime (const osmscout::Timestamp &ts)
OSMSCOUT_CLIENT_QT_API QList< QDir > PathVectorToQDirList (const std::vector< std::filesystem::path > &paths)
template<typename T>
QList< T > vectorToQList (const std::vector< T > &vec)
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
OSMSCOUT_API Log log
constexpr bool debugRouting = false
static const double gradtorad =2*M_PI/360.0
static const TagId tagIgnore = 0
static const TypeId typeIgnore = 0
static const uint32_t FILE_FORMAT_VERSION =25
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
constexpr bool debugLabelLayouter = false
static const double GRAD_TO_RAD = 2 * M_PI / 360

Detailed Description

Typedef Documentation

◆ AccessFeatureValueReader

◆ AccessRestrictedFeatureReader

◆ AccessRestrictedFeatureValueReader

◆ AddressFeatureValueReader

◆ AddressRef

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

◆ AdminLevelFeatureValueReader

◆ AdminRegionRef

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

◆ AreaAreaIndexRef

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

◆ AreaDataFileRef

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

◆ AreaNodeIndexRef

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

◆ AreaRef

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

◆ AreaRouteIndexRef

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

◆ AreaWayIndexRef

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

◆ BasemapDatabaseRef

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

Reference counted reference to an Database instance.

◆ BorderConditionalStyle

using osmscout::BorderConditionalStyle = ConditionalStyle<BorderStyle, BorderStyle::Attribute>

◆ BorderPartialStyle

using osmscout::BorderPartialStyle = PartialStyle<BorderStyle, BorderStyle::Attribute>

Index selectors by type and level.

◆ BorderStyleLookupTable

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

List of selectors.

◆ BorderStyleRef

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

◆ BorderStyleSelector

using osmscout::BorderStyleSelector = StyleSelector<BorderStyle, BorderStyle::Attribute>

◆ BorderStyleSelectorList

◆ BoundingBoxDataFileRef

◆ BreakerRef

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

◆ BridgeFeatureReader

◆ CharacterTextureRef

◆ CirclePrimitiveRef

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

◆ ClockwiseDirectionFeatureReader

◆ CmdLineArgParserRef

◆ ColorFeatureValueReader

◆ ColorPostprocessor

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

◆ ConstructionYearFeatureValueReader

◆ CoverageIndexRef

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

◆ DatabaseId

using osmscout::DatabaseId = uint32_t

◆ DatabaseRef

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

Reference counted reference to an Database instance.

◆ DestinationFeatureValueReader

◆ DistanceUnitPtr

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

◆ DrawPrimitiveRef

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

◆ Duration

using osmscout::Duration = Timestamp::duration

◆ EleFeatureValueReader

◆ EmbankmentFeatureReader

◆ FastestPathRoutingProfileRef

◆ FeatureRef

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

◆ FeatureValueBufferRef

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

◆ FillConditionalStyle

using osmscout::FillConditionalStyle = ConditionalStyle<FillStyle, FillStyle::Attribute>

◆ FillPartialStyle

using osmscout::FillPartialStyle = PartialStyle<FillStyle, FillStyle::Attribute>

Index selectors by type and level.

◆ FillStyleLookupTable

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

List of selectors.

◆ FillStyleProcessorRef

◆ FillStyleRef

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

◆ FillStyleSelector

using osmscout::FillStyleSelector = StyleSelector<FillStyle, FillStyle::Attribute>

◆ FillStyleSelectorList

◆ FromToFeatureValueReader

◆ GradeFeatureValueReader

◆ HourDuration

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

◆ IconConditionalStyle

using osmscout::IconConditionalStyle = ConditionalStyle<IconStyle, IconStyle::Attribute>

◆ IconPartialStyle

using osmscout::IconPartialStyle = PartialStyle<IconStyle, IconStyle::Attribute>

Index selectors by type and level.

◆ IconStyleLookupTable

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

List of selectors.

◆ IconStyleRef

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

◆ IconStyleSelector

using osmscout::IconStyleSelector = StyleSelector<IconStyle, IconStyle::Attribute>

◆ IconStyleSelectorList

◆ ImportErrorReporterRef

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

◆ ImportModuleRef

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

◆ IsInFeatureValueReader

◆ JunctionRef

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

◆ LabelProviderFactoryRef

◆ LabelProviderRef

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

◆ LabelStyleRef

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

◆ LanesFeatureValueReader

◆ LayerFeatureValueReader

◆ LineConditionalStyle

using osmscout::LineConditionalStyle = ConditionalStyle<LineStyle,LineStyle::Attribute>

◆ LinePartialStyle

using osmscout::LinePartialStyle = PartialStyle<LineStyle,LineStyle::Attribute>

◆ LineStyleLookupTable

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

List of selectors.

◆ LineStyleRef

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

◆ LineStyleSelector

using osmscout::LineStyleSelector = StyleSelector<LineStyle,LineStyle::Attribute>

◆ LineStyleSelectorList

◆ LocationEntryRef

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

◆ LocationFeatureValueReader

◆ LocationIndexRef

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

◆ LocationRef

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

◆ MapDataRef

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

◆ MapRendererRef

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

◆ MapTileRef

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

◆ MaxSpeedFeatureValueReader

◆ NameAltFeatureValueReader

◆ NameFeatureLabelReader

◆ NameFeatureValueReader

◆ NameShortFeatureValueReader

◆ NavigationAgentRef

◆ NavigationMessageRef

◆ NetworkFeatureValueReader

◆ NodeDataFileRef

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

◆ NodeRef

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

◆ OpenGLTextureRef

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

◆ OperatorFeatureValueReader

◆ OptimizeAreasLowZoomRef

◆ OptimizeWaysLowZoomRef

◆ OverlayObjectRef

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

◆ PageId

using osmscout::PageId = uint64_t

◆ PathShieldConditionalStyle

◆ PathShieldPartialStyle

◆ PathShieldStyleLookupTable

List of selectors.

◆ PathShieldStyleRef

◆ PathShieldStyleSelector

◆ PathShieldStyleSelectorList

◆ PathSymbolConditionalStyle

using osmscout::PathSymbolConditionalStyle = ConditionalStyle<PathSymbolStyle, PathSymbolStyle::Attribute>

◆ PathSymbolPartialStyle

using osmscout::PathSymbolPartialStyle = PartialStyle<PathSymbolStyle, PathSymbolStyle::Attribute>

Index selectors by type and level.

◆ PathSymbolStyleLookupTable

List of selectors.

◆ PathSymbolStyleRef

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

◆ PathSymbolStyleSelector

using osmscout::PathSymbolStyleSelector = StyleSelector<PathSymbolStyle, PathSymbolStyle::Attribute>

◆ PathSymbolStyleSelectorList

◆ PathTextConditionalStyle

using osmscout::PathTextConditionalStyle = ConditionalStyle<PathTextStyle, PathTextStyle::Attribute>

◆ PathTextPartialStyle

using osmscout::PathTextPartialStyle = PartialStyle<PathTextStyle, PathTextStyle::Attribute>

Index selectors by type and level.

◆ PathTextStyleLookupTable

List of selectors.

◆ PathTextStyleRef

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

◆ PathTextStyleSelector

using osmscout::PathTextStyleSelector = StyleSelector<PathTextStyle, PathTextStyle::Attribute>

◆ PathTextStyleSelectorList

◆ POIRef

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

◆ PolygonPrimitiveRef

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

◆ PostalAreaRef

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

◆ PostalCodeFeatureValueReader

◆ PreprocessorFactoryRef

◆ PTRouteDataFileRef

◆ PTRouteRef

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

◆ QmlRoutingProfileRef

◆ QtGlyph

using osmscout::QtGlyph = Glyph<QGlyphRun>

◆ QtLabel

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

◆ QtLabelInstance

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

◆ QtMediaPlayerState

using osmscout::QtMediaPlayerState = QMediaPlayer::PlaybackState

◆ RawCoastlineRef

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

◆ RawCoordRef

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

◆ RawNodeRef

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

◆ RawRelationRef

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

◆ RawWayRef

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

◆ RectanglePrimitiveRef

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

◆ RefFeatureLabelReader

◆ RefFeatureValueReader

◆ RoundaboutFeatureReader

◆ RoutableObjectsMessageRef

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

◆ RoutableObjectsRef

◆ RouteDataFileRef

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

◆ RouteDescriptionRef

◆ RouteNodeRef

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

◆ RoutePointsRef

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

◆ RouteRef

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

◆ RoutingProfileRef

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

◆ ShieldConditionalStyle

◆ ShieldPartialStyle

Index selectors by type and level.

◆ ShieldStyleLookupTable

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

List of selectors.

◆ ShieldStyleRef

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

◆ ShieldStyleSelector

◆ ShieldStyleSelectorList

◆ ShortestPathRoutingProfileRef

◆ SizeConditionRef

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

◆ SRTMDataRef

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

◆ SRTMRef

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

◆ StringMatcherFactoryRef

◆ StringMatcherRef

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

◆ StyleAttributeDescriptorRef

◆ StyleConfigRef

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

◆ StyleConstantRef

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

◆ StyleDescriptorRef

◆ SunriseSunsetRes

using osmscout::SunriseSunsetRes = std::optional<std::tuple<Timestamp, Timestamp>>

◆ SymbolRef

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

◆ TagId

using osmscout::TagId = uint16_t

◆ TagMap

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

◆ TextConditionalStyle

using osmscout::TextConditionalStyle = ConditionalStyle<TextStyle, TextStyle::Attribute>

◆ TextPartialStyle

using osmscout::TextPartialStyle = PartialStyle<TextStyle, TextStyle::Attribute>

Index selectors by type and level.

◆ TextStyleLookupTable

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

List of selectors.

◆ TextStyleRef

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

◆ TextStyleSelector

using osmscout::TextStyleSelector = StyleSelector<TextStyle, TextStyle::Attribute>

◆ TextStyleSelectorList

◆ Timestamp

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

◆ TunnelFeatureReader

◆ TurnRestrictionRef

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

◆ TypeDistributionDataFileRef

◆ TypeInfoRef

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

◆ VehicleMask

using osmscout::VehicleMask = uint8_t

◆ WaterIndexRef

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

◆ WayDataFileRef

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

◆ WayRef

using osmscout::WayRef = 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

enum class osmscout::DistanceUnitSystem
strong
Enumerator
Metrics 
Imperial 

◆ OffsetRel

enum class 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

CalculatePaths 

Calculate the paths to draw based on the given ways.

CalculateWayShields 

Calculate the label shields on the ways.

ProcessAreas 

Process (complex) areas for rendering.

ProcessRoutes 

Process routes for rendering.

AfterPreprocessing 

Additional postprocessing.

Prerender 

Implementation specific preparation.

DrawBaseMapTiles 

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

DrawGroundTiles 

Same as previous, but from main db.

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 ( 0_5 )

◆ _PS_CONST() [2/12]

osmscout::_PS_CONST ( 0_66 )

◆ _PS_CONST() [3/12]

osmscout::_PS_CONST ( 0_87 )

◆ _PS_CONST() [4/12]

osmscout::_PS_CONST ( 1 )

◆ _PS_CONST() [5/12]

osmscout::_PS_CONST ( 1_32 )

◆ _PS_CONST() [6/12]

osmscout::_PS_CONST ( 1_74 )

◆ _PS_CONST() [7/12]

osmscout::_PS_CONST ( 2 )

◆ _PS_CONST() [8/12]

osmscout::_PS_CONST ( 2OPI )

◆ _PS_CONST() [9/12]

osmscout::_PS_CONST ( LOG_C_2 )

◆ _PS_CONST() [10/12]

osmscout::_PS_CONST ( log_inv_1_32 )

◆ _PS_CONST() [11/12]

osmscout::_PS_CONST ( log_inv_1_74 )

◆ _PS_CONST() [12/12]

osmscout::_PS_CONST ( PIO2 )

◆ _PS_CONST_TYPE() [1/8]

osmscout::_PS_CONST_TYPE ( 1022 ,
uint64_t  )

◆ _PS_CONST_TYPE() [2/8]

osmscout::_PS_CONST_TYPE ( 1_exp ,
uint64_t  )

◆ _PS_CONST_TYPE() [3/8]

osmscout::_PS_CONST_TYPE ( f_exp_mask ,
uint64_t  )

◆ _PS_CONST_TYPE() [4/8]

osmscout::_PS_CONST_TYPE ( f_fraction_mask ,
uint64_t  )

◆ _PS_CONST_TYPE() [5/8]

osmscout::_PS_CONST_TYPE ( f_one_mask ,
uint64_t  )

◆ _PS_CONST_TYPE() [6/8]

osmscout::_PS_CONST_TYPE ( sign_mask ,
uint64_t  )

◆ _PS_CONST_TYPE() [7/8]

osmscout::_PS_CONST_TYPE ( x01_double_mask ,
uint64_t  )

◆ _PS_CONST_TYPE() [8/8]

osmscout::_PS_CONST_TYPE ( x03FE_double_mask ,
uint64_t  )

◆ atanh_pd() [1/3]

double osmscout::atanh_pd ( double x)
inline

◆ atanh_pd() [2/3]

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

◆ atanh_pd() [3/3]

v2df osmscout::atanh_pd ( v2df x)
inline

◆ atanh_sin_pd() [1/3]

double osmscout::atanh_sin_pd ( double x)
inline

◆ atanh_sin_pd() [2/3]

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

◆ atanh_sin_pd() [3/3]

v2df osmscout::atanh_sin_pd ( v2df x)
inline

◆ Base64Decode()

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

◆ Base64Encode()

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

◆ BoolToString()

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

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,
const Locale & locale = Locale::ByEnvironmentSafe() )
extern

◆ CalculateDistancePointToLineSegment() [1/2]

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

◆ CalculateDistancePointToLineSegment() [2/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

◆ 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>
bool osmscout::ContourLabelSorter ( const ContourLabel< NativeGlyph > & a,
const ContourLabel< NativeGlyph > & b )
static

◆ CopyPolygonToCoordBuffer()

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

◆ cos_pd() [1/3]

double osmscout::cos_pd ( double x)
inline

◆ cos_pd() [2/3]

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

◆ cos_pd() [3/3]

v2df osmscout::cos_pd ( v2df x)
inline

◆ dangerous_sin_pd() [1/3]

double osmscout::dangerous_sin_pd ( double x)
inline

◆ dangerous_sin_pd() [2/3]

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

◆ dangerous_sin_pd() [3/3]

v2df osmscout::dangerous_sin_pd ( v2df x)
inline

◆ DistanceSquare()

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

◆ DistanceToSegment() [1/3]

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

◆ DistanceToSegment() [2/3]

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

◆ DistanceToSegment() [3/3]

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

◆ 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)
extern

◆ FloatToString()

OSMSCOUT_API std::string osmscout::FloatToString ( double value,
const Locale & locale,
uint32_t precision = 3 )
extern

Returns locale-aware string representation of number

Parameters
value
locale
precision
Returns
UTF-8 string

◆ GetAstronomicalTwilight()

OSMSCOUT_API SunriseSunsetRes osmscout::GetAstronomicalTwilight ( const GeoCoord & location,
const Timestamp & day = Timestamp::clock::now() )
extern

Calculate the astronomical twilight time for the given date and given location.

Parameters
dayThe day for which to calculate astronomical twilight
locationthe location
Returns
a two-element Gregorian Calendar array. The first element is the astronomical twilight dawn, the second element is the astronomical twilight dusk. This will return nullopt if there is no astronomical twilight. (Ex: no twilight in Antarctica in December)

◆ GetCivilTwilight()

OSMSCOUT_API SunriseSunsetRes osmscout::GetCivilTwilight ( const GeoCoord & location,
const Timestamp & day = Timestamp::clock::now() )
extern

Calculate the civil twilight time for the given date and given location.

Parameters
dayThe day for which to calculate civil twilight
locationthe location
Returns
a two-element Gregorian Calendar array. The first element is the civil twilight dawn, the second element is the civil twilight dusk. This will return nullopt if there is no civil twilight. (Ex: no twilight in Antarctica in December)

◆ GetNauticalTwilight()

OSMSCOUT_API SunriseSunsetRes osmscout::GetNauticalTwilight ( const GeoCoord & location,
const Timestamp & day = Timestamp::clock::now() )
extern

Calculate the nautical twilight time for the given date and given location.

Parameters
dayThe day for which to calculate nautical twilight
locationthe location
Returns
a two-element Gregorian Calendar array. The first element is the nautical twilight dawn, the second element is the nautical twilight dusk. This will return nullopt if there is no nautical twilight. (Ex: no twilight in Antarctica in December)

◆ 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)

◆ GetSunriseSunset() [1/2]

OSMSCOUT_API SunriseSunsetRes osmscout::GetSunriseSunset ( const GeoCoord & location,
const Timestamp & day,
double sunAltitude )
extern

Calculate the sunrise and sunset times for the given date, given location, and sun altitude. This is based on the Wikipedia article on the Sunrise equation.

Parameters
dayThe day for which to calculate sunrise and sunset
locationthe location
sunAltitudethe angle between the horizon and the center of the sun's disc.
Returns
a two-element Gregorian Calendar array. The first element is the sunrise, the second element is the sunset. This will return nullopt if there is no sunrise or sunset. (Ex: no sunrise in Antarctica in June)
See also
Sunrise equation on Wikipedia

◆ GetSunriseSunset() [2/2]

OSMSCOUT_API SunriseSunsetRes osmscout::GetSunriseSunset ( const GeoCoord & location,
const Timestamp & day = Timestamp::clock::now() )
extern

Calculate the sunrise and sunset times for the given date and given location. This is based on the Wikipedia article on the Sunrise equation.

Parameters
dayThe day for which to calculate sunrise and sunset
locationthe location
Returns
a two-element Gregorian Calendar array. The first element is the sunrise, the second element is the sunset. This will return nullopt if there is no sunrise or sunset. (Ex: no sunrise in Antarctica in June)
See also
Sunrise equation on Wikipedia

◆ GetTokensFromEnd()

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

◆ GetTokensFromStart()

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

◆ IsLaneOffset()

bool osmscout::IsLaneOffset ( OffsetRel rel)
extern

◆ IsValidToWrite()

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

◆ Kilometers()

Distance osmscout::Kilometers ( double km)
inline

◆ LabelInstanceSorter()

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

◆ LaneTurnString()

std::string OSMSCOUT_API osmscout::LaneTurnString ( LaneTurn turn)

◆ 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)

◆ LoadShader()

bool OSMSCOUT_MAP_OPENGL_API osmscout::LoadShader ( GLuint & shader,
GLenum type,
const std::string & name,
const std::string & shaderSource )

◆ LoadShaderSource()

bool OSMSCOUT_MAP_OPENGL_API osmscout::LoadShaderSource ( const std::string & dirPath,
const std::string & name,
std::string & result )

◆ log_pd() [1/3]

double osmscout::log_pd ( double x)
inline

◆ log_pd() [2/3]

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

◆ log_pd() [3/3]

v2df osmscout::log_pd ( v2df x)
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 )
extern

Returns locale-aware string representation of number

Parameters
value
locale
Returns
UTF-8 string

◆ operator!=()

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

◆ operator*()

OSMSCOUT_API Vertex2D osmscout::operator* ( const Vertex2D & a,
double scale )

◆ operator+() [1/3]

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

◆ operator+() [2/3]

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

◆ operator+() [3/3]

OSMSCOUT_API Vertex2D osmscout::operator+ ( const Vertex2D & a,
const Vertex2D & b )

◆ operator-()

OSMSCOUT_API Vertex2D osmscout::operator- ( const Vertex2D & a,
const Vertex2D & b )

◆ operator<()

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

◆ operator<<() [1/7]

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

◆ operator<<() [2/7]

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

◆ operator<<() [3/7]

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

◆ operator<<() [4/7]

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

◆ operator<<() [5/7]

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

◆ operator<<() [6/7]

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

◆ operator<<() [7/7]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ OptimizeArea()

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

Optimize a already transformed area

◆ OptimizeWay()

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

Optimize a already transformed way

◆ ParseBackwardTurnStringToOffset()

OffsetRel osmscout::ParseBackwardTurnStringToOffset ( LaneTurn turn)
extern

◆ ParseBoolArgument()

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

◆ ParseForwardTurnStringToOffset()

OffsetRel osmscout::ParseForwardTurnStringToOffset ( LaneTurn turn)
extern

◆ ParseISO8601TimeString()

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

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 )
extern

◆ ParseStringArgument()

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

◆ ParseUInt32Argument()

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

◆ PathVectorToQDirList()

OSMSCOUT_CLIENT_QT_API QList< QDir > osmscout::PathVectorToQDirList ( const std::vector< std::filesystem::path > & paths)
extern

◆ PolygonCenter()

OSMSCOUT_API GeoCoord osmscout::PolygonCenter ( const std::vector< Point > & polygon,
double precision = 1 )
extern

◆ Pow()

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

◆ qHash()

uint osmscout::qHash ( const TileCacheKey & key)

◆ QStringListToStringVector()

OSMSCOUT_CLIENT_QT_API std::vector< std::string > osmscout::QStringListToStringVector ( const QStringList & list)
extern

◆ ReadFile()

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

◆ SetThreadName() [1/2]

OSMSCOUT_API bool osmscout::SetThreadName ( const std::string & name)
extern

Try to set current thread name.

Parameters
name
Returns
true if supported and successful, else otherwise

◆ SetThreadName() [2/2]

OSMSCOUT_API bool osmscout::SetThreadName ( std::thread & thread,
const std::string & name )
extern

Try to set thread name

Parameters
thread
name
Returns
true if supported and successful, else otherwise

◆ sin_cos_pd()

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

◆ sin_pd() [1/3]

double osmscout::sin_pd ( double x)
inline

◆ sin_pd() [2/3]

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

◆ sin_pd() [3/3]

v2df osmscout::sin_pd ( v2df x)
inline

◆ sincos()

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

◆ SplitStringToPair()

OSMSCOUT_API std::optional< std::pair< std::string, std::string > > osmscout::SplitStringToPair ( const std::string & str,
const std::string & separator )
extern

Split string by separator to two parts. Unlike SplitString with maxSize=2, second element contains the rest of the string after first separator. When no separator found, nullopt is returned.

Note
when str is empty nullopt is returned
separator must not be empty
when string ends with separator, and there is just one, second element is empty

◆ 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 )

◆ StringVectorToQStringList()

OSMSCOUT_CLIENT_QT_API QStringList osmscout::StringVectorToQStringList ( const std::vector< std::string > & v)
extern

◆ ThreadExitSignal()

OSMSCOUT_API Signal< std::thread::id > & osmscout::ThreadExitSignal ( )
extern

Signal that is emitted on thread exit. It is not guaranteed that signal will be emitted for all threads, some threads may be still running on program exit. For example detached thread, global scheduler threads, when std::exit is called...

◆ TimestampToISO8601TimeString()

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

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

Parameters
timestamp
Returns
time string

◆ TimestampToQDateTime()

OSMSCOUT_CLIENT_QT_API QDateTime osmscout::TimestampToQDateTime ( const osmscout::Timestamp & ts)
extern

◆ 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 )
extern

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 )
extern

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

◆ Trim()

OSMSCOUT_API std::string osmscout::Trim ( const std::string & str,
char trimmedChar = ' ' )
extern

Trim trimmedChar from begin and end of str.

◆ UTF8NormForLookup()

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

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)
extern

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)
extern

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)
extern

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

◆ vectorToQList()

template<typename T>
QList< T > osmscout::vectorToQList ( const std::vector< T > & vec)

◆ WriteGpx() [1/2]

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

◆ WriteGpx() [2/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...

Variable Documentation

◆ Base64Chars

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

◆ 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
extern

◆ debugLabelLayouter

bool osmscout::debugLabelLayouter = false
constexpr

◆ debugRouting

bool osmscout::debugRouting = false
constexpr

◆ FILE_FORMAT_VERSION

const uint32_t osmscout::FILE_FORMAT_VERSION =25
static

◆ gradtorad

const double osmscout::gradtorad =2*M_PI/360.0
static

◆ maxRawCoordValue

uint32_t osmscout::maxRawCoordValue = 0x7FFFFFF
constexpr