|
libosmscout 0.1
|
A named administrative region. More...
#include <Location.h>
Classes | |
| class | RegionAlias |
Public Member Functions | |
| bool | Match (const ObjectFileRef &object) const |
Public Attributes | |
| std::vector< RegionAlias > | aliases |
| The list of alias for this region. | |
| std::string | altName |
| std::vector< FileOffset > | childrenOffsets |
| The list of child region offset. | |
| FileOffset | dataOffset |
| Offset of the data part of this entry. | |
| std::string | name |
| name of the region | |
| ObjectFileRef | object |
| The object that represents this region. | |
| FileOffset | parentRegionOffset |
| Offset of the parent region index entry. | |
| std::vector< PostalArea > | postalAreas |
| FileOffset | regionOffset |
| Offset of this entry in the index. | |
A named administrative region.
It is used to build up hierarchical, structured containment information like "Streets in City". Most of the time an administrative region is just the area of a city, but depending on the data quality it may also be parts of the city or bigger administrative regions like states.
AdminRegions are currently returned by Database.GetMatchingAdminRegions() using the CityStreetIndex.
| bool osmscout::AdminRegion::Match | ( | const ObjectFileRef & | object | ) | const |
References aliases, and osmscout::refNode.
| std::vector<RegionAlias> osmscout::AdminRegion::aliases |
The list of alias for this region.
Referenced by Match().
| std::string osmscout::AdminRegion::altName |
| std::vector<FileOffset> osmscout::AdminRegion::childrenOffsets |
The list of child region offset.
| FileOffset osmscout::AdminRegion::dataOffset |
Offset of the data part of this entry.
| std::string osmscout::AdminRegion::name |
name of the region
| ObjectFileRef osmscout::AdminRegion::object |
The object that represents this region.
| FileOffset osmscout::AdminRegion::parentRegionOffset |
Offset of the parent region index entry.
Referenced by osmscout::LocationIndex::ResolveAdminRegionHierachie().
| std::vector<PostalArea> osmscout::AdminRegion::postalAreas |
| FileOffset osmscout::AdminRegion::regionOffset |
Offset of this entry in the index.
Referenced by osmscout::LocationIndex::ResolveAdminRegionHierachie(), and osmscout::LocationIndex::VisitPOIs().