forked from organicmaps/organicmaps
[indexer] Adding checker for type highway=motorway_junction.
This commit is contained in:
parent
f4cc853349
commit
9576cbf33a
2 changed files with 13 additions and 0 deletions
|
@ -620,6 +620,12 @@ IsPublicTransportStopChecker::IsPublicTransportStopChecker()
|
|||
m_types.push_back(classif().GetTypeByPath({"railway", "tram_stop"}));
|
||||
}
|
||||
|
||||
IsMotorwayJunctionChecker::IsMotorwayJunctionChecker()
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
m_types.push_back(c.GetTypeByPath({"highway", "motorway_junction"}));
|
||||
}
|
||||
|
||||
IsLocalityChecker::IsLocalityChecker()
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
|
|
|
@ -368,6 +368,13 @@ public:
|
|||
DECLARE_CHECKER_INSTANCE(IsPublicTransportStopChecker);
|
||||
};
|
||||
|
||||
class IsMotorwayJunctionChecker : public BaseChecker
|
||||
{
|
||||
IsMotorwayJunctionChecker();
|
||||
public:
|
||||
DECLARE_CHECKER_INSTANCE(IsMotorwayJunctionChecker);
|
||||
};
|
||||
|
||||
/// Type of locality (do not change values and order - they have detalization order)
|
||||
/// Country < State < City < ...
|
||||
enum class LocalityType
|
||||
|
|
Loading…
Add table
Reference in a new issue