|
libosmscout
1.1.1
|
#include <libosmscout/include/osmscout/navigation/LaneAgent.h>


Public Types | |
| typedef std::unordered_map< std::string, PostalArea > | PostalAreaMap |
Public Member Functions | |
| LaneMessage (const Timestamp ×tamp, const Lane &lane) | |
| PositionMessage (const Timestamp ×tamp, const RouteDescriptionRef &route, const Position &position) | |
| template<typename Description > | |
| std::shared_ptr< Description > | GetRouteDescription (const char *name) const |
| StopType | GetType () const |
| const ObjectFileRef & | GetStop () const |
| void | SetType (StopType stopType) |
| void | SetStop (const ObjectFileRef &stop) |
| PlatformType | GetType () const |
| const ObjectFileRef & | GetPlatform () const |
| void | SetType (PlatformType platformType) |
| void | SetPlatform (const ObjectFileRef &platform) |
| std::string | GetName () const |
| std::string | GetRef () const |
| std::string | GetOperator () const |
| std::string | GetNetwork () const |
| std::string | GetFrom () const |
| std::string | GetTo () const |
| Color | GetColor () const |
| void | SetName (const std::string &name) |
| void | SetRef (const std::string &ref) |
| void | SetOperator (const std::string &operatorName) |
| void | SetNetwork (const std::string &network) |
| void | SetFrom (const std::string &from) |
| void | SetTo (const std::string &to) |
| void | SetColor (const Color &color) |
| RegionMetrics () | |
| RegionPOI (const std::string &name, const ObjectFileRef &object) | |
| bool | operator< (const RegionPOI &other) const |
| RegionAddress (const std::string &name, const ObjectFileRef &object) | |
| bool | operator< (const RegionAddress &other) const |
| std::string | GetName () const |
| PostalArea (const std::string &name) | |
| void | AddLocationObject (const std::string &name, const ObjectFileRef &objectRef) |
| Region () | |
| void | CalculateMinMax () |
| bool | CouldContain (const GeoBox &boundingBox) const |
| bool | CouldContain (const Region ®ion, bool strict) const |
| bool | Contains (Region &child) const |
| GeoBox | GetBoundingBox () const |
| Checks whether child is within this. More... | |
| const std::vector< GeoBox > | GetAreaBoundingBoxes () const |
| void | AddLocationObject (const std::string &name, const std::string &postalCode, const ObjectFileRef &objectRef) |
| RegionRef | GetRegionForNode (RegionRef &rootRegion, const GeoCoord &coord) const |
| Router (VehicleMask vehicleMask, const std::string &filenamebase) | |
| VehicleMask | GetVehicleMask () const |
| std::string | GetFilenamebase () const |
| std::string | GetDataFilename () const |
| std::string | GetVariantFilename () const |
| std::string | GetIndexFilename () const |
Public Attributes | |
| Lane | lane |
| RouteDescriptionRef | route |
| Position | position |
| friend | PTRoute |
| std::vector< Stop > | stops |
| std::vector< Platform > | platforms |
| DatabaseId | dbId |
| DatabaseRef | database |
| RoutingDatabaseRef | routingDatabase |
| SimpleRoutingServiceRef | router |
| RoutingProfileRef | profile |
| uint32_t | minRegionChars |
| uint32_t | maxRegionChars |
| uint32_t | minRegionWords |
| uint32_t | maxRegionWords |
| uint32_t | maxPOIWords |
| uint32_t | minLocationChars |
| uint32_t | maxLocationChars |
| uint32_t | minLocationWords |
| uint32_t | maxLocationWords |
| uint32_t | maxAddressWords |
| FileOffset | reference |
| Reference to the node that is the alias. More... | |
| std::string | altName |
| ObjectFileRef | object |
| Object. More... | |
| std::unordered_map< std::string, size_t > | names |
| map of names in different case used for this location and their use count More... | |
| FileOffset | dataOffsetOffset |
| Offset of place where the address list offset is stored. More... | |
| std::list< ObjectFileRef > | objects |
| Objects that represent this location. More... | |
| std::list< RegionAddress > | addresses |
| Addresses at this location. More... | |
| std::map< std::string, RegionLocation > | locations |
| list of indexed objects in this region More... | |
| FileOffset | indexOffset |
| Offset into the index file. More... | |
| FileOffset | dataOffset |
| Offset into the index file. More... | |
| ObjectFileRef | reference |
| Reference to the object this area is based on. More... | |
| std::string | isIn |
| Name of the parent region as stated in OSM (is_in tag) More... | |
| std::list< RegionAlias > | aliases |
| Location that are represented by this region. More... | |
| int8_t | level {-1} |
| Admin level or -1 if not set. More... | |
| std::vector< std::vector< GeoCoord > > | areas |
| the geometric area of this region More... | |
| std::list< RegionPOI > | pois |
| A list of POIs in this region. More... | |
| PostalAreaMap | postalAreas |
| Collection of objects without a postal code. More... | |
| PostalAreaMap::iterator | defaultPostalArea |
| PostalArea for postal code "". More... | |
| std::list< RegionRef > | regions |
| A list of sub regions. More... | |
| std::map< Pixel, std::list< RegionRef > > | index |
| double | cellWidth |
| double | cellHeight |
Protected Member Functions | |
| void | CalculateProbePoints () |
| void | CalculateProbePointsForArea (size_t areaIndex, size_t refinement=0) |
| Finds probe points for this to be used for containment test. More... | |
Message with estimated possition
A route variant consists of a number of halts.
A route variant consists of a number of platforms.
A route can have multiple variants
Normally you have one variant in one direction and a second variant in the opposite direction.
An area can contain an number of location nodes. Since they do not have their own area we define the node name as an alias for the containing area, since this is the best approximation.
A POI within a region
An area. An area is a administrative region, a city, a country, ... An area can have child areas (suburbs, ...). An area has a name and also a number of locations, which are possibly within the area but area currently also represented by this area.
Definition of a router
| typedef std::unordered_map<std::string,PostalArea> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::PostalAreaMap |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::AddLocationObject | ( | const std::string & | name, |
| const ObjectFileRef & | objectRef | ||
| ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::AddLocationObject | ( | const std::string & | name, |
| const std::string & | postalCode, | ||
| const ObjectFileRef & | objectRef | ||
| ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::CalculateMinMax | ( | ) |
|
protected |
|
protected |
Finds probe points for this to be used for containment test.
| refinement | Finds probe points for an area |
| bool osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::Contains | ( | Region & | child | ) | const |
| bool osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::CouldContain | ( | const GeoBox & | boundingBox | ) | const |
| bool osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::CouldContain | ( | const Region & | region, |
| bool | strict | ||
| ) | const |
|
inline |
|
inline |
Checks whether child is within this.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::GetName | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| RegionRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::GetRegionForNode | ( | RegionRef & | rootRegion, |
| const GeoCoord & | coord | ||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::LaneMessage | ( | const Timestamp & | timestamp, |
| const Lane & | lane | ||
| ) |
|
inline |
|
inline |
| osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::PositionMessage | ( | const Timestamp & | timestamp, |
| const RouteDescriptionRef & | route, | ||
| const Position & | position | ||
| ) |
|
inlineexplicit |
| osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::Region | ( | ) |
|
inline |
| osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::RegionMetrics | ( | ) |
|
inline |
| osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::Router | ( | VehicleMask | vehicleMask, |
| const std::string & | filenamebase | ||
| ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetColor | ( | const Color & | color | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetFrom | ( | const std::string & | from | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetName | ( | const std::string & | name | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetNetwork | ( | const std::string & | network | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetOperator | ( | const std::string & | operatorName | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetPlatform | ( | const ObjectFileRef & | platform | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetRef | ( | const std::string & | ref | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetStop | ( | const ObjectFileRef & | stop | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetTo | ( | const std::string & | to | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetType | ( | StopType | stopType | ) |
| void osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::SetType | ( | PlatformType | platformType | ) |
| std::list<RegionAddress> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::addresses |
Addresses at this location.
| std::list<RegionAlias> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::aliases |
Location that are represented by this region.
| std::string osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::altName |
| std::vector<std::vector<GeoCoord> > osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::areas |
the geometric area of this region
| double osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::cellHeight |
| double osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::cellWidth |
| DatabaseRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::database |
| FileOffset osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::dataOffset |
Offset into the index file.
| FileOffset osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::dataOffsetOffset |
Offset of place where the address list offset is stored.
Offset into the index file.
| DatabaseId osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::dbId |
| PostalAreaMap::iterator osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::defaultPostalArea |
PostalArea for postal code "".
| std::map<Pixel,std::list<RegionRef> > osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::index |
| FileOffset osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::indexOffset |
Offset into the index file.
| std::string osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::isIn |
Name of the parent region as stated in OSM (is_in tag)
| Lane osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::lane |
| int8_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::level {-1} |
Admin level or -1 if not set.
| std::map<std::string,RegionLocation> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::locations |
list of indexed objects in this region
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::maxAddressWords |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::maxLocationChars |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::maxLocationWords |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::maxPOIWords |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::maxRegionChars |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::maxRegionWords |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::minLocationChars |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::minLocationWords |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::minRegionChars |
| uint32_t osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::minRegionWords |
| std::unordered_map<std::string, size_t> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::names |
map of names in different case used for this location and their use count
| ObjectFileRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::object |
Object.
Object with the given address.
| std::list<ObjectFileRef> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::objects |
Objects that represent this location.
| std::vector<Platform> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::platforms |
| std::list<RegionPOI> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::pois |
A list of POIs in this region.
| Position osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::position |
| PostalAreaMap osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::postalAreas |
Collection of objects without a postal code.
| RoutingProfileRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::profile |
| PTRoute |
| FileOffset osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::reference |
Reference to the node that is the alias.
| ObjectFileRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::reference |
Reference to the object this area is based on.
| std::list<RegionRef> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::regions |
A list of sub regions.
| RouteDescriptionRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::route |
| SimpleRoutingServiceRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::router |
| RoutingDatabaseRef osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::routingDatabase |
| std::vector<Stop> osmscout::CLASS_FINAL< DataLoader >::CLASS_FINAL::stops |
1.8.14