libosmscout 0.1
|
Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license. More...
Namespaces | |
namespace | FileDownloaderConfig |
namespace | oss |
namespace | ost |
Classes | |
class | AbstractRoutingProfile |
Common base class for our concrete profile instantiations. More... | |
class | AbstractRoutingService |
Abstract algorithms for routing. More... | |
class | AccessFeature |
class | AccessFeatureValue |
class | AccessRestrictedFeature |
AccessRestriction signals, if there is some access restriction for a given way and a given vehicle. More... | |
class | AccessRestrictedFeatureValue |
struct | AccumulatorEvent |
class | Address |
An address is a unique place at a given location, normally a building that is address by its house number. More... | |
class | AddressFeature |
class | AddressFeatureValue |
The address feature stores the house number of an (normally) node or area. More... | |
class | AddressListVisitor |
class | AddressVisitor |
Visitor that gets called for every address found at a given location. More... | |
class | AdminLevelFeature |
class | AdminLevelFeatureValue |
class | AdminRegion |
A named administrative region. More... | |
class | AdminRegionVisitor |
Visitor that gets called for every region found. More... | |
class | Area |
Representation of an (complex/multipolygon) area. More... | |
class | AreaAreaIndex |
AreaAreaIndex allows you to find areas in a given region. More... | |
class | AreaDataFile |
Abstraction for getting cached access to the 'ways.dat' file. More... | |
class | AreaIndex |
Generic area index for lookup objects by area. More... | |
class | AreaNodeIndex |
AreaWayIndex allows you to find ways and way relations in a given area. More... | |
class | AreaRegionSearchResult |
class | AreaRegionSearchResultEntry |
class | AreaRouteIndex |
AreaRouteIndex allows you to find routes and way relations in a given area. More... | |
class | AreaSearchParameter |
Parameter to influence the search result for searching for (drawable) objects in a given area. More... | |
class | AreaWayIndex |
AreaWayIndex allows you to find ways and way relations in a given area. More... | |
class | ArrivalEstimateAgent |
struct | ArrivalEstimateMessage |
class | AsyncWorker |
Async worker provides simple tool for providing asynchronous method calls. More... | |
class | AvailableMapsModel |
Tree model with maps available by configured providers (see Settings::GetMapProviders). More... | |
class | AvailableMapsModelDir |
Model item representing directory in AvailableMapsModel. More... | |
class | AvailableMapsModelItem |
Abstract model item used in AvailableMapsModel. More... | |
class | AvailableMapsModelMap |
Model item representing map in AvailableMapsModel. More... | |
class | AvailableVoice |
class | AvailableVoicesModel |
List model with voices available by configured providers (see Settings::GetVoiceProviders). More... | |
class | BasemapDatabase |
Central access class to all the individual data files and indexes of the basemap. More... | |
class | BasemapDatabaseParameter |
BasemapDatabase instance initialization parameter to influence the behavior of the db instance. More... | |
class | BatchMapPainter |
Batch renderer helps to render map based on multiple databases. More... | |
class | BatchMapPainterQt |
Qt specific MapPainterBatch. More... | |
class | Bearing |
class | BearingAgent |
struct | BearingChangedMessage |
class | BorderStyle |
Style options for borders around an area. More... | |
class | BoundingBoxDataFile |
DataFile class for loading the bounding box of the db. More... | |
class | BrandFeature |
class | BrandFeatureValue |
class | Breaker |
A breaker object instance allows to trigger cancelation of long running processes. More... | |
class | BridgeFeature |
class | BuildingFeature |
class | Cache |
Generic FIFO cache implementation with O(n log n) semantic. More... | |
class | CancelableFuture |
Future provides mechanism to access result of asynchronous computation. More... | |
class | CapStyleEnumAttributeDescriptor |
struct | CellDimension |
class | CharacterTexture |
class | ChargingStationDescriptionProcessor |
ingroup Description More... | |
class | ChargingStationFeature |
class | ChargingStationFeatureValue |
class | CirclePrimitive |
class | ClockwiseDirectionFeature |
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 | Color |
Representation of a color with red, green and blue value (RGB) and a alpha channel. More... | |
class | ColorFeature |
class | ColorFeatureValue |
class | CommercialDescriptionProcessor |
ingroup Description More... | |
struct | ConditionalStyle |
A line in a style sheet. More... | |
class | ConsoleLogger |
The console logger extends the StreamLogger by assigning std::cout for normal logging output and std::cerr for error output. More... | |
class | ConsoleProgress |
class | ConstructionYearFeature |
class | ConstructionYearFeatureValue |
class | Consumer |
A specialisation of worker that consumes events from a queue. More... | |
class | ContactDescriptionProcessor |
ingroup Description More... | |
class | ContourLabel |
class | ContourLabelPositioner |
struct | ContoursData |
class | CoordBuffer |
Buffer structure for Vertex2D data. More... | |
class | CoordBufferRange |
Hold a reference to a range of data within a CoordBuffer. More... | |
class | CoordDataFile |
class | CoverageIndex |
CoverageIndex allows you to check for tiles that hold map data (for this db). More... | |
struct | CurrentSpeedMessage |
class | DataAgent |
class | Database |
Central access class to all the individual data files and indexes. More... | |
class | DatabaseParameter |
Database instance initialization parameter to influence the behavior of the db instance. More... | |
struct | DataBlockSpan |
Reference a range of data entries by giving the offset of the first entry in the file and the number of data elements. More... | |
class | DataFile |
Access to standard format data files. More... | |
class | DataTileCache |
Data cache using tile based cache pages. More... | |
struct | DBFileOffset |
Helper structure to implement a reference to a routing node in a given db (identified by a unique index). More... | |
struct | DBId |
Helper structure to implement a reference to a routing node in a given db (identified by a unique index). More... | |
class | DBLoadJob |
class | DBRenderJob |
class | DebugDatabase |
Secondary Database class for accessing debug information not normally available on the target device. More... | |
class | DebugDatabaseParameter |
Database instance initialization parameter to influence the behavior of the db instance. More... | |
struct | DecodeNumberTemplated |
struct | DecodeNumberTemplated< false, N > |
struct | DecodeNumberTemplated< true, N > |
class | DescriptionEntry |
ingroup Description More... | |
class | DescriptionService |
Service,to get a structured description of an object on the map (Area, Way or Node). More... | |
class | DestinationFeature |
class | DestinationFeatureValue |
class | Distance |
struct | DistanceUnit |
class | DownloadJob |
Class that provide abstraction for download job of multiple files in sequence. More... | |
class | DragHandler |
InputHandler with support of dragg gesture. More... | |
class | DrawPrimitive |
class | DynamicFeatureLabelReader |
Generates a label based on a given feature name and label name. More... | |
class | DynamicFeatureReader |
Variant of FeatureReader that is not type set and thus can easier get used in cases where runtime dynamics are required and features are referenced by name and not by type. More... | |
class | Earth |
Some general information regarding the earth. More... | |
class | EleFeature |
class | EleFeatureValue |
class | ElevationChartWidget |
class | ElevationModule |
struct | ElevationPoint |
class | ElevationService |
class | EmbankmentFeature |
struct | EncodeNumberTemplated |
struct | EncodeNumberTemplated< false, N > |
struct | EncodeNumberTemplated< true, N > |
class | FastestPathRoutingProfile |
Profile that defines costs base of the time the traveling device needs for a certain way resulting in the fastest path chosen (cost=distance/speedForWayType). More... | |
class | Feature |
A feature combines one or multiple tags to build information attribute for a type. More... | |
struct | FeatureFilterData |
class | FeatureInstance |
An instantiation of a feature for a certain type. More... | |
class | FeatureLabelReader |
class | FeatureReader |
Helper template class for easy access to flag-like Features. More... | |
class | FeatureToDescriptionProcessor |
ingroup Description More... | |
class | FeatureValue |
class | FeatureValueBuffer |
A FeatureValueBuffer is instantiated by an object and holds information about the type of the object, the features and feature values available for the given object. More... | |
class | FeatureValueReader |
Helper template class for easy access to the value of a certain feature for objects of any type. More... | |
class | FeeFeature |
class | FeeFeatureValue |
struct | Feet |
class | FileDownloader |
Downloads a file specified by URL. More... | |
class | FileScanner |
FileScanner implements platform independent sequential scanning-like access to data in files. More... | |
class | FileWriter |
FileScanner implements platform independent writing to data in files. More... | |
class | FillStyle |
Style options for filling an area. More... | |
class | FillStyleProcessor |
struct | FixedPixelRatio |
class | FreeTextSearchRunnable |
class | FromToFeature |
class | FromToFeatureValue |
class | GeneralDescriptionProcessor |
ingroup Description More... | |
class | GeoBox |
Anonymous geographic rectangular bounding box. More... | |
class | GeoBoxPartitioner |
Helper class to divide a given GeoBox in multiple equally sized parts. More... | |
class | GeoCoord |
Anonymous geographic coordinate. More... | |
class | GeometryDescriptionProcessor |
ingroup Description More... | |
class | Glyph |
struct | GPSUpdateMessage |
Message to pass to the NavigationEngine each time gps state has changed. More... | |
class | GradeFeature |
class | GradeFeatureValue |
struct | GroundTile |
A single ground tile cell. More... | |
class | HTMLWriter |
HTMLWriter allows easy generation of HTML web pages containing OSM based reports. More... | |
class | IconAnimation |
class | IconLookup |
class | IconStyle |
The icon style allow the rendering of external images or internal symbols. More... | |
class | INameLabelProviderFactory |
class | IndexedDataFile |
Extension of DataFile to allow loading data not only by offset but by id using an additional index file, mapping objects id to object file offset. More... | |
struct | InitializeMessage |
Message send once at the beginning to make sure everything initializes correctly and to make it possible that agents can send messages on initialization. More... | |
class | InputHandler |
Input handler retrieve all inputs from user and may change MapView (emits viewChange signal). More... | |
class | InstalledMapsModel |
Model providing access to currently installed maps on device. More... | |
class | InstalledVoicesModel |
Model providing access to currently installed voices on device. More... | |
class | Intersection |
A Intersection is a node, where multiple routeable ways or areas meet. More... | |
class | IOException |
class | IsInFeature |
class | IsInFeatureValue |
class | JumpHandler |
Input handler that animates jumps to target map view. More... | |
struct | Kilometer |
class | Label |
Position independent representation of layouted label. More... | |
class | LabelData |
class | LabelInstance |
class | LabelLayouter |
class | LabelPath |
Helper for rendering labels following some path. More... | |
class | LabelProvider |
Interface one must implement to provider a label for the map. More... | |
class | LabelProviderFactory |
class | LabelStyle |
Abstract base class for all (point) labels. More... | |
class | LaneAgent |
class | LanesFeature |
class | LanesFeatureValue |
class | Latch |
This implements a pure C++ Latch providing lock-S (shared) and lock-X (exclusive). More... | |
class | LayerFeature |
class | LayerFeatureValue |
class | LineStyle |
Style options for a line. More... | |
class | Locale |
class | Location |
A location is a named point, way, area or relation on the map. More... | |
class | LocationAtPlaceDescription |
Description of a location based on the GeoCoord of that location. More... | |
class | LocationCoordDescription |
Description of a location based on the GeoCoord of that location. More... | |
class | LocationCrossingDescription |
Description of a location based on a nearby crossing. More... | |
class | LocationDescription |
A LocationDescription objects holds various alternative (and optional) descriptions of the given locations. More... | |
class | LocationDescriptionCandicate |
class | LocationDescriptionProcessor |
ingroup Description More... | |
class | LocationDescriptionService |
The LocationService offers a number of methods for location lookup ( search for a certain location by its name) and location reverse lookup (retrieve the name of a location). More... | |
class | LocationEntry |
Qt abstraction for various objects on map, used for search and routing. More... | |
class | LocationFeature |
The location feature stores the location of an (normally) node or area. More... | |
class | LocationFeatureValue |
class | LocationFormSearchParameter |
Parameter object for form based search of a location. More... | |
class | LocationIndex |
Location index returns objects by names (the name should be changed). More... | |
class | LocationInfoModel |
class | LocationListModel |
Model for searching objects in osmscout databases by pattern written by human. More... | |
class | LocationSearchResult |
The result of a location query. More... | |
class | LocationService |
The LocationService offers a number of methods for location lookup ( search for a certain location by its name) and location reverse lookup (retrieve the name of a location). More... | |
class | LocationStringSearchParameter |
Parameter object for string pattern based search for a location or a POI. More... | |
class | LocationVisitor |
Visitor that gets called for every location found in the given area. More... | |
class | LocationWayDescription |
Description of a location based on a nearby way. More... | |
class | LockHandler |
Input handler that locks map view to current position. More... | |
class | Log |
Simple logging proxy object that encapsulates one exchangeable global logger instance. More... | |
class | Logger |
A logger is a special output stream. More... | |
class | LookupModule |
class | Magnification |
class | MagnificationConverter |
class | MagnificationLevel |
class | MapData |
This is the data structure holding all to be rendered data. More... | |
class | MapDownloader |
Manager of map databases. More... | |
class | MapDownloadJob |
Utility class for downloading map db described by AvailableMapsModelMap over http. More... | |
class | MapDownloadsModel |
QML list model with currently downloaded maps. More... | |
struct | MapIcon |
class | MapObjectInfoModel |
class | MapOverlay |
class | MapPainter |
Abstract base class of all renders (though you can always write your own renderer without inheriting from this class) It implements the general rendering algorithm. More... | |
class | MapPainterAgg |
class | MapPainterCairo |
class | MapPainterNoOp |
Simple renderer that does nothing. More... | |
class | MapPainterOpenGL |
class | MapPainterQt |
Implementation of MapPainter for Qt. More... | |
class | MapPainterStatistics |
class | MapPainterSVG |
class | MapParameter |
Collection of Parameter that parametrize and influence drawing of the map. More... | |
class | MapRenderer |
class | MapService |
MapService offers services for retrieving data in a way that is helpful for drawing maps. More... | |
class | MapStyleModel |
class | MapTile |
class | MapTileCache |
class | MapView |
Object thats carry information about view center, angle and magnification. More... | |
class | MapWidget |
Qt Quick widget for displaying map. More... | |
struct | MaxAllowedSpeedMessage |
class | MaxSpeedFeature |
class | MaxSpeedFeatureValue |
class | MaxStayFeature |
class | MaxStayFeatureValue |
class | MemoryMonitor |
Starts a background thread that checks every 200ms the current memory usage of the current process and accumulates it to return the maximum memory usage since start or reset. More... | |
class | MercatorProjection |
Mercator projection that tries to render the resulting map in the same physical size on all devices. More... | |
class | Meter |
struct | Mile |
class | MoveAccumulator |
Helper class that accumulates move (touch events) within some time period (time defined FIFO queue). More... | |
class | MoveHandler |
Handler with support of simple moves and zoom. More... | |
class | MultiDBRoutingService |
Util class for routing cross databases. More... | |
class | MultiDBRoutingState |
State for MultiDBRoutingService. More... | |
class | MultitouchHandler |
InputHandler with support of multitouch input. More... | |
class | NameAltFeature |
class | NameAltFeatureValue |
class | NameFeature |
class | NameFeatureValue |
class | NameShortFeature |
class | NameShortFeatureValue |
class | Navigation |
class | NavigationAgent |
class | NavigationEngine |
struct | NavigationMessage |
Base class for all navigation messages. More... | |
class | NavigationModel |
Model providing navigation functionality to QML. More... | |
class | NavigationModule |
class | NearPOIModel |
class | NetworkFeature |
class | NetworkFeatureValue |
struct | NextRouteInstructionsMessage |
class | Node |
class | NodeDataFile |
Abstraction for getting cached access to the 'nodes.dat' file. More... | |
class | NodeRegionSearchResult |
class | NodeRegionSearchResultEntry |
class | NodeUseMap |
The NodeUseMap can be used to efficiently check if an id used at least twice. More... | |
class | NoOpLogger |
Special Logger that just does not output the logged information. More... | |
class | NumberSet |
class | NumericIndex |
Numeric index handles an index over instance of class <T> where the index criteria is of type <N>, where <N> has a numeric nature (usually Id). More... | |
class | ObjectDescription |
ingroup Description More... | |
class | ObjectFileRef |
Reference to an libosmscout internal object by its type (area, way, node) and by its file offset within its data file. More... | |
class | ObjectFileRefByFileOffsetComparator |
Comparator to sort ObjectFileRefs strictly by increasing file offset. More... | |
class | ObjectFileRefStreamReader |
Read back a stream of sorted ObjectFileRefs as written by the ObjectFileRefStreamWriter. More... | |
class | ObjectFileRefStreamWriter |
Efficiently (in disk space handling) write a number of (sorted by file offset) ObjectFileRefs. More... | |
struct | ObjectKey |
class | ObjectOSMRef |
Reference to an OSM object by its type (Node, Way, Relation) and its OSM object id. More... | |
class | ObjectPool |
struct | ObjectVariantData |
For every unique combination of object attributes that are routing relevant we store an ObjectvariantData entry. More... | |
class | ObjectVariantDataFile |
DataFile class for loading the object variant data, which is part of the routing graph. More... | |
class | OffsetRelAttributeDescriptor |
class | OnlineTileProviderModel |
Provide Qt model with loaded online tile providers (see Settings::loadOnlineTileProviders). More... | |
class | OpenGLMapData |
class | OpenGLProjection |
class | OpenGLTexture |
class | OpeningHours |
Utility for parsing simple OpenStreetMap opening hours. More... | |
class | OpeningHoursFeature |
class | OpeningHoursFeatureValue |
class | OpeningHoursModel |
QML Component for parsing OSM opening hours. More... | |
class | OperatorFeature |
class | OperatorFeatureValue |
class | OptimizeAreasLowZoom |
class | OptimizeWaysLowZoom |
class | OSMScoutException |
class | OSMScoutQt |
Singleton that provides access to high level modules of OSMScout library. More... | |
class | OSMScoutQtBuilder |
class | OSMTile |
class | OsmTileDownloader |
class | OSMTileId |
Representation of the x and y coordinate of a OSM tile. More... | |
class | OSMTileIdBox |
A bounding box defined by two tile ids that span a rectangular region (in tile coordinate system) More... | |
class | OSMTileIdBoxConstIterator |
class | OutputDescription |
class | OverlayArea |
class | OverlayNode |
class | OverlayObject |
Qt abstraction for various objects on map, used for search and routing. More... | |
class | OverlayWay |
struct | PartialStyle |
A Style together with a set of the attributes that are explicitly set in the style. More... | |
struct | PartialStyleBase |
class | Path |
A path is defined by the way to be used and the node id of a node on this way which is the target to reach. More... | |
struct | PathIntersection |
Information about intersection of two paths. More... | |
class | PathLabelData |
class | PathShieldStyle |
A style defining repetive drawing of a shield label along a path. More... | |
class | PathSymbolStyle |
Style for repetive drawing of symbols on top of a path. More... | |
class | PathTextStyle |
A style for drawing text onto a path, the text following the contour of the path. More... | |
class | PaymentDescriptionProcessor |
ingroup Description More... | |
class | PersistentCookieJar |
class | PhoneFeature |
class | PhoneFeatureValue |
class | Pipe |
A specialisation of worker. More... | |
struct | Pixel |
Representation of a pixel on a display or a plane. More... | |
class | Place |
A Place description a certain place in respect to the location index. More... | |
class | PlaneMapRenderer |
class | POI |
A POI is an object within an area, which has been indexed by its name. More... | |
class | POIFormSearchParameter |
Parameter object for form based search of a POI (point of interest) More... | |
class | Point |
A point is a identifiable (has an id) geo-coordinate. More... | |
class | POIService |
The POIServices offers methods special to working with POIs. More... | |
class | POIVisitor |
Visitor that gets called for every POI found in the given area. More... | |
class | PolygonMerger |
class | PolygonPrimitive |
class | PositionAgent |
This agent pin position of vehicle to most probable routable object. More... | |
class | PostalArea |
class | PostalCodeFeature |
class | PostalCodeFeatureValue |
class | PostprocessorContext |
class | PresenceDescriptionProcessor |
ingroup Description More... | |
class | ProcessingQueue |
A ProcessingQueue is a special multi-threaded safe implementation of a queue. More... | |
class | Producer |
A specialisation of Worker. More... | |
class | Progress |
class | Projection |
The Projection class is an abstract base class for multiple projection implementations. More... | |
class | PTRoute |
Representation of a public transport route. More... | |
class | PTRouteDataFile |
Abstraction for getting cached access to the 'ptroute.dat' file. More... | |
class | QmlRoutingProfile |
Routing profile. More... | |
class | QmlSettings |
Provides interface to Settings object from QML. More... | |
class | QtRouteData |
Representation of computed route. More... | |
class | QtSettingsStorage |
class | ReadLock |
class | RectanglePrimitive |
class | RefFeature |
class | RefFeatureValue |
class | RenderModeEnumAttributeDescriptor |
struct | RequestState |
struct | RerouteRequestMessage |
Message created when we should compute new route. More... | |
class | RoundaboutFeature |
struct | RoutableDBObjects |
struct | RoutableObjects |
struct | RoutableObjectsMessage |
Message to pass to the NavigationEngine with routable objects around current possition. More... | |
struct | RoutableObjectsRequestMessage |
class | Route |
Representation of route. More... | |
class | RouteData |
class | RouteDataFile |
Abstraction for getting cached access to the 'routes.dat' file. More... | |
class | RouteDescription |
Description of a route, enhanced with information that are required to give a human textual (or narrative) drive instructions;. More... | |
class | RouteDescriptionBuilder |
class | RouteDescriptionPostprocessor |
The RouteDescriptionPostprocessor does all the heavy lifting of creating the various available Postprocessors, evaluate their feedback and map it onto a set of real-life situation callback methods. More... | |
class | RouteDescriptionResult |
class | RouteInstructionAgent |
struct | RouteInstructionsMessage |
class | RouteNode |
A route node is the representation of a node in the routing graph. More... | |
class | RouteNodeDataFile |
struct | RoutePoints |
class | RoutePointsResult |
class | RoutePosition |
Start or end position of a route calculation. More... | |
class | RoutePositionResult |
class | RoutePostprocessor |
RouteProcessor allows to enhance the raw routing information from the routing algorithm with additional information like way names, turns and similar by traversing the route and its objects. More... | |
class | Router |
class | RouterParameter |
Database instance initialization parameter to influence the behavior of the db instance. More... | |
class | RouteStateAgent |
class | RouteStep |
Human representation of route step commands. More... | |
struct | RouteUpdateMessage |
Message to pass to the NavigationEngine each time the calculated route changes. More... | |
class | RouteWayResult |
class | RoutingDatabase |
Encapsulation of the routing relevant data files, similar to Database. More... | |
class | RoutingDescriptionProcessor |
ingroup Description More... | |
class | RoutingListModel |
class | RoutingParameter |
Parameter object for routing calculations. More... | |
class | RoutingProfile |
Abstract interface for a routing profile. More... | |
class | RoutingProgress |
Optional callback object for monitoring routing progress. More... | |
class | RoutingResult |
Result of a routing calculation. More... | |
class | RoutingService |
Abstract algorithms for routing. More... | |
struct | ScanCell |
class | ScopeGuard |
ScopeGuard utility calls its constructor parameter (callable type) in it's destructor (on the end of the scope) More... | |
class | ScreenBox |
Anonymous screen rectangular bounding box. More... | |
class | ScreenMask |
struct | ScreenPixelRatio |
struct | ScreenPixelRectangle |
class | ScreenRectMask |
Holds a rectangular bit mask. More... | |
struct | ScreenVectorRectangle |
class | SearchLocationsRunnable |
class | SearchModule |
class | SearchRunnable |
struct | Segment |
struct | SegmentGeoBox |
class | ShieldStyle |
A shield or plate label (text placed on a plate). More... | |
class | ShortestPathRoutingProfile |
Profile that defines costs in a way that the shortest way is chosen (cost==distance). More... | |
class | SidewayFeature |
class | SidewayFeatureValue |
class | Signal |
Signal and Slot is tool for connecting source of events and its consumers. More... | |
class | SilentProgress |
class | SilentTagErrorReporter |
class | SimpleRoutingService |
The RoutingService implements functionality in the context of routing. More... | |
class | SizeCondition |
class | Slot |
class | SpeedAgent |
struct | SpeedVariant |
Possible route speed variants by its grade. More... | |
class | SRTM |
Read elevation data in hgt format. More... | |
class | SRTMData |
class | StopClock |
Simple stop clock implementation. More... | |
class | StopClockNano |
Copy of the StopClock implementation but using a high_resolution timer and by default return nano seconds. More... | |
class | StreamLogger |
The StreamLogger allows to direct logging output to a standard library std::ostream. More... | |
class | StringMatcher |
class | StringMatcherCI |
class | StringMatcherCIFactory |
class | StringMatcherFactory |
class | StringMatcherTransliterate |
class | StringMatcherTransliterateFactory |
struct | StringToNumberTemplated |
struct | StringToNumberTemplated< false, N > |
struct | StringToNumberTemplated< true, N > |
class | Style |
Interface class that offers a medium generic interface for styles classes. More... | |
class | StyleAttributeDescriptor |
Base class for all attribute metadata. More... | |
class | StyleBoolAttributeDescriptor |
Describes a bool attribute value. More... | |
class | StyleColorAttributeDescriptor |
Describes a color attribute value. More... | |
class | StyleConfig |
Index selectors by type and level. More... | |
class | StyleConstant |
class | StyleConstantColor |
class | StyleConstantMag |
class | StyleConstantUInt |
class | StyleConstantWidth |
class | StyleCriteria |
Holds all filter criteria (minus type and zoom level criteria which are directly handled by the lookup table) for a concrete style which have to evaluated during runtime. More... | |
class | StyleDescriptor |
Holds Meta information and technical description of a style. More... | |
class | StyleDisplayAttributeDescriptor |
Describes a display size (using 'mm' unit) attribute value. More... | |
class | StyleDoubleAttributeDescriptor |
Describes a unitless double attribute value. More... | |
class | StyleEnumAttributeDescriptor |
Describes a enumeration attribute value. More... | |
class | StyleError |
class | StyleFilter |
Holds the all accumulated filter conditions as defined in the style sheet for a style. More... | |
class | StyleFlagsModel |
class | StyleIntAttributeDescriptor |
Describes a unitless int attribute value. More... | |
class | StyleLabelAttributeDescriptor |
Describes a label attribute value. More... | |
class | StyleMagnificationAttributeDescriptor |
Describes a magnification attribute value. More... | |
class | StyleMapAttributeDescriptor |
Describes a map size (using 'm' unit) attribute value. More... | |
class | StyleModule |
class | StyleResolveContext |
struct | StyleSelector |
Correlation of a StyleFilter and a PartialStyle. More... | |
class | StyleStringAttributeDescriptor |
Describes a string attribute value. More... | |
class | StyleSymbolAttributeDescriptor |
Describes a symbol attribute value. More... | |
class | StyleUDisplayAttributeDescriptor |
Describes a unsigned display size (using 'mm' unit) attribute value. More... | |
class | StyleUDoubleArrayAttributeDescriptor |
Describes a unitless array of unsigned double attribute value. More... | |
class | StyleUDoubleAttributeDescriptor |
Describes a unitless unsigned double attribute value. More... | |
class | StyleUIntAttributeDescriptor |
Describes a unitless unsigned int attribute value. More... | |
class | StyleUMapAttributeDescriptor |
Describes a unsigned map size (using 'm' unit) attribute value. More... | |
class | StyleVoidAttributeDescriptor |
Describes a 'VOID' attribute. More... | |
class | SunriseSunset |
QML Component for computing today's sunrise / sunset time for specific place on Earth. More... | |
class | Symbol |
Definition of a symbol. More... | |
class | SymbolRenderer |
class | SymbolRendererCairo |
class | SymbolRendererQt |
class | TagBinaryCondition |
Returns true, if the value of the given tag fulfills the given boolean condition in regard to the comparison value. More... | |
class | TagBoolCondition |
Allows a boolean and/or condition between a number of child conditions. More... | |
class | TagCondition |
Abstract base class for all tag based conditions. More... | |
class | TagErrorReporter |
class | TagExistsCondition |
Returns true, if the given tag exists for an object. More... | |
class | TagInfo |
Information about a tag definition. More... | |
class | TagIsInCondition |
Returns true, if the tag value of the given is one of the given values. More... | |
class | TagNotCondition |
Negates the result of the given child condition. More... | |
class | TagRegistry |
class | TapRecognizer |
Simple class for recognizing some basic gestures: tap, double tap, long-tap and tap-and-hold. More... | |
struct | TargetReachedMessage |
class | TextLoader |
class | TextSearchIndex |
A class that allows prefix-based searching of text data indexed during import. More... | |
class | TextStyle |
A textual label. More... | |
class | TextStyleEnumAttributeDescriptor |
class | ThreadedBreaker |
class | ThreadedWorker |
A single threaded agent. More... | |
class | ThreadedWorkerPool |
class | Tile |
Result of a cache lookup. More... | |
class | TileCache |
Cache have to be locked by its mutex() while access. More... | |
struct | TileCacheKey |
The key type of a QMap must provide operator<() More... | |
struct | TileCacheVal |
class | TileData |
Template for storing sets of data of the same type in a tile. More... | |
class | TiledMapOverlay |
class | TiledMapRenderer |
class | TiledRenderingHelper |
class | TileId |
A Tile id, uniquely identifing a tile by its level and (unique for the given level) tile coordinates. More... | |
class | TileIdBox |
A bounding box defined by two tile ids that span a rectangular region (in tile coordinate system) More... | |
class | TileIdBoxConstIterator |
struct | TileIdHasher |
Hasher that can be used in std::unordered_map with TileId as a key. More... | |
class | TileKey |
class | TileLoaderThread |
class | TileProjection |
Mercator projection as used by the OpenStreetMap tile rendering code. More... | |
struct | TimeTickMessage |
Message to pass periodically to the Engine to make sure that state changes based on timeouts are triggered. More... | |
class | TransBuffer |
Temporary stateful buffer for holding results of transformation of polygon from geo coords to display coords. More... | |
struct | TransPoint |
Entry in the TransBuffer structure. More... | |
class | TransPolygon |
Class to allows transformation of geometric primitives form geo coordinate to display coordinates using the passed Projection instance. More... | |
class | Triangulate |
class | TunnelFeature |
class | TurnRestriction |
class | TypeConfig |
The TypeConfig class holds information about object types defined by a db instance. More... | |
class | TypeDistributionDataFile |
DataFile class for loading the bounding box of the db. More... | |
class | TypeInfo |
Detailed information about one object type. More... | |
class | TypeInfoSet |
Custom data structure to efficiently handle a set of TypeInfoRef. More... | |
class | TypeInfoSetConstIterator |
class | UninitializedException |
class | VehicleFollowHandler |
Input handler that follow vehicle. More... | |
class | VehiclePosition |
Object aggregating estimated data about vehicle during navigation. More... | |
class | Vertex2D |
Two dimensional coordinate (floating point values, negative coordinates possible). More... | |
class | Vertex3D |
Three dimensional coordinate (floating point values, negative coordinates possible). More... | |
class | Voice |
Holder for voice metadata. More... | |
class | VoiceCorePlayer |
Provides the default voice player. More... | |
class | VoiceDownloadJob |
Utility class for downloading voice described by AvailableVoice over http. More... | |
class | VoiceInstructionAgent |
This agent prepares voice messages for concatenation voice synthesis. More... | |
struct | VoiceInstructionMessage |
class | VoiceManager |
Manager of voices for navigation commands. More... | |
class | VoicePlayer |
Defines the abstract interface for the voice player. More... | |
class | WaterIndex |
class | Way |
class | WayDataFile |
Abstraction for getting cached access to the 'ways.dat' file. More... | |
class | WayDescriptionProcessor |
ingroup Description More... | |
class | WayRegionSearchResult |
class | WayRegionSearchResultEntry |
class | WebsiteFeature |
class | WebsiteFeatureValue |
class | WidthFeature |
class | WidthFeatureValue |
class | WriteLock |
struct | Yard |
class | ZoomGestureHandler |
Handler for zoom gesture with one finger, activated by tap and press usually. More... | |
Functions | |
static void | AddAddressResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult::MatchQuality locationMatchQuality, const AddressSearchVisitor::Result &addressMatch, LocationSearchResult::MatchQuality addressMatchQuality, LocationSearchResult &result) |
static void | AddLocationResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, const LocationSearchVisitor::Result &locationMatch, LocationSearchResult::MatchQuality locationMatchQuality, LocationSearchResult &result) |
static void | AddPOIResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, const POISearchVisitor::Result &poiMatch, LocationSearchResult::MatchQuality poiMatchQuality, LocationSearchResult &result) |
static void | AddPostalAreaResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, const PostalAreaSearchVisitor::Result &postalAreaMatch, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult &result) |
static void | AddRegionResult (const SearchParameter ¶meter, LocationSearchResult::MatchQuality regionMatchQuality, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult &result) |
double | AngleDiff (double a, double b) |
compute difference of two angles | |
std::string | AppendFileToDir (const std::string &dir, const std::string &file) |
Append the filename 'name' to the directory name 'name' correctly adding directory delimiter if necessary. | |
template<typename N > | |
bool | AreaIsCCW (const std::vector< N > &edges) |
Returns true, if the polygon is counter clock wise (CCW) | |
template<typename N > | |
bool | AreaIsClockwise (const std::vector< N > &edges) |
Returns true, if the closed polygon with the given nodes is oriented clockwise. | |
template<typename N > | |
bool | AreaIsSimple (const std::vector< std::pair< N, N > > &edges, const std::vector< bool > &edgeStartsNewPoly) |
Returns true, if the handed polygons are simple (aka not complex). | |
template<typename N > | |
bool | AreaIsSimple (std::vector< N > points) |
Returns true, if the handed polygon is simple (aka not complex). | |
template<typename N > | |
bool | AreaIsValid (std::vector< N > &outerPoints, std::vector< std::vector< N > > &innerPoints) |
static bool | AreaSorter (const MapPainter::AreaData &a, const MapPainter::AreaData &b) |
Return if a > b, a should be drawn before b. | |
template<typename T > | |
int64_t | AsMillis (const std::chrono::duration< T > &duration) |
double | atanh_pd (double x) |
double | atanh_pd (double x, double y, double &res_x, double &res_y) |
v2df | atanh_pd (v2df x) |
double | atanh_sin_pd (double x) |
double | atanh_sin_pd (double x, double y, double &res_x, double &res_y) |
v2df | atanh_sin_pd (v2df x) |
bool | availableMapsModelItemLessThan (const AvailableMapsModelItem *i1, const AvailableMapsModelItem *i2) |
static std::vector< char > | Base64Decode (const std::string &in) |
static std::string | Base64Encode (const std::vector< char > &in) |
template<typename N > | |
uint8_t | BitsNeededToEncodeNumber (N number) |
Returns the number of bytes needed to encode the number. | |
template<typename N > | |
N | BitsToBytes (N bits) |
Returns the number of bytes needed to encode the given number of bits. | |
const char * | BoolToString (bool value) |
Returns a string representation of the given boolean value (either 'true' or 'false') | |
static std::list< std::string > | BuildStringListFromSubToken (const TokenStringRef &tokenString, const std::list< std::string > &tokens) |
Return a list of token by removing tokenString from the given token list (tokens). | |
std::string | ByteSizeToString (double size, const Locale &locale=Locale::ByEnvironmentSafe()) |
std::string | ByteSizeToString (FileOffset size, const Locale &locale=Locale::ByEnvironmentSafe()) |
Prints byte size with short, human readable form by ISO/IEC 80000 standard. | |
uint8_t | BytesNeededToAddressFileData (const std::string &filename) |
Number of bytes needed to address the complete content of the given file. | |
template<typename N > | |
uint8_t | BytesNeededToEncodeNumber (N number) |
Returns the number of bytes needed to encode the number. | |
static uint32_t | CalculateCellLevel (const osmscout::GeoBox &boundingBox) |
double | CalculateDistancePointToLineSegment (const GeoCoord &p, const GeoCoord &a, const GeoCoord &b, GeoCoord &intersection) |
Calculates the distance between a point p and a line defined by the points a and b. | |
template<typename N > | |
double | CalculateDistancePointToLineSegment (const N &p, const N &a, const N &b) |
Calculates the distance between a point p and a line defined by the points a and b. | |
static double | CalculateDistancePointToLineSegment (const TransPoint &p, const TransPoint &a, const TransPoint &b) |
Calculates the distance between a point p and a line defined by the points a and b. | |
static double | CalculateDistancePointToPoint (const TransPoint &a, const TransPoint &b) |
static double * | CalculatePathSegmentLengths (cairo_path_t *path) |
Calculate an array of double for the path, that contains the length of each path segment. | |
static double | CalculatePointDistance (cairo_path_data_t *a, cairo_path_data_t *b) |
template<class S , class A > | |
void | CalculateUsedTypes (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< TypeInfoSet > &typeSets) |
static void | CleanupSearchPatterns (std::list< TokenStringRef > &patterns) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineAlternativeFlag (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineBoolOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineDoubleOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineFlag (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineGeoCoordOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineInt64TOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineIntOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineLongOption (Args &&...args) |
template<class T , class ... Args> | |
CmdLineArgParserRef | CmdLineNumberOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineSizeTOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineStringListOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineStringOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineUInt64TOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineUIntOption (Args &&...args) |
template<class ... Args> | |
CmdLineArgParserRef | CmdLineULongOption (Args &&...args) |
template<typename N > | |
void | ComputeSegmentBoxes (const std::vector< N > &path, std::vector< SegmentGeoBox > &segmentBoxes, size_t bound, size_t segmentSize=1000) |
Helper for FindPathIntersections. | |
template<class NativeGlyph > | |
static bool | ContourLabelSorter (const ContourLabel< NativeGlyph > &a, const ContourLabel< NativeGlyph > &b) |
CoordBufferRange | CopyPolygonToCoordBuffer (const TransBuffer &transBuffer, CoordBuffer &coordBuffer) |
double | cos_pd (double x) |
double | cos_pd (double x, double y, double &res_x, double &res_y) |
v2df | cos_pd (v2df x) |
size_t | CountWords (const std::string &text) |
static bool | CrossesElevationLine (int32_t ele, int32_t height1, int32_t height2) |
static QString | CrossingWaysDescriptionToString (const RouteDescription::CrossingWaysDescription &crossingWaysDescription) |
double | dangerous_sin_pd (double x) |
void | dangerous_sin_pd (double x, double y, double &res_x, double &res_y) |
v2df | dangerous_sin_pd (v2df x) |
template<typename N > | |
unsigned int | DecodeNumber (const char *buffer, N &number) |
Decode a variable length encoded number from the buffer back to the variable. | |
template<typename N > | |
unsigned int | DecodeNumberSigned (const char *buffer, N &number) |
Decode a signed variable length encoded number from the buffer back to the variable. | |
template<typename N > | |
unsigned int | DecodeNumberUnsigned (const char *buffer, N &number) |
Decode an unsigned variable length encoded number from the buffer back to the variable. | |
double | DegToRad (double deg) |
double | Det (double x1, double y1, double x2, double y2) |
Calculates the determinant of the line between the given points. | |
template<typename N > | |
double | DistanceSquare (const N &a, const N &b) |
double | DistanceToSegment (const GeoBox &boundingBox, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, GeoCoord &location, GeoCoord &intersection) |
double | DistanceToSegment (const GeoCoord &point, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, double &r, GeoCoord &intersection) |
double | DistanceToSegment (const std::vector< Point > &points, const GeoCoord &segmentStart, const GeoCoord &segmentEnd, GeoCoord &location, GeoCoord &intersection) |
double | DistanceToSegment (double px, double py, double p1x, double p1y, double p2x, double p2y, double &r, double &qx, double &qy) |
Return the distance of the point (px,py) to the segment [(p1x,p1y),(p2x,p2y)], r the abscissa on the line of (qx,qy) the orthogonal projected point from (px,py). | |
static void | DropEqualPoints (TransBuffer &buffer) |
static void | DropRedundantPointsDouglasPeuckerArea (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DropRedundantPointsDouglasPeuckerWay (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DropRedundantPointsFast (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DropSimilarPoints (TransBuffer &buffer, double optimizeErrorTolerance) |
static void | DumpGroundTile (const GroundTile &tile) |
double | DurationAsHours (Duration duration) |
double | DurationAsSeconds (Duration duration) |
Duration | DurationOfHours (double hours) |
std::string | DurationString (const Duration &duration) |
static size_t | EatWhitespace (const std::string &text, size_t currentPos) |
template<typename N > | |
unsigned int | EncodeNumber (N number, char *buffer) |
Encode a number into the given buffer using some variable length encoding. | |
template<typename N , size_t S> | |
unsigned int | EncodeNumber (N number, std::array< char, S > &buffer) |
Encode a number into the given buffer using some variable length encoding. | |
template<typename N > | |
unsigned int | EncodeNumberSigned (N number, char *buffer) |
Encode a signed number into the given buffer using some variable length encoding. | |
template<typename N > | |
unsigned int | EncodeNumberUnsigned (N number, char *buffer) |
Encode an unsigned number into the given buffer using some variable length encoding. | |
static void | EnsureSimple (TransBuffer &buffer, bool isArea) |
const char * | EnumToString (const ChargingStationFeatureValue::SocketType &value) |
const char * | EnumToString (const FeeFeatureValue::Fee &value) |
bool | ExistsInFilesystem (const std::string &filename) |
Returns true of the given filename exists in the filesystem. | |
template<typename N > | |
bool | FindIntersection (const std::vector< N > &way, size_t &i, size_t &j) |
Find next intersection on way (with itself) from node index i. | |
template<typename N > | |
void | FindPathIntersections (const std::vector< N > &aPath, const std::vector< N > &bPath, bool aClosed, bool bClosed, std::vector< PathIntersection > &intersections, size_t aStartIndex=0, size_t bStartIndex=0) |
Find all intersections between aPath and bPath from node index aStartIndex and bStartIndex. | |
std::string | FloatToString (double value, const Locale &locale, uint32_t precision=3) |
Returns locale-aware string representation of number. | |
static QString | FormatMotorwayJunctionName (const RouteDescription::NameDescription &nameDescription) |
static QString | FormatName (const RouteDescription::NameDescription &nameDescription) |
static QString | FullTurnCommand (const RouteDescription::DirectionDescription::Move &move) |
static std::list< TokenStringRef > | GenerateSearchPatterns (const std::list< std::string > &tokens, const std::unordered_set< std::string > &patternExclusions, size_t maxWords) |
SunriseSunsetRes | GetAstronomicalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the astronomical twilight time for the given date and given location. | |
template<class InputIt > | |
void | GetBoundingBox (const InputIt first, const InputIt last, GeoBox &boundingBox) |
Calculate the bounding box of the (non empty) range of geo coords. | |
template<typename N > | |
GeoBox | GetBoundingBox (const std::vector< N > &nodes) |
Calculate the bounding box of the (non empty) vector of geo coords. | |
template<typename N > | |
void | GetBoundingBox (const std::vector< N > &nodes, GeoBox &boundingBox) |
Calculate the bounding box of the (non empty) vector of geo coords. | |
GeoBox | GetBoundingBox (const std::vector< Point > &nodes) |
Calculate the bounding box of the (non empty) vector of geo coords. | |
void | GetBoundingBox (const std::vector< Point > &nodes, GeoBox &boundingBox) |
Calculate the bounding box of the (non empty) vector of geo coords. | |
Cell | getCentroidCell (const Polygon &polygon) |
SunriseSunsetRes | GetCivilTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the civil twilight time for the given date and given location. | |
bool | GetDigitValue (char digit, size_t &result) |
Returns the numerical value of the given character, if the character is a digit in a numerical value. | |
std::string | GetDirectory (const std::string &file) |
Return everything (including the delimiter) before the last path delimiter. | |
double | GetDistanceInLonDegrees (const Distance &d, double latitude=0) |
Distance | GetEllipsoidalDistance (const GeoCoord &a, const GeoCoord &b) |
Calculates the ellipsoidal (WGS-84) distance between the two given points on the ellipsoid. | |
GeoCoord | GetEllipsoidalDistance (const GeoCoord &position, const Bearing &bearing, const Distance &distance) |
Given a starting point and a bearing and a distance calculates the coordinates of the resulting point in the (WGS-84) ellipsoid. | |
Distance | GetEllipsoidalDistance (double aLon, double aLat, double bLon, double bLat) |
Calculates the ellipsoidal (WGS-84) distance between the two given points on the ellipsoid. | |
void | GetEllipsoidalDistance (double lat1, double lon1, const Bearing &bearing, const Distance &distance, double &lat2, double &lon2) |
Given a starting point and a bearing and a distance calculates the coordinates of the resulting point in the (WGS-84) ellipsoid. | |
template<class S , class A > | |
std::shared_ptr< S > | GetFeatureStyle (const StyleResolveContext &context, const std::vector< std::list< StyleSelector< S, A > > > &styleSelectors, const FeatureValueBuffer &buffer, const Projection &projection) |
Get the style data based on the given features of an object, a given style (S) and its style attributes (A). | |
FileOffset | GetFileSize (const std::string &filename) |
Return the size of the file in the parameter size. | |
std::string | GetFirstInStringList (const std::string &stringList, const std::string ÷r) |
Assumes that the string consists of a number of values separated by one of the given divider. | |
static std::set< GeoCoord > | GetGridPoints (const std::vector< Point > &nodes, double gridSizeHoriz, double gridSizeVert) |
static char | GetHexChar (size_t value) |
static size_t | GetHexValue (char digit) |
template<typename N , typename I > | |
bool | GetLineIntersection (const N &a1, const N &a2, const N &b1, const N &b2, I &intersection) |
Returns true, if the lines defined by the given coordinates intersect. | |
template<typename N > | |
bool | GetLineIntersectionPixel (const N &a1, const N &a2, const N &b1, const N &b2, N &intersection) |
Returns true, if the lines defined by the given coordinates intersect. | |
template<class S , class A > | |
void | GetMaxLevelInConditionals (const std::list< ConditionalStyle< S, A > > &conditionals, size_t &maxLevel) |
SunriseSunsetRes | GetNauticalTwilight (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the nautical twilight time for the given date and given location. | |
template<typename N , typename M > | |
int | GetRelationOfPointToArea (const N &point, const std::vector< M > &nodes) |
Gives information about the position of the point in relation to the area. | |
double | getSegDistSq (const GeoCoord &p, const Point &a, const Point &b) |
template<typename N > | |
void | GetSegmentBoundingBox (const std::vector< N > &path, size_t from, size_t to, GeoBox &boundingBox) |
Helper for FindPathIntersections. | |
Bearing | GetSphericalBearingFinal (const GeoCoord &a, const GeoCoord &b) |
Calculates the final bearing for a line from one coordinate two the other coordinate on a sphere. | |
Bearing | GetSphericalBearingInitial (const GeoCoord &a, const GeoCoord &b) |
Calculates the initial bearing for a line from one coordinate to the other coordinate on a sphere. | |
Distance | GetSphericalDistance (const GeoCoord &a, const GeoCoord &b) |
Calculates the spherical distance between the two given points on the sphere. | |
SunriseSunsetRes | GetSunriseSunset (const GeoCoord &location, const Timestamp &day, double sunAltitude) |
Calculate the sunrise and sunset times for the given date, given location, and sun altitude. | |
SunriseSunsetRes | GetSunriseSunset (const GeoCoord &location, const Timestamp &day=Timestamp::clock::now()) |
Calculate the sunrise and sunset times for the given date and given location. | |
std::string | GetTokensFromEnd (const std::list< std::string > &tokens, size_t count) |
std::string | GetTokensFromStart (const std::list< std::string > &tokens, size_t count) |
int | GetUtcOffset () |
returns the utc timezone offset (e.g. | |
void | GroupStringListToStrings (std::list< std::string >::const_iterator token, size_t listSize, size_t parts, std::list< std::list< std::string > > &lists) |
Given a list of strings, individual strings will be combined into a given number of sub groups (individual string concatenated and separated by a space). | |
template<class S , class A > | |
bool | HasStyle (const std::vector< std::vector< std::list< StyleSelector< S, A > > > > &styleSelectors, const size_t level) |
uint64_t | InterleaveNumbers (uint32_t a, uint32_t b) |
Encodes the given numbers into a new number of twice the size that has the bits of each number alternating interleaved. | |
template<typename N , typename M > | |
bool | IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b) |
Return true, if at least one point of area a in within area b. | |
template<typename N , typename M > | |
bool | IsAreaAtLeastPartlyInArea (const std::vector< N > &a, const std::vector< M > &b, const GeoBox &aBox, const GeoBox &bBox) |
Return true, if at least one point of area a in within area b. | |
template<typename N , typename M > | |
bool | IsAreaCompletelyInArea (const std::vector< N > &a, const std::vector< M > &b) |
Return true, if area a is completely in area b. | |
template<typename N , typename M > | |
bool | IsAreaSubOfArea (const std::vector< N > &a, const std::vector< M > &b) |
Assumes that the given areas do not intersect. | |
template<typename N , typename M > | |
bool | IsAreaSubOfAreaOrSame (const std::vector< N > &a, const std::vector< M > &b) |
Assumes that the given areas do not intersect. | |
template<typename N , typename M > | |
bool | IsAreaSubOfAreaQuorum (const std::vector< N > &a, const std::vector< M > &b) |
Assumes that the given areas do not intersect. | |
template<typename N , typename M > | |
bool | IsCoordInArea (const N &point, const std::vector< M > &nodes) |
Returns true, if point in area. | |
bool | IsDirectory (const std::string &filename) |
Returns true of the given filename points to a directory. | |
bool | IsLaneOffset (OffsetRel rel) |
static bool | IsLowerByteSet (const unsigned char *bytes) |
static bool | IsLowerByteSet (unsigned char *bytes) |
bool | IsValidToWrite (const std::vector< Point > &nodes) |
Distance | Kilometers (double km) |
template<class NativeGlyph , class NativeLabel > | |
static bool | LabelInstanceSorter (const LabelInstance< NativeGlyph, NativeLabel > &a, const LabelInstance< NativeGlyph, NativeLabel > &b) |
static bool | LabelLayoutDataSorter (const LabelData &a, const LabelData &b) |
Sort labels for the same object by position. | |
std::string | LaneTurnString (LaneTurn turn) |
void | LayoutTextLayout (const QFontMetrics &fontMetrics, qreal proposedWidth, QTextLayout &layout, QRectF &boundingBox) |
template<typename N > | |
bool | LinesIntersect (const N &a1, const N &a2, const N &b1, const N &b2) |
Returns true, if the lines defined by the given coordinates intersect. | |
cairo_surface_t * | LoadPNG (const std::string &filename) |
osmscout::OpenGLTextureRef | LoadPNGOpenGL (const std::string &filename) |
bool | LoadShader (GLuint &shader, GLenum type, const std::string &name, const std::string &shaderSource) |
bool | LoadShaderSource (const std::string &dirPath, const std::string &name, std::string &result) |
std::string | LocaleStringToUTF8String (const std::string &text) |
Convert the given std::string in the current locale to a std::string containing a corresponding UTF8 character sequence. | |
std::wstring | LocaleStringToWString (const std::string &text) |
Converts the given std::string with content in the current locale to a std::wstring. | |
double | log_pd (double x) |
double | log_pd (double x, double y, double &res_x, double &res_y) |
v2df | log_pd (v2df x) |
static void | MapPathOnPath (cairo_t *draw, cairo_path_t *srcPath, cairo_path_t *dstPath, double xOffset, double yOffset) |
Distance | Meters (double m) |
time_t | MkTimeUTC (struct tm *timeptr) |
https://stackoverflow.com/a/9088549/1632737 | |
void | Normalize (double x, double y, double &nx, double &ny) |
Normalize vector [x,y], result is set to [nx,ny]. | |
double | NormalizeRelativeAngle (double angle) |
Normalizes the given angle (in degrees) to be in the interval [-180.0 - 180.0]. | |
template<typename N > | |
size_t | NumberDigits (const N &number, size_t base=10) |
std::string | NumberToString (long value, const Locale &locale) |
Returns locale-aware string representation of number. | |
bool | operator!= (const MapView &a, const MapView &b) |
Vertex2D | operator* (const Vertex2D &a, double scale) |
std::string | operator+ (const char *text, const MagnificationLevel &level) |
std::string | operator+ (const std::string &text, const MagnificationLevel &level) |
Vertex2D | operator+ (const Vertex2D &a, const Vertex2D &b) |
Vertex2D | operator- (const Vertex2D &a, const Vertex2D &b) |
bool | operator< (const TileCacheKey &a, const TileCacheKey &b) |
QDebug & | operator<< (QDebug &out, const TileCacheKey &key) |
std::ostream & | operator<< (std::ostream &os, const Distance &distance) |
std::ostream & | operator<< (std::ostream &os, const MagnificationLevel &level) |
std::ostream & | operator<< (std::ostream &stream, const DBFileOffset &o) |
std::ostream & | operator<< (std::ostream &stream, const DBId &o) |
std::ostream & | operator<< (std::ostream &stream, const StopClock &stopClock) |
std::ostream & | operator<< (std::ostream &stream, const StopClockNano &stopClock) |
bool | operator== (const MapView &a, const MapView &b) |
bool | operator== (const ObjectKey &k1, const ObjectKey &k2) |
bool | operator== (const TileCacheKey &a, const TileCacheKey &b) |
void | OptimizeArea (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint) |
Optimize a already transformed area. | |
void | OptimizeWay (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint) |
Optimize a already transformed way. | |
OffsetRel | ParseBackwardTurnStringToOffset (LaneTurn turn) |
bool | ParseBoolArgument (int argc, char *argv[], int ¤tIndex, bool &value) |
OffsetRel | ParseForwardTurnStringToOffset (LaneTurn turn) |
bool | ParseISO8601TimeString (const std::string &timeStr, Timestamp ×tamp) |
Parse time string in ISO 8601 format "2017-11-26T13:46:12.124Z" (UTC timezone) to Timestamp (std::chrono::time_point with millisecond accuracy). | |
bool | ParseSizeTArgument (int argc, char *argv[], int ¤tIndex, size_t &value) |
bool | ParseStringArgument (int argc, char *argv[], int ¤tIndex, std::string &value) |
bool | ParseUInt32Argument (int argc, char *argv[], int ¤tIndex, uint32_t &value) |
static void | PathPointTransformer (double &x, double &y, cairo_path_t *path, const double *pathSegmentLengths) |
Project a point X,Y onto a parameterized path. | |
OSMSCOUT_CLIENT_QT_API QList< QDir > | PathVectorToQDirList (const std::vector< std::filesystem::path > &paths) |
auto | pointToPolygonDist (const GeoCoord &point, const Polygon &polygon) |
GeoCoord | PolygonCenter (const Area &area, double precision=1) |
A fast algorithm for finding polygon pole of inaccessibility, the most distant internal point from the polygon outline (not to be confused with centroid). | |
GeoCoord | PolygonCenter (const Polygon &polygon, const GeoBox &envelope, double precision) |
GeoCoord | PolygonCenter (const std::vector< Point > &polygon, double precision=1) |
size_t | Pow (size_t a, size_t b) |
uint | qHash (const TileCacheKey &key) |
OSMSCOUT_CLIENT_QT_API std::vector< std::string > | QStringListToStringVector (const QStringList &list) |
double | RadToDeg (double rad) |
bool | ReadFile (const std::string &filename, std::vector< char > &content) |
bool | RemoveFile (const std::string &filename) |
Deletes the given file. | |
bool | RenameFile (const std::string &oldFilename, const std::string &newFilename) |
Rename a file. | |
std::string | ReplaceString (const std::string &in, const std::string &search, const std::string &replacement) |
Replace all occurrences of search in input string by some other string. | |
static double | RoundDown (double value) |
static double | RoundUp (double value) |
void | ScanConvertLine (int x1, int y1, int x2, int y2, std::vector< ScanCell > &cells) |
Does a scan conversion for a line between the given coordinates. | |
static bool | ScanCoordinate (const std::string &text, size_t ¤tPos, double &value, size_t maxDigits) |
static bool | ScanNumber (const std::string &text, size_t ¤tPos, double &value, size_t maxDigits) |
static bool | SearchForAddressForLocation (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::list< std::string > &addressTokens, const LocationSearchVisitor::Result &locationMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult::MatchQuality locationMatchQuality, LocationSearchResult &result) |
static bool | SearchForLocationForPostalArea (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::string &locationPattern, const std::string &addressPattern, const PostalAreaSearchVisitor::Result &postalAreaMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult::MatchQuality postalAreaMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForLocationForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::list< std::string > &locationTokens, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForPOIForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::list< std::string > &poiTokens, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForPOIForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::string &poiPattern, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
static bool | SearchForPostalAreaForRegion (LocationIndexRef &locationIndex, const SearchParameter ¶meter, const std::string &postalAreaPattern, const std::string &locationPattern, const std::string &addressPattern, const AdminRegionSearchVisitor::Result ®ionMatch, LocationSearchResult::MatchQuality regionMatchQuality, LocationSearchResult &result, BreakerRef &breaker) |
bool | SetThreadName (const std::string &name) |
Try to set current thread name. | |
bool | SetThreadName (std::thread &thread, const std::string &name) |
Try to set thread name. | |
static QString | ShortTurnCommand (const RouteDescription::DirectionDescription::Move &move) |
static void | SimplifyPolyLineDouglasPeucker (TransPoint *points, size_t beginIndex, size_t endIndex, size_t endValueIndex, double optimizeErrorToleranceSquared) |
void | SimplifyTokenList (std::list< std::string > &tokens) |
Simplifying a token list by merging tokens that start with an upper case letter followed by a token starting with a lower case letter. | |
void | sin_cos_pd (double x, double &res_sin, double &res_cos) |
double | sin_pd (double x) |
void | sin_pd (double x, double y, double &res_x, double &res_y) |
v2df | sin_pd (v2df x) |
void | sincos (double x, double &resSin, double &resCos) |
template<class S , class A > | |
void | SortInConditionals (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< std::vector< std::list< StyleSelector< S, A > > > > &selectors) |
template<class S , class A > | |
void | SortInConditionalsBySlot (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< std::vector< std::vector< std::list< StyleSelector< S, A > > > > > &selectors) |
static QStringList | SplitDestinations (const std::string &destinations) |
std::list< std::string > | SplitString (const std::string &stringList, const std::string &separator, int maxSize=-1) |
Split string by separator. | |
std::list< std::string > | SplitStringAtSpace (const std::string &input) |
Converts the given string into a list of whitespace separated (std::isspace()) strings. | |
std::optional< std::pair< std::string, std::string > > | SplitStringToPair (const std::string &str, const std::string &separator) |
Split string by separator to two parts. | |
bool | StringToBool (const char *string, bool &value) |
Convert the given string to a boolean value. | |
bool | StringToNumber (const char *string, double &value) |
bool | StringToNumber (const std::string &string, double &value) |
template<typename N > | |
bool | StringToNumber (const std::string &string, N &number, size_t base=10) |
Converts a string holding a (possibly negative) numerical value of the given base to the numerical value itself. | |
template<typename N > | |
bool | StringToNumberSigned (const std::string &string, N &number, size_t base=10) |
template<typename N > | |
bool | StringToNumberUnsigned (const std::string &string, N &number, size_t base=10) |
OSMSCOUT_CLIENT_QT_API QStringList | StringVectorToQStringList (const std::vector< std::string > &v) |
Signal< std::thread::id > & | ThreadExitSignal () |
Signal that is emitted on thread exit. | |
std::string | TimestampToISO8601TimeString (const Timestamp ×tamp) |
Format Timestamp to string in ISO8601 format "2017-11-26T13:46:12.124Z" for UTC timezone. | |
OSMSCOUT_CLIENT_QT_API QDateTime | TimestampToQDateTime (const osmscout::Timestamp &ts) |
void | TokenizeString (const std::string &input, std::list< std::string > &tokens) |
Converts the given string into a list of whitespace or colon-separated strings. | |
template<typename C > | |
void | 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<typename C > | |
CoordBufferRange | 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. | |
void | 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. | |
CoordBufferRange | 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. | |
static void | TransformPathOntoPath (cairo_path_t *srcPath, cairo_path_t *dstPath, double *pathSegmentLengths, double xOffset, double yOffset) |
Project a path using a function. | |
template<typename C > | |
void | 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<typename C > | |
CoordBufferRange | 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. | |
std::string | Trim (const std::string &str, char trimmedChar=' ') |
Trim trimmedChar from begin and end of str. | |
static QString | TurnCommandType (const RouteDescription::DirectionDescription::Move &move) |
static QString | TurnCommandWithList (const RouteDescription::DirectionDescription::Move &move) |
std::string | UTF8NormForLookup (const std::string &text) |
Normalise the given std::string containing a UTF8 character sequence for tolerant comparison. | |
std::string | UTF8StringToLocaleString (const std::string &text) |
Convert the given std::string in UTF-8 a std::string containing to corresponding string in the current locale. | |
std::string | UTF8StringToLower (const std::string &text) |
Convert the given std::string containing a UTF8 character sequence to lower case using the translation table implementation. | |
std::u32string | UTF8StringToU32String (const std::string &text) |
Convert the given std::string containign a UTF8 character sequence to a std::u32string. | |
std::string | UTF8StringToUpper (const std::string &text) |
Convert the given std::string containing a UTF8 character sequence to upper case using translation table implementation. | |
std::wstring | UTF8StringToWString (const std::string &text) |
Convert the given std::string containign a UTF8 character sequence to a std::wstring. | |
std::string | UTF8Transliterate (const std::string &text) |
Transliterate non-ascii characters to one or more characters that are similar to the original character. | |
template<typename T > | |
QList< T > | vectorToQList (const std::vector< T > &vec) |
std::string | vehicleStr (osmscout::Vehicle vehicle) |
std::string | WStringToLocaleString (const std::wstring &text) |
Converts the given std::wstring to a std::string with content in the current locale. | |
std::string | WStringToUTF8String (const std::wstring &text) |
Convert the given std::wstring to a std::string containing a corresponding UTF8 character sequence. | |
Variables | |
const ALIGN16_BEG double SINECOEFF_SSE[] | ALIGN16_END |
constexpr const char * | Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
static const StyleDescriptorRef | borderStyleDescriptor =std::make_shared<BorderStyleDescriptor>() |
const size_t | CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1 |
const size_t | CELL_DIMENSION_MAX = 25 |
const std::array< CellDimension, CELL_DIMENSION_COUNT > | cellDimension |
const size_t | coordByteSize =7 |
Number of bytes needed to store a lat,lon coordinate pair. | |
constexpr bool | debugGroundTiles = false |
constexpr bool | debugLabelLayouter = false |
constexpr bool | debugRouting = false |
static double | DELTA_ANGLE =2*M_PI/16.0 |
We rotate in 16 steps. | |
static const uint32_t | FILE_FORMAT_VERSION =26 |
static const StyleDescriptorRef | fillStyleDescriptor =std::make_shared<FillStyleDescriptor>() |
static double | FONT_HEIGHT_FACTOR =10 |
Height of the font in pixel in relation to the given fontSize. | |
static const double | GRAD_TO_RAD = 2 * M_PI / 360 |
Util class with function useful for work with OSM tiles (mercator projection) as defined here: http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames. | |
static const double | gradtorad =2*M_PI/360.0 |
static const StyleDescriptorRef | iconStyleDescriptor =std::make_shared<IconStyleDescriptor>() |
cairo_user_data_key_t | imageDataKey |
static int | INITIAL_DATA_RENDERING_TIMEOUT = 10 |
const double | latConversionFactor =(double)maxRawCoordValue/180.0 |
Coordinates will be stored as unsigned long values in file. | |
static const StyleDescriptorRef | lineStyleDescriptor =std::make_shared<LineStyleDescriptor>() |
Log | log |
The one and only global instance of the logger that should get used for all logging output. | |
const double | lonConversionFactor =(double)maxRawCoordValue/360.0 |
Coordinates will be stored as unsigned long values in file. | |
constexpr uint32_t | maxRawCoordValue = 0x7FFFFFF |
static OSMScoutQt * | osmScoutInstance =nullptr |
static const StyleDescriptorRef | pathShieldStyleDescriptor =std::make_shared<PathShieldStyleDescriptor>() |
static const StyleDescriptorRef | pathSymbolStyleDescriptor =std::make_shared<PathSymbolStyleDescriptor>() |
static const StyleDescriptorRef | pathTextStyleDescriptor =std::make_shared<PathTextStyleDescriptor>() |
static const TagId | tagIgnore = 0 |
Magic constant for an unresolved and to be ignored tag. | |
static const StyleDescriptorRef | textStyleDescriptor =std::make_shared<TextStyleDescriptor>() |
static const double | tileDPI =96.0 |
static const TypeId | typeIgnore = 0 |
Magic constant for an unresolved and to be ignored object type. | |
static int | UPDATED_DATA_RENDERING_TIMEOUT = 200 |
static const char * | valueChar ="0123456789abcdef" |
constexpr int | X_STEP_0 = 0 |
The X flag is set as follows based on the locking steps Step 0 : X is released Step 1 : X is held, but waits for release of S Step 2 : X was released and left available for one of request in wait Step 3 : X is held Step N : X recursive N-3. | |
constexpr int | X_STEP_1 = 1 |
constexpr int | X_STEP_2 = 2 |
constexpr int | X_STEP_3 = 3 |
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.
using osmscout::AccessFeatureValueReader = typedef FeatureValueReader<AccessFeature, AccessFeatureValue> |
using osmscout::AccessRestrictedFeatureReader = typedef FeatureReader<AccessRestrictedFeature> |
using osmscout::AccessRestrictedFeatureValueReader = typedef FeatureValueReader<AccessRestrictedFeature, AccessRestrictedFeatureValue> |
using osmscout::AddressFeatureValueReader = typedef FeatureValueReader<AddressFeature, AddressFeatureValue> |
using osmscout::AddressRef = typedef std::shared_ptr<Address> |
using osmscout::AdminLevelFeatureValueReader = typedef FeatureValueReader<AdminLevelFeature, AdminLevelFeatureValue> |
using osmscout::AdminRegionRef = typedef std::shared_ptr<AdminRegion> |
using osmscout::AreaAreaIndexRef = typedef std::shared_ptr<AreaAreaIndex> |
using osmscout::AreaDataFileRef = typedef std::shared_ptr<AreaDataFile> |
using osmscout::AreaNodeIndexRef = typedef std::shared_ptr<AreaNodeIndex> |
using osmscout::AreaRef = typedef std::shared_ptr<Area> |
using osmscout::AreaRouteIndexRef = typedef std::shared_ptr<AreaRouteIndex> |
using osmscout::AreaWayIndexRef = typedef std::shared_ptr<AreaWayIndex> |
using osmscout::BasemapDatabaseRef = typedef std::shared_ptr<BasemapDatabase> |
Reference counted reference to an Database instance.
using osmscout::BorderConditionalStyle = typedef ConditionalStyle<BorderStyle, BorderStyle::Attribute> |
using osmscout::BorderPartialStyle = typedef PartialStyle<BorderStyle, BorderStyle::Attribute> |
Index selectors by type and level.
using osmscout::BorderStyleLookupTable = typedef std::vector<std::vector<BorderStyleSelectorList> > |
List of selectors.
using osmscout::BorderStyleRef = typedef std::shared_ptr<BorderStyle> |
using osmscout::BorderStyleSelector = typedef StyleSelector<BorderStyle, BorderStyle::Attribute> |
using osmscout::BorderStyleSelectorList = typedef std::list<BorderStyleSelector> |
using osmscout::BoundingBoxDataFileRef = typedef std::shared_ptr<BoundingBoxDataFile> |
using osmscout::BrandFeatureLabelReader = typedef FeatureLabelReader<BrandFeature, BrandFeatureValue> |
using osmscout::BrandFeatureValueReader = typedef FeatureValueReader<BrandFeature, BrandFeatureValue> |
using osmscout::BreakerRef = typedef std::shared_ptr<Breaker> |
using osmscout::BridgeFeatureReader = typedef FeatureReader<BridgeFeature> |
typedef std::shared_ptr<CharacterTexture> osmscout::CharacterTextureRef |
using osmscout::ChargingStationFeatureValueReader = typedef FeatureValueReader<ChargingStationFeature, ChargingStationFeatureValue> |
using osmscout::CirclePrimitiveRef = typedef std::shared_ptr<CirclePrimitive> |
using osmscout::CmdLineArgParserRef = typedef std::shared_ptr<CmdLineArgParser> |
using osmscout::ColorFeatureValueReader = typedef FeatureValueReader<ColorFeature, ColorFeatureValue> |
using osmscout::ColorPostprocessor = typedef osmscout::Color (*)(const osmscout::Color &) |
using osmscout::ConstructionYearFeatureValueReader = typedef FeatureValueReader<ConstructionYearFeature, ConstructionYearFeatureValue> |
using osmscout::CoverageIndexRef = typedef std::shared_ptr<CoverageIndex> |
using osmscout::DatabaseId = typedef uint32_t |
using osmscout::DatabaseRef = typedef std::shared_ptr<Database> |
Reference counted reference to an Database instance.
using osmscout::DescriptionServiceRef = typedef std::shared_ptr<DescriptionService> |
using osmscout::DestinationFeatureValueReader = typedef FeatureValueReader<DestinationFeature, DestinationFeatureValue> |
using osmscout::DistanceUnitPtr = typedef std::shared_ptr<DistanceUnit> |
using osmscout::DrawPrimitiveRef = typedef std::shared_ptr<DrawPrimitive> |
using osmscout::Duration = typedef Timestamp::duration |
using osmscout::EleFeatureValueReader = typedef FeatureValueReader<EleFeature, EleFeatureValue> |
using osmscout::EmbankmentFeatureReader = typedef FeatureReader<EmbankmentFeature> |
using osmscout::FastestPathRoutingProfileRef = typedef std::shared_ptr<FastestPathRoutingProfile> |
using osmscout::FeatureRef = typedef std::shared_ptr<Feature> |
using osmscout::FeatureToDescriptionProcessorRef = typedef std::shared_ptr<FeatureToDescriptionProcessor> |
ingroup Description
using osmscout::FeatureValueBufferRef = typedef std::shared_ptr<FeatureValueBuffer> |
using osmscout::FeeFeatureValueReader = typedef FeatureValueReader<FeeFeature, FeeFeatureValue> |
using osmscout::FillConditionalStyle = typedef ConditionalStyle<FillStyle, FillStyle::Attribute> |
using osmscout::FillPartialStyle = typedef PartialStyle<FillStyle, FillStyle::Attribute> |
Index selectors by type and level.
using osmscout::FillStyleLookupTable = typedef std::vector<std::vector<FillStyleSelectorList> > |
List of selectors.
using osmscout::FillStyleProcessorRef = typedef std::shared_ptr<FillStyleProcessor> |
using osmscout::FillStyleRef = typedef std::shared_ptr<FillStyle> |
using osmscout::FillStyleSelector = typedef StyleSelector<FillStyle, FillStyle::Attribute> |
using osmscout::FillStyleSelectorList = typedef std::list<FillStyleSelector> |
using osmscout::FromToFeatureValueReader = typedef FeatureValueReader<FromToFeature, FromToFeatureValue> |
using osmscout::GradeFeatureValueReader = typedef FeatureValueReader<GradeFeature, GradeFeatureValue> |
using osmscout::HourDuration = typedef std::chrono::duration<double, std::ratio<3600> > |
using osmscout::IconConditionalStyle = typedef ConditionalStyle<IconStyle, IconStyle::Attribute> |
using osmscout::IconPartialStyle = typedef PartialStyle<IconStyle, IconStyle::Attribute> |
Index selectors by type and level.
using osmscout::IconStyleLookupTable = typedef std::vector<std::vector<IconStyleSelectorList> > |
List of selectors.
using osmscout::IconStyleRef = typedef std::shared_ptr<IconStyle> |
using osmscout::IconStyleSelector = typedef StyleSelector<IconStyle, IconStyle::Attribute> |
using osmscout::IconStyleSelectorList = typedef std::list<IconStyleSelector> |
using osmscout::IsInFeatureValueReader = typedef FeatureValueReader<IsInFeature, IsInFeatureValue> |
using osmscout::JunctionRef = typedef std::shared_ptr<Intersection> |
using osmscout::LabelProviderFactoryRef = typedef std::shared_ptr<LabelProviderFactory> |
typedef std::shared_ptr< LabelProvider > osmscout::LabelProviderRef |
using osmscout::LabelStyleRef = typedef std::shared_ptr<LabelStyle> |
using osmscout::LanesFeatureValueReader = typedef FeatureValueReader<LanesFeature, LanesFeatureValue> |
using osmscout::LayerFeatureValueReader = typedef FeatureValueReader<LayerFeature, LayerFeatureValue> |
using osmscout::LineConditionalStyle = typedef ConditionalStyle<LineStyle,LineStyle::Attribute> |
using osmscout::LinePartialStyle = typedef PartialStyle<LineStyle,LineStyle::Attribute> |
using osmscout::LineStyleLookupTable = typedef std::vector<std::vector<LineStyleSelectorList> > |
List of selectors.
using osmscout::LineStyleRef = typedef std::shared_ptr<LineStyle> |
using osmscout::LineStyleSelector = typedef StyleSelector<LineStyle,LineStyle::Attribute> |
using osmscout::LineStyleSelectorList = typedef std::list<LineStyleSelector> |
using osmscout::LocationEntryRef = typedef std::shared_ptr<LocationEntry> |
using osmscout::LocationFeatureValueReader = typedef FeatureValueReader<LocationFeature, LocationFeatureValue> |
using osmscout::LocationIndexRef = typedef std::shared_ptr<LocationIndex> |
using osmscout::LocationRef = typedef std::shared_ptr<Location> |
using osmscout::MapDataRef = typedef std::shared_ptr<MapData> |
using osmscout::MapRendererRef = typedef std::shared_ptr<MapRenderer> |
typedef std::shared_ptr<MapTile> osmscout::MapTileRef |
using osmscout::MaxSpeedFeatureValueReader = typedef FeatureValueReader<MaxSpeedFeature, MaxSpeedFeatureValue> |
using osmscout::MaxStayFeatureValueReader = typedef FeatureValueReader<MaxStayFeature, MaxStayFeatureValue> |
using osmscout::MilliDouble = typedef std::chrono::duration<double, std::milli> |
using osmscout::NameAltFeatureValueReader = typedef FeatureValueReader<NameAltFeature, NameAltFeatureValue> |
using osmscout::NameFeatureLabelReader = typedef FeatureLabelReader<NameFeature, NameFeatureValue> |
using osmscout::NameFeatureValueReader = typedef FeatureValueReader<NameFeature, NameFeatureValue> |
using osmscout::NameShortFeatureValueReader = typedef FeatureValueReader<NameShortFeature, NameShortFeatureValue> |
using osmscout::NanoDouble = typedef std::chrono::duration<double, std::nano> |
using osmscout::NavigationAgentRef = typedef std::shared_ptr<NavigationAgent> |
using osmscout::NavigationMessageRef = typedef std::shared_ptr<NavigationMessage> |
using osmscout::NetworkFeatureValueReader = typedef FeatureValueReader<NetworkFeature, NetworkFeatureValue> |
using osmscout::NodeDataFileRef = typedef std::shared_ptr<NodeDataFile> |
using osmscout::NodeRef = typedef std::shared_ptr<Node> |
typedef std::shared_ptr<OpenGLTexture> osmscout::OpenGLTextureRef |
using osmscout::OperatorFeatureValueReader = typedef FeatureValueReader<OperatorFeature, OperatorFeatureValue> |
using osmscout::OptimizeAreasLowZoomRef = typedef std::shared_ptr<OptimizeAreasLowZoom> |
using osmscout::OptimizeWaysLowZoomRef = typedef std::shared_ptr<OptimizeWaysLowZoom> |
using osmscout::OverlayObjectRef = typedef std::shared_ptr<OverlayObject> |
using osmscout::PageId = typedef uint64_t |
using osmscout::PathShieldConditionalStyle = typedef ConditionalStyle<PathShieldStyle, PathShieldStyle::Attribute> |
using osmscout::PathShieldPartialStyle = typedef PartialStyle<PathShieldStyle, PathShieldStyle::Attribute> |
Index selectors by type and level.
using osmscout::PathShieldStyleLookupTable = typedef std::vector<std::vector<PathShieldStyleSelectorList> > |
List of selectors.
using osmscout::PathShieldStyleRef = typedef std::shared_ptr<PathShieldStyle> |
using osmscout::PathShieldStyleSelector = typedef StyleSelector<PathShieldStyle, PathShieldStyle::Attribute> |
using osmscout::PathShieldStyleSelectorList = typedef std::list<PathShieldStyleSelector> |
using osmscout::PathSymbolConditionalStyle = typedef ConditionalStyle<PathSymbolStyle, PathSymbolStyle::Attribute> |
using osmscout::PathSymbolPartialStyle = typedef PartialStyle<PathSymbolStyle, PathSymbolStyle::Attribute> |
Index selectors by type and level.
using osmscout::PathSymbolStyleLookupTable = typedef std::vector<std::vector<PathSymbolStyleSelectorList> > |
List of selectors.
using osmscout::PathSymbolStyleRef = typedef std::shared_ptr<PathSymbolStyle> |
using osmscout::PathSymbolStyleSelector = typedef StyleSelector<PathSymbolStyle, PathSymbolStyle::Attribute> |
using osmscout::PathSymbolStyleSelectorList = typedef std::list<PathSymbolStyleSelector> |
using osmscout::PathTextConditionalStyle = typedef ConditionalStyle<PathTextStyle, PathTextStyle::Attribute> |
using osmscout::PathTextPartialStyle = typedef PartialStyle<PathTextStyle, PathTextStyle::Attribute> |
Index selectors by type and level.
using osmscout::PathTextStyleLookupTable = typedef std::vector<std::vector<PathTextStyleSelectorList> > |
List of selectors.
using osmscout::PathTextStyleRef = typedef std::shared_ptr<PathTextStyle> |
using osmscout::PathTextStyleSelector = typedef StyleSelector<PathTextStyle, PathTextStyle::Attribute> |
using osmscout::PathTextStyleSelectorList = typedef std::list<PathTextStyleSelector> |
using osmscout::POIRef = typedef std::shared_ptr<POI> |
using osmscout::Polygon = typedef std::vector<const Ring*> |
using osmscout::PolygonPrimitiveRef = typedef std::shared_ptr<PolygonPrimitive> |
using osmscout::PostalAreaRef = typedef std::shared_ptr<PostalArea> |
using osmscout::PostalCodeFeatureValueReader = typedef FeatureValueReader<PostalCodeFeature, PostalCodeFeatureValue> |
using osmscout::PTRouteDataFileRef = typedef std::shared_ptr<PTRouteDataFile> |
using osmscout::PTRouteRef = typedef std::shared_ptr<PTRoute> |
using osmscout::QmlRoutingProfileRef = typedef std::shared_ptr<QmlRoutingProfile> |
using osmscout::QtGlyph = typedef Glyph<QGlyphRun> |
using osmscout::QtLabel = typedef Label<QGlyphRun, QTextLayout> |
using osmscout::QtLabelInstance = typedef LabelInstance<QGlyphRun, QTextLayout> |
using osmscout::RectanglePrimitiveRef = typedef std::shared_ptr<RectanglePrimitive> |
using osmscout::RefFeatureLabelReader = typedef FeatureLabelReader<RefFeature, RefFeatureValue> |
using osmscout::RefFeatureValueReader = typedef FeatureValueReader<RefFeature, RefFeatureValue> |
using osmscout::Ring = typedef std::vector<Point> |
using osmscout::RoundaboutFeatureReader = typedef FeatureReader<RoundaboutFeature> |
using osmscout::RoutableObjectsMessageRef = typedef std::shared_ptr<RoutableObjectsMessage> |
using osmscout::RoutableObjectsRef = typedef std::shared_ptr<RoutableObjects> |
using osmscout::RouteDataFileRef = typedef std::shared_ptr<RouteDataFile> |
using osmscout::RouteDescriptionRef = typedef std::shared_ptr<RouteDescription> |
using osmscout::RouteNodeRef = typedef std::shared_ptr<RouteNode> |
using osmscout::RoutePointsRef = typedef std::shared_ptr<RoutePoints> |
using osmscout::RouteRef = typedef std::shared_ptr<Route> |
using osmscout::RoutingProfileRef = typedef std::shared_ptr<RoutingProfile> |
using osmscout::ShieldConditionalStyle = typedef ConditionalStyle<ShieldStyle, ShieldStyle::Attribute> |
using osmscout::ShieldPartialStyle = typedef PartialStyle<ShieldStyle, ShieldStyle::Attribute> |
Index selectors by type and level.
using osmscout::ShieldStyleLookupTable = typedef std::vector<std::vector<ShieldStyleSelectorList> > |
List of selectors.
using osmscout::ShieldStyleRef = typedef std::shared_ptr<ShieldStyle> |
using osmscout::ShieldStyleSelector = typedef StyleSelector<ShieldStyle, ShieldStyle::Attribute> |
using osmscout::ShieldStyleSelectorList = typedef std::list<ShieldStyleSelector> |
using osmscout::ShortestPathRoutingProfileRef = typedef std::shared_ptr<ShortestPathRoutingProfile> |
using osmscout::SizeConditionRef = typedef std::shared_ptr<SizeCondition> |
using osmscout::SRTMDataRef = typedef std::shared_ptr<SRTMData> |
using osmscout::SRTMRef = typedef std::shared_ptr<SRTM> |
using osmscout::StringMatcherFactoryRef = typedef std::shared_ptr<StringMatcherFactory> |
using osmscout::StringMatcherRef = typedef std::shared_ptr<StringMatcher> |
using osmscout::StyleAttributeDescriptorRef = typedef std::shared_ptr<StyleAttributeDescriptor> |
using osmscout::StyleConfigRef = typedef std::shared_ptr<StyleConfig> |
using osmscout::StyleConstantRef = typedef std::shared_ptr<StyleConstant> |
using osmscout::StyleDescriptorRef = typedef std::shared_ptr<StyleDescriptor> |
using osmscout::SunriseSunsetRes = typedef std::optional<std::tuple<Timestamp, Timestamp> > |
using osmscout::SymbolRef = typedef std::shared_ptr<Symbol> |
using osmscout::TagId = typedef uint16_t |
using osmscout::TagMap = typedef std::unordered_map<TagId, std::string> |
using osmscout::TextConditionalStyle = typedef ConditionalStyle<TextStyle, TextStyle::Attribute> |
using osmscout::TextPartialStyle = typedef PartialStyle<TextStyle, TextStyle::Attribute> |
Index selectors by type and level.
using osmscout::TextStyleLookupTable = typedef std::vector<std::vector<TextStyleSelectorList> > |
List of selectors.
using osmscout::TextStyleRef = typedef std::shared_ptr<TextStyle> |
using osmscout::TextStyleSelector = typedef StyleSelector<TextStyle, TextStyle::Attribute> |
using osmscout::TextStyleSelectorList = typedef std::list<TextStyleSelector> |
using osmscout::Timestamp = typedef std::chrono::system_clock::time_point |
typedef std::shared_ptr<TokenString> osmscout::TokenStringRef |
using osmscout::TunnelFeatureReader = typedef FeatureReader<TunnelFeature> |
using osmscout::TurnRestrictionRef = typedef std::shared_ptr<TurnRestriction> |
using osmscout::TypeDistributionDataFileRef = typedef std::shared_ptr<TypeDistributionDataFile> |
using osmscout::TypeInfoRef = typedef std::shared_ptr<TypeInfo> |
using osmscout::VehicleMask = typedef uint8_t |
using osmscout::WaterIndexRef = typedef std::shared_ptr<WaterIndex> |
using osmscout::WayDataFileRef = typedef std::shared_ptr<WayDataFile> |
using osmscout::WayRef = typedef std::shared_ptr<Way> |
using osmscout::WidthFeatureValueReader = typedef FeatureValueReader<WidthFeature, WidthFeatureValue> |
using osmscout::WorkQueue = typedef ProcessingQueue<std::packaged_task<R ()> > |
|
strong |
|
strong |
Offset for rendered line, relative to way.
enum osmscout::OSMRefType |
enum osmscout::RefType |
enum osmscout::RenderSteps : size_t |
enum osmscout::Vehicle : uint8_t |
|
static |
References osmscout::LocationSearchResult::Entry::address, osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::location, osmscout::LocationSearchResult::Entry::locationMatchQuality, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalArea, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForAddressForLocation().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::Log::Debug(), osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::location, osmscout::LocationSearchResult::Entry::locationMatchQuality, log, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalArea, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForLocationForPostalArea(), and SearchForLocationForRegion().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::locationMatchQuality, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poi, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForPOIForRegion(), and SearchForPOIForRegion().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::Log::Debug(), osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::locationMatchQuality, log, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalArea, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by SearchForPostalAreaForRegion().
|
static |
References osmscout::LocationSearchResult::Entry::addressMatchQuality, osmscout::LocationSearchResult::Entry::adminRegion, osmscout::LocationSearchResult::Entry::adminRegionMatchQuality, osmscout::LocationSearchResult::limitReached, osmscout::LocationSearchResult::Entry::locationMatchQuality, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::Entry::poiMatchQuality, osmscout::LocationSearchResult::Entry::postalAreaMatchQuality, and osmscout::LocationSearchResult::results.
Referenced by osmscout::LocationService::SearchForLocationByForm(), osmscout::LocationService::SearchForLocationByString(), and osmscout::LocationService::SearchForPOIByForm().
|
static |
Return if a > b, a should be drawn before b.
Condition for the case when one area exists in two relations
References osmscout::MapPainter::AreaData::boundingBox, osmscout::MapPainter::AreaData::fillStyle, osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), osmscout::GeoBox::GetMaxCoord(), osmscout::GeoBox::GetMinCoord(), and osmscout::MapPainter::AreaData::isOuter.
int64_t osmscout::AsMillis | ( | const std::chrono::duration< T > & | duration | ) |
Referenced by osmscout::FileDownloader::FileDownloader().
|
inline |
References atanh_pd().
|
inline |
References atanh_pd().
|
inline |
References ARRAY2V2DF, and log_pd().
Referenced by atanh_pd(), atanh_pd(), and atanh_sin_pd().
|
inline |
References atanh_sin_pd().
|
inline |
References atanh_sin_pd().
|
inline |
References atanh_pd(), and dangerous_sin_pd().
Referenced by atanh_sin_pd(), and atanh_sin_pd().
bool osmscout::availableMapsModelItemLessThan | ( | const AvailableMapsModelItem * | i1, |
const AvailableMapsModelItem * | i2 | ||
) |
References osmscout::AvailableMapsModelItem::getName(), and osmscout::AvailableMapsModelItem::isDirectory().
Referenced by osmscout::AvailableMapsModel::listDownloaded().
|
inlinestatic |
References Base64Chars.
|
inlinestatic |
References Base64Chars.
Referenced by osmscout::MapPainterSVG::HasIcon().
|
extern |
Returns a string representation of the given boolean value (either 'true' or 'false')
value | value to return |
|
static |
Return a list of token by removing tokenString from the given token list (tokens).
tokenString | Token to remove |
tokens | List to remove token parameter from |
Referenced by SearchForAddressForLocation(), osmscout::LocationService::SearchForLocationByString(), SearchForLocationForRegion(), and SearchForPOIForRegion().
|
extern |
References FloatToString(), and osmscout::Locale::GetUnitsSeparator().
|
static |
References cellDimension, osmscout::GeoBox::GetHeight(), and osmscout::GeoBox::GetWidth().
Referenced by osmscout::DescriptionService::GetDescription(), and osmscout::DescriptionService::GetDescription().
|
extern |
Calculates the distance between a point p and a line defined by the points a and b.
p | The point in distance to a line |
a | One point defining the line |
b | Another point defining the line |
intersection | The point that is closest to 'p', either 'a', 'b', or a point on the line between 'a' and 'b'. |
References osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), and osmscout::GeoCoord::Set().
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.
p | The point in distance to a line |
a | One point defining the line |
b | Another point defining the line |
Referenced by DropRedundantPointsFast(), osmscout::Database::LoadAreasInArea(), osmscout::Database::LoadAreasInRadius(), osmscout::Database::LoadWaysInArea(), and osmscout::Database::LoadWaysInRadius().
|
static |
Calculates the distance between a point p and a line defined by the points a and b.
p | The point in distance to a line |
a | One point defining the line |
b | Another point defining the line |
References osmscout::TransPoint::x, and osmscout::TransPoint::y.
|
static |
References osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by DropRedundantPointsDouglasPeuckerArea().
|
static |
Calculate an array of double for the path, that contains the length of each path segment.
References CalculatePointDistance().
Referenced by MapPathOnPath().
|
static |
Referenced by CalculatePathSegmentLengths().
void osmscout::CalculateUsedTypes | ( | const TypeConfig & | typeConfig, |
const std::list< ConditionalStyle< S, A > > & | conditionals, | ||
size_t | maxLevel, | ||
std::vector< TypeInfoSet > & | typeSets | ||
) |
References osmscout::TypeConfig::GetTypes().
|
static |
CmdLineArgParserRef osmscout::CmdLineAlternativeFlag | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineBoolOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineDoubleOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineFlag | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineGeoCoordOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineInt64TOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineIntOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineLongOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineNumberOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineSizeTOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineStringListOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineStringOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineUInt64TOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineUIntOption | ( | Args &&... | args | ) |
CmdLineArgParserRef osmscout::CmdLineULongOption | ( | Args &&... | args | ) |
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)
References osmscout::SegmentGeoBox::bbox, osmscout::SegmentGeoBox::from, GetSegmentBoundingBox(), and osmscout::SegmentGeoBox::to.
Referenced by FindIntersection(), FindPathIntersections(), and osmscout::OverlayObject::segments().
|
static |
|
extern |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetEnd(), osmscout::TransBuffer::GetStart(), osmscout::TransBuffer::IsEmpty(), osmscout::TransBuffer::points, osmscout::CoordBuffer::PushCoord(), osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by TransformArea(), TransformBoundingBox(), and TransformWay().
|
inline |
References cos_pd().
|
inline |
References cos_pd().
|
inline |
References ARRAY2V2DF, ARRAY2V2DI, and POLY_EVAL6.
|
static |
Referenced by osmscout::MapPainter::DrawContourLines().
|
static |
References CrossingWaysDescriptionToString(), FormatName(), osmscout::RouteDescription::CrossingWaysDescription::GetDescriptions(), osmscout::RouteDescription::CrossingWaysDescription::GetOriginDesccription(), and osmscout::RouteDescription::CrossingWaysDescription::GetTargetDesccription().
Referenced by CrossingWaysDescriptionToString(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayEnter(), osmscout::RouteDescriptionBuilder::Callback::OnRoundaboutEnter(), and osmscout::RouteDescriptionBuilder::Callback::OnTurn().
|
inline |
References dangerous_sin_pd().
|
inline |
References dangerous_sin_pd().
|
inline |
References POLY_EVAL6.
Referenced by atanh_sin_pd(), dangerous_sin_pd(), and dangerous_sin_pd().
double osmscout::DistanceSquare | ( | const N & | a, |
const N & | b | ||
) |
Referenced by FindPathIntersections(), and osmscout::SearchModule::SearchForLocations().
|
extern |
References DistanceToSegment(), osmscout::GeoCoord::GetLat(), and osmscout::GeoCoord::GetLon().
|
extern |
References DistanceToSegment().
|
static |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by OptimizeArea(), and OptimizeWay().
|
static |
|
static |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, and SimplifyPolyLineDouglasPeucker().
Referenced by OptimizeWay().
|
static |
References CalculateDistancePointToLineSegment(), osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), and osmscout::TransBuffer::points.
Referenced by OptimizeArea(), and OptimizeWay().
|
static |
References osmscout::TransPoint::draw, osmscout::TransBuffer::GetLength(), osmscout::TransBuffer::points, osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by OptimizeArea(), and OptimizeWay().
|
static |
|
inline |
|
inline |
|
inline |
Referenced by osmscout::AbstractRoutingProfile::GetTime2().
|
extern |
Referenced by osmscout::FastestPathRoutingProfile::GetCostString().
|
static |
Referenced by osmscout::GeoCoord::Parse(), and ScanCoordinate().
|
static |
References osmscout::TransPoint::draw, FindIntersection(), osmscout::TransBuffer::GetLength(), GetSegmentBoundingBox(), osmscout::GeoBox::GetSize(), osmscout::GeoBox::Include(), osmscout::TransBuffer::points, osmscout::TransPoint::x, and osmscout::TransPoint::y.
Referenced by OptimizeArea(), and OptimizeWay().
|
extern |
References osmscout::ChargingStationFeatureValue::Chademo, osmscout::ChargingStationFeatureValue::TeslaDestination, osmscout::ChargingStationFeatureValue::TeslaSupercharger, osmscout::ChargingStationFeatureValue::Typ1Combo, osmscout::ChargingStationFeatureValue::Type1, osmscout::ChargingStationFeatureValue::Type2, osmscout::ChargingStationFeatureValue::Type2Cable, osmscout::ChargingStationFeatureValue::Type2Combo, and osmscout::ChargingStationFeatureValue::Unknown.
Referenced by osmscout::PaymentDescriptionProcessor::Process(), and osmscout::ChargingStationDescriptionProcessor::Process().
|
extern |
|
extern |
Returns locale-aware string representation of number.
value | |
locale | |
precision |
References osmscout::Locale::GetDecimalSeparator(), osmscout::Locale::GetThousandsSeparator(), and NumberToString().
Referenced by ByteSizeToString().
|
static |
References FormatMotorwayJunctionName(), osmscout::RouteDescription::NameDescription::GetName(), and osmscout::RouteDescription::NameDescription::GetRef().
Referenced by FormatMotorwayJunctionName(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayChange(), and osmscout::RouteDescriptionBuilder::Callback::OnMotorwayLeave().
|
static |
References FormatName(), osmscout::RouteDescription::NameDescription::GetName(), and osmscout::RouteDescription::NameDescription::GetRef().
Referenced by CrossingWaysDescriptionToString(), FormatName(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayChange(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayEnter(), osmscout::RouteDescriptionBuilder::Callback::OnMotorwayLeave(), osmscout::RouteDescriptionBuilder::Callback::OnPathNameChange(), osmscout::RouteDescriptionBuilder::Callback::OnRoundaboutLeave(), osmscout::RouteDescriptionBuilder::Callback::OnStart(), osmscout::RouteDescriptionBuilder::Callback::OnTurn(), and osmscout::RouteDescriptionBuilder::Callback::PushStreetName().
|
static |
References FullTurnCommand().
Referenced by FullTurnCommand(), and osmscout::RouteDescriptionBuilder::Callback::OnTurn().
|
static |
|
extern |
Calculate the astronomical twilight time for the given date and given location.
day | The day for which to calculate astronomical twilight |
location | the location |
References GetSunriseSunset().
Cell osmscout::getCentroidCell | ( | const Polygon & | polygon | ) |
References osmscout::Point::GetLat(), and osmscout::Point::GetLon().
Referenced by PolygonCenter().
|
extern |
Calculate the civil twilight time for the given date and given location.
day | The day for which to calculate civil twilight |
location | the location |
References GetSunriseSunset().
std::shared_ptr< S > osmscout::GetFeatureStyle | ( | const StyleResolveContext & | context, |
const std::vector< std::list< StyleSelector< S, A > > > & | styleSelectors, | ||
const FeatureValueBuffer & | buffer, | ||
const Projection & | projection | ||
) |
Get the style data based on the given features of an object, a given style (S) and its style attributes (A).
References osmscout::Magnification::GetLevel(), osmscout::Projection::GetMagnification(), osmscout::Projection::GetMeterInMM(), and osmscout::Projection::GetMeterInPixel().
Referenced by osmscout::StyleConfig::GetAreaBorderStyles(), osmscout::StyleConfig::GetAreaBorderSymbolStyle(), osmscout::StyleConfig::GetAreaBorderTextStyle(), osmscout::StyleConfig::GetAreaFillStyle(), osmscout::StyleConfig::GetAreaIconStyle(), osmscout::StyleConfig::GetAreaTextStyleCount(), osmscout::StyleConfig::GetAreaTextStyles(), osmscout::StyleConfig::GetCoastFillStyle(), osmscout::StyleConfig::GetCoastlineLineStyle(), osmscout::StyleConfig::GetLandFillStyle(), osmscout::StyleConfig::GetNodeIconStyle(), osmscout::StyleConfig::GetNodeTextStyleCount(), osmscout::StyleConfig::GetNodeTextStyles(), osmscout::StyleConfig::GetOSMSubTileBorderLineStyle(), osmscout::StyleConfig::GetOSMTileBorderLineStyle(), osmscout::StyleConfig::GetRouteLineStyles(), osmscout::StyleConfig::GetRoutePathTextStyle(), osmscout::StyleConfig::GetSeaFillStyle(), osmscout::StyleConfig::GetUnknownFillStyle(), osmscout::StyleConfig::GetWayLineStyles(), osmscout::StyleConfig::GetWayPathShieldStyle(), osmscout::StyleConfig::GetWayPathSymbolStyle(), and osmscout::StyleConfig::GetWayPathTextStyle().
|
static |
References GetLineIntersection().
|
static |
Referenced by osmscout::Color::ToHexString().
|
static |
Referenced by osmscout::Color::FromHexString().
void osmscout::GetMaxLevelInConditionals | ( | const std::list< ConditionalStyle< S, A > > & | conditionals, |
size_t & | maxLevel | ||
) |
|
extern |
Calculate the nautical twilight time for the given date and given location.
day | The day for which to calculate nautical twilight |
location | the location |
References GetSunriseSunset().
References osmscout::GeoCoord::GetLat(), osmscout::Point::GetLat(), osmscout::GeoCoord::GetLon(), and osmscout::Point::GetLon().
Referenced by pointToPolygonDist().
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)
References osmscout::GeoBox::Invalidate(), and osmscout::GeoBox::Set().
Referenced by ComputeSegmentBoxes(), EnsureSimple(), and FindPathIntersections().
|
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.
day | The day for which to calculate sunrise and sunset |
location | the location |
sunAltitude | the angle between the horizon and the center of the sun's disc. |
References osmscout::GeoCoord::GetLat(), and osmscout::GeoCoord::GetLon().
Referenced by GetAstronomicalTwilight(), GetCivilTwilight(), GetNauticalTwilight(), and GetSunriseSunset().
|
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.
day | The day for which to calculate sunrise and sunset |
location | the location |
References GetSunriseSunset().
|
extern |
Referenced by GenerateSearchPatterns().
|
extern |
Referenced by GenerateSearchPatterns().
int osmscout::GetUtcOffset | ( | ) |
bool osmscout::HasStyle | ( | const std::vector< std::vector< std::list< StyleSelector< S, A > > > > & | styleSelectors, |
const size_t | level | ||
) |
|
extern |
|
static |
Referenced by LoadPNG(), and LoadPNGOpenGL().
|
static |
|
extern |
References latConversionFactor, and lonConversionFactor.
|
inline |
Referenced by osmscout::ShortestPathRoutingProfile::GetCostString(), osmscout::DataAgent< DataLoader >::Process(), osmscout::PositionAgent::Process(), osmscout::VoiceInstructionAgent::Process(), osmscout::VehicleFollowHandler::vehiclePosition(), and osmscout::QmlRoutingProfile::~QmlRoutingProfile().
|
static |
|
inlinestatic |
Sort labels for the same object by position.
References osmscout::LabelData::position.
std::string osmscout::LaneTurnString | ( | LaneTurn | turn | ) |
References Left, MergeToLeft, MergeToRight, None, Right, SharpLeft, SharpRight, SlightLeft, SlightRight, Through, Through_Left, Through_Right, Through_SharpLeft, Through_SharpRight, Through_SlightLeft, Through_SlightRight, and Unknown.
Referenced by osmscout::RouteDescription::SuggestedLaneDescription::GetDebugString(), osmscout::NavigationModel::getLaneTurn(), and osmscout::NavigationModel::getLaneTurns().
void osmscout::LayoutTextLayout | ( | const QFontMetrics & | fontMetrics, |
qreal | proposedWidth, | ||
QTextLayout & | layout, | ||
QRectF & | boundingBox | ||
) |
cairo_surface_t * osmscout::LoadPNG | ( | const std::string & | filename | ) |
References imageDataKey, and IsLowerByteSet().
Referenced by osmscout::MapPainterCairo::HasIcon(), and osmscout::MapPainterCairo::HasPattern().
osmscout::OpenGLTextureRef osmscout::LoadPNGOpenGL | ( | const std::string & | filename | ) |
References IsLowerByteSet().
bool osmscout::LoadShader | ( | GLuint & | shader, |
GLenum | type, | ||
const std::string & | name, | ||
const std::string & | shaderSource | ||
) |
References osmscout::Log::Error(), and log.
Referenced by osmscout::OpenGLMapData< TexturePixelType, TexturePixelSize >::InitContext(), and osmscout::MapPainterOpenGL::MapPainterOpenGL().
bool osmscout::LoadShaderSource | ( | const std::string & | dirPath, |
const std::string & | name, | ||
std::string & | result | ||
) |
References osmscout::Log::Error(), ExistsInFilesystem(), and log.
Referenced by osmscout::OpenGLMapData< TexturePixelType, TexturePixelSize >::InitContext(), and osmscout::MapPainterOpenGL::MapPainterOpenGL().
|
inline |
References log_pd().
|
inline |
References log_pd().
|
inline |
References ARRAY2V2DF, ARRAY2V2DI, and POLY_EVAL3.
Referenced by atanh_pd(), log_pd(), and log_pd().
|
static |
References CalculatePathSegmentLengths(), and TransformPathOntoPath().
Referenced by osmscout::MapPainterCairo::DrawContourSymbol().
|
inline |
References m.
Referenced by osmscout::ElevationService< DataLoader >::ElevationProfile(), osmscout::PositionAgent::GpsPosition::GetGeoBox(), osmscout::EleFeatureValue::GetLabel(), osmscout::PositionAgent::GpsPosition::GetState(), osmscout::NavigationModule::locationChanged(), osmscout::ArrivalEstimateAgent::Process(), osmscout::BearingAgent::Process(), osmscout::PositionAgent::Process(), osmscout::RouteStateAgent::Process(), osmscout::SpeedAgent::Process(), osmscout::VoiceInstructionAgent::Process(), osmscout::RoutePostprocessor::SuggestedLanesPostprocessor::Process(), osmscout::ElevationChartWidget::reset(), osmscout::QmlRoutingProfile::setPenaltyDifferentType(), osmscout::QmlRoutingProfile::setPenaltySameType(), osmscout::MapWidget::showLocation(), osmscout::RoutePostprocessor::SuggestedLanesPostprocessor::SuggestedLanesPostprocessor(), osmscout::VehicleFollowHandler::vehiclePosition(), and osmscout::QmlRoutingProfile::~QmlRoutingProfile().
time_t osmscout::MkTimeUTC | ( | struct tm * | timeptr | ) |
https://stackoverflow.com/a/9088549/1632737
the utc analogue of mktime, (much like timegm on some systems)
References GetUtcOffset().
Referenced by ParseISO8601TimeString().
size_t osmscout::NumberDigits | ( | const N & | number, |
size_t | base = 10 |
||
) |
References base.
Referenced by StringToNumberSigned().
|
extern |
Returns locale-aware string representation of number.
value | |
locale |
References osmscout::Locale::GetThousandsSeparator().
Referenced by FloatToString(), osmscout::EleFeatureValue::GetLabel(), and osmscout::ElevationChartWidget::paint().
References osmscout::Vertex2D::GetX(), and osmscout::Vertex2D::GetY().
|
inline |
References osmscout::MagnificationLevel::Get().
|
inline |
References osmscout::MagnificationLevel::Get().
References osmscout::Vertex2D::GetX(), and osmscout::Vertex2D::GetY().
References osmscout::Vertex2D::GetX(), and osmscout::Vertex2D::GetY().
bool osmscout::operator< | ( | const TileCacheKey & | a, |
const TileCacheKey & | b | ||
) |
QDebug & osmscout::operator<< | ( | QDebug & | out, |
const TileCacheKey & | key | ||
) |
|
inline |
References osmscout::Distance::AsString().
|
inline |
References osmscout::MagnificationLevel::Get().
|
inline |
References osmscout::DBFileOffset::database, and osmscout::DBFileOffset::offset.
|
inline |
References osmscout::DBId::database, and osmscout::DBId::id.
Referenced by osmscout::StopClock::operator=(), and osmscout::StopClockNano::operator=().
|
extern |
|
extern |
bool osmscout::operator== | ( | const TileCacheKey & | a, |
const TileCacheKey & | b | ||
) |
|
extern |
Optimize a already transformed area.
References osmscout::TransBuffer::CalcSize(), DropEqualPoints(), DropRedundantPointsDouglasPeuckerArea(), DropRedundantPointsFast(), DropSimilarPoints(), EnsureSimple(), osmscout::TransPolygon::fast, and osmscout::TransPolygon::simple.
Referenced by TransformArea().
|
extern |
Optimize a already transformed way.
References osmscout::TransBuffer::CalcSize(), DropEqualPoints(), DropRedundantPointsDouglasPeuckerWay(), DropRedundantPointsFast(), DropSimilarPoints(), EnsureSimple(), osmscout::TransPolygon::fast, and osmscout::TransPolygon::simple.
Referenced by TransformWay().
References base, laneBackwardLeft, laneBackwardRight, laneBackwardThrough, laneBackwardThroughLeft, laneBackwardThroughRight, Left, MergeToLeft, MergeToRight, Right, SharpLeft, SharpRight, SlightLeft, SlightRight, Through, Through_Left, Through_Right, Through_SharpLeft, Through_SharpRight, Through_SlightLeft, and Through_SlightRight.
Referenced by osmscout::MapPainter::ParseLaneTurns().
|
extern |
References StringToBool().
References base, laneForwardLeft, laneForwardRight, laneForwardThrough, laneForwardThroughLeft, laneForwardThroughRight, Left, MergeToLeft, MergeToRight, Right, SharpLeft, SharpRight, SlightLeft, SlightRight, Through, Through_Left, Through_Right, Through_SharpLeft, Through_SharpRight, Through_SlightLeft, and Through_SlightRight.
Referenced by osmscout::MapPainter::ParseLaneTurns().
|
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
timeStr | |
timestamp |
References m, and MkTimeUTC().
|
extern |
References StringToNumber().
|
extern |
|
extern |
References StringToNumber().
|
static |
Project a point X,Y onto a parameterized path.
The final point is where you get if you walk on the path forward from the beginning for X units, then stop there and walk another Y units perpendicular to the path at that point. In more detail:
There's two pieces of math involved:
The parametric forms are used to answer the question of "where will I be if I walk a distance of X on this path". The Gradient is used to answer the question of "where will I be if then I stop, rotate left for 90 degrees and walk straight for a distance of Y".
Referenced by TransformPathOntoPath().
|
extern |
References osmscout::GeoCoord::GetLat(), osmscout::GeoCoord::GetLon(), and getSegDistSq().
GeoCoord osmscout::PolygonCenter | ( | const Polygon & | polygon, |
const GeoBox & | envelope, | ||
double | precision | ||
) |
References osmscout::Log::Debug(), osmscout::GeoBox::GetCenter(), getCentroidCell(), osmscout::GeoBox::GetHeight(), osmscout::GeoBox::GetMaxLat(), osmscout::GeoBox::GetMaxLon(), osmscout::GeoBox::GetMinCoord(), osmscout::GeoBox::GetMinLat(), osmscout::GeoBox::GetMinLon(), osmscout::GeoBox::GetWidth(), and log.
|
extern |
References GetBoundingBox(), and PolygonCenter().
|
extern |
uint osmscout::qHash | ( | const TileCacheKey & | key | ) |
|
extern |
Referenced by osmscout::MapDownloader::onJobFinished().
|
extern |
References osmscout::Log::Error(), ExistsInFilesystem(), osmscout::IOException::GetDescription(), GetFileSize(), and log.
Referenced by osmscout::MapPainterSVG::HasIcon().
|
static |
Referenced by osmscout::MapPainter::DrawContourLines(), and osmscout::MapPainter::DrawHillShading().
|
static |
Referenced by osmscout::MapPainter::DrawContourLines(), and osmscout::MapPainter::DrawHillShading().
|
static |
References EatWhitespace(), and ScanNumber().
Referenced by osmscout::GeoCoord::Parse().
|
static |
Referenced by ScanCoordinate().
|
static |
References AddAddressResult(), BuildStringListFromSubToken(), osmscout::LocationSearchResult::candidate, CleanupSearchPatterns(), osmscout::Log::Debug(), GenerateSearchPatterns(), log, osmscout::LocationSearchResult::match, osmscout::StopClock::ResultString(), and osmscout::StopClock::Stop().
Referenced by SearchForLocationForPostalArea(), and SearchForLocationForRegion().
|
static |
|
static |
References AddLocationResult(), BuildStringListFromSubToken(), osmscout::LocationSearchResult::candidate, CleanupSearchPatterns(), osmscout::Log::Debug(), GenerateSearchPatterns(), log, osmscout::LocationSearchResult::match, osmscout::LocationSearchResult::none, osmscout::LocationSearchResult::results, osmscout::StopClock::ResultString(), SearchForAddressForLocation(), osmscout::StopClock::Stop(), and UTF8StringToUpper().
Referenced by osmscout::LocationService::SearchForLocationByString().
|
static |
References AddPOIResult(), BuildStringListFromSubToken(), osmscout::LocationSearchResult::candidate, CleanupSearchPatterns(), osmscout::Log::Debug(), GenerateSearchPatterns(), log, osmscout::LocationSearchResult::match, and UTF8StringToUpper().
Referenced by osmscout::LocationService::SearchForLocationByString(), and osmscout::LocationService::SearchForPOIByForm().
|
static |
|
static |
|
extern |
Try to set current thread name.
name |
Referenced by osmscout::AsyncWorker::AsyncWorker().
|
extern |
Try to set thread name.
thread | |
name |
|
static |
References ShortTurnCommand().
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn(), and ShortTurnCommand().
|
static |
References osmscout::TransPoint::draw, and SimplifyPolyLineDouglasPeucker().
Referenced by DropRedundantPointsDouglasPeuckerArea(), DropRedundantPointsDouglasPeuckerWay(), and SimplifyPolyLineDouglasPeucker().
|
inline |
References sin_pd().
|
inline |
References sin_pd().
|
inline |
References sin_pd().
|
inline |
References ARRAY2V2DF, and POLY_EVAL6.
Referenced by sin_cos_pd(), sin_pd(), and sin_pd().
|
inline |
Referenced by GetEllipsoidalDistance(), GetSphericalBearingFinal(), and GetSphericalBearingInitial().
void osmscout::SortInConditionals | ( | const TypeConfig & | typeConfig, |
const std::list< ConditionalStyle< S, A > > & | conditionals, | ||
size_t | maxLevel, | ||
std::vector< std::vector< std::list< StyleSelector< S, A > > > > & | selectors | ||
) |
References osmscout::TypeConfig::GetTypeCount(), and osmscout::TypeConfig::GetTypes().
Referenced by SortInConditionalsBySlot().
void osmscout::SortInConditionalsBySlot | ( | const TypeConfig & | typeConfig, |
const std::list< ConditionalStyle< S, A > > & | conditionals, | ||
size_t | maxLevel, | ||
std::vector< std::vector< std::vector< std::list< StyleSelector< S, A > > > > > & | selectors | ||
) |
References SortInConditionals().
|
static |
|
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.
Referenced by osmscout::OpeningHours::Parse().
bool osmscout::StringToNumberSigned | ( | const std::string & | string, |
N & | number, | ||
size_t | base = 10 |
||
) |
References base, GetDigitValue(), and NumberDigits().
bool osmscout::StringToNumberUnsigned | ( | const std::string & | string, |
N & | number, | ||
size_t | base = 10 |
||
) |
References base, and GetDigitValue().
Referenced by osmscout::TextSearchIndex::Load().
|
extern |
|
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...
|
extern |
Format Timestamp to string in ISO8601 format "2017-11-26T13:46:12.124Z" for UTC timezone.
timestamp |
Referenced by osmscout::PositionAgent::Process().
|
extern |
Referenced by osmscout::InstalledMapsModel::data(), and osmscout::InstalledMapsModel::timeOfMap().
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.
C | container type for the geo coordinates of the area |
nodes | Area coordinates |
buffer | TransBuffer instance for memory caching |
projection | Projection to use |
optimize | Mode of optimization |
optimizeErrorTolerance | |
constraint |
References osmscout::TransPolygon::none, OptimizeArea(), osmscout::TransBuffer::Reset(), and osmscout::TransBuffer::TransformGeoToPixel().
Referenced by TransformArea(), and TransformBoundingBox().
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.
C | Container type for the geo coordinates of the area |
nodes | area coordinates |
transBuffer | TransBuffer instance for memory caching |
coordBuffer | Target CoordBuffer |
projection | Projection to use |
optimize | |
optimizeErrorTolerance |
References CopyPolygonToCoordBuffer(), osmscout::TransBuffer::IsEmpty(), and TransformArea().
|
extern |
Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates.
C | Container type for the geo coordinates of the area |
boundingBox | bounding box |
buffer | TransBuffer instance for memory caching |
projection | Projection to use |
optimize | Mode of optimization |
optimizeErrorTolerance | |
constraint |
References osmscout::GeoBox::GetMaxLat(), osmscout::GeoBox::GetMaxLon(), osmscout::GeoBox::GetMinLat(), osmscout::GeoBox::GetMinLon(), and TransformArea().
Referenced by osmscout::MapPainter::DrawContourLines(), osmscout::MapPainter::DrawHillShading(), and TransformBoundingBox().
|
extern |
Transform the geo coordinates to display coordinates of the given bounding box and copy the resulting coordinates the the given CoordBuffer.
C | Container type for the geo coordinates of the area |
boundingBox | bounding box |
transBuffer | TransBuffer instance for memory caching |
coordBuffer | Target CoordBuffer |
projection | Projection to use |
optimize | |
optimizeErrorTolerance |
References CopyPolygonToCoordBuffer(), osmscout::TransBuffer::IsEmpty(), and TransformBoundingBox().
|
static |
Project a path using a function.
Each point of the path (including Bezier control points) is passed to the function for transformation.
References PathPointTransformer().
Referenced by MapPathOnPath().
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.
C | container type for the geo coordinates of the area |
nodes | Area coordinates |
buffer | TransBuffer instance for memory caching |
projection | Projection to use |
optimize | Mode of optimization |
optimizeErrorTolerance | |
constraint |
References osmscout::TransPolygon::none, OptimizeWay(), osmscout::TransBuffer::Reset(), and osmscout::TransBuffer::TransformGeoToPixel().
Referenced by osmscout::MapPainter::DrawContourLines(), and TransformWay().
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.
C | Container type for the geo coordinates of the area |
nodes | way coordinates |
transBuffer | TransBuffer instance for memory caching |
coordBuffer | Target CoordBuffer |
projection | Projection to use |
optimize | |
optimizeErrorTolerance |
References CopyPolygonToCoordBuffer(), osmscout::TransBuffer::IsEmpty(), and TransformWay().
|
extern |
Trim trimmedChar from begin and end of str.
Referenced by osmscout::OpeningHours::Parse(), and osmscout::EleFeature::Parse().
|
static |
References TurnCommandType().
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn(), and TurnCommandType().
|
static |
References TurnCommandWithList().
Referenced by osmscout::RouteDescriptionBuilder::Callback::OnTurn(), and TurnCommandWithList().
|
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.
text | Text to get converted |
References utf8helper::UTF8Normalize().
Referenced by osmscout::SearchRunnable::GetObjectDetails(), and osmscout::TextSearchIndex::Search().
|
extern |
Convert the given std::string containing a UTF8 character sequence to lower case using the translation table implementation.
text | Text to get converted |
References utf8helper::UTF8ToLower().
Referenced by osmscout::ColorFeature::Parse().
|
extern |
Convert the given std::string containing a UTF8 character sequence to upper case using translation table implementation.
text | Text to get converted |
References utf8helper::UTF8ToUpper().
Referenced by GenerateSearchPatterns(), osmscout::StringMatcherCI::Match(), osmscout::StringMatcherTransliterate::Match(), osmscout::LocationService::SearchForLocationByForm(), osmscout::LocationService::SearchForLocationByString(), SearchForLocationForPostalArea(), SearchForLocationForRegion(), osmscout::LocationService::SearchForPOIByForm(), SearchForPOIForRegion(), and SearchForPOIForRegion().
|
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).
text | Text to get converted |
References utf8helper::UTF8Transliterate().
Referenced by osmscout::SearchRunnable::GetObjectDetails(), osmscout::StringMatcherTransliterate::Match(), and osmscout::TextSearchIndex::Search().
QList< T > osmscout::vectorToQList | ( | const std::vector< T > & | vec | ) |
std::string osmscout::vehicleStr | ( | osmscout::Vehicle | vehicle | ) |
References vehicleBicycle, vehicleCar, and vehicleFoot.
Referenced by osmscout::Router::onRouteRequest(), and osmscout::RoutingListModel::setStartAndTarget().
|
extern |
|
constexpr |
Referenced by Base64Decode(), and Base64Encode().
|
static |
Referenced by osmscout::BorderStyle::GetDescriptor().
const size_t osmscout::CELL_DIMENSION_COUNT = CELL_DIMENSION_MAX+1 |
const size_t osmscout::CELL_DIMENSION_MAX = 25 |
const std::array< CellDimension, CELL_DIMENSION_COUNT > osmscout::cellDimension |
Referenced by CalculateCellLevel(), osmscout::AreaAreaIndex::GetAreasInArea(), osmscout::TileKey::GetBoundingBox(), osmscout::TileId::GetBoundingBox(), osmscout::TileId::GetBoundingBox(), osmscout::TileId::GetTile(), osmscout::TileId::GetTile(), and osmscout::TileId::GetTopLeftCoord().
|
constexpr |
|
constexpr |
Referenced by osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelContourLabel(), osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::RegisterContourLabel().
|
constexpr |
Referenced by osmscout::AbstractRoutingService< RoutingState >::CalculateRoute(), osmscout::FastestPathRoutingProfile::GetCosts(), osmscout::AbstractRoutingService< RoutingState >::ResolveRNodeChainToList(), osmscout::AbstractRoutingService< RoutingState >::RestrictInitialUTurn(), osmscout::AbstractRoutingService< RoutingState >::WalkPaths(), and osmscout::AbstractRoutingService< RoutingState >::WalkToOtherDatabases().
|
static |
We rotate in 16 steps.
Referenced by osmscout::MapWidget::rotateLeft(), and osmscout::MapWidget::rotateRight().
|
static |
|
static |
Referenced by osmscout::FillStyle::GetDescriptor().
|
static |
Height of the font in pixel in relation to the given fontSize.
Referenced by osmscout::MapPainterNoOp::GetFontHeight().
|
static |
|
static |
Referenced by osmscout::IconStyle::GetDescriptor().
cairo_user_data_key_t osmscout::imageDataKey |
Referenced by LoadPNG().
|
static |
Referenced by osmscout::PlaneMapRenderer::HandleInitialRenderingRequest().
|
static |
Referenced by osmscout::LineStyle::GetDescriptor().
|
constexpr |
|
static |
|
static |
Referenced by osmscout::PathShieldStyle::GetDescriptor().
|
static |
Referenced by osmscout::PathSymbolStyle::GetDescriptor().
|
static |
Referenced by osmscout::PathTextStyle::GetDescriptor().
|
static |
Referenced by osmscout::TextStyle::GetDescriptor().
|
static |
Referenced by osmscout::MercatorProjection::Set().
|
static |
Referenced by osmscout::PlaneMapRenderer::HandleTileStatusChanged().
|
static |
|
constexpr |
The X flag is set as follows based on the locking steps Step 0 : X is released Step 1 : X is held, but waits for release of S Step 2 : X was released and left available for one of request in wait Step 3 : X is held Step N : X recursive N-3.
Referenced by osmscout::Latch::lock(), osmscout::Latch::lock_shared(), osmscout::Latch::try_lock_shared(), and osmscout::Latch::unlock().
|
constexpr |
Referenced by osmscout::Latch::lock(), osmscout::Latch::lock_shared(), and osmscout::Latch::unlock_shared().
|
constexpr |
Referenced by osmscout::Latch::lock(), osmscout::Latch::lock_shared(), and osmscout::Latch::unlock().
|
constexpr |
Referenced by osmscout::Latch::lock(), and osmscout::Latch::unlock_shared().