mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[core] Added landuse in address checker
Signed-off-by: matheusgomesms <matheusgomesms@noreply.codeberg.org>
This commit is contained in:
@@ -372,7 +372,7 @@ IsAddressObjectChecker::IsAddressObjectChecker() : BaseChecker(1 /* level */)
|
|||||||
m_types = OneLevelPOIChecker().GetTypes();
|
m_types = OneLevelPOIChecker().GetTypes();
|
||||||
|
|
||||||
Classificator const & c = classif();
|
Classificator const & c = classif();
|
||||||
for (auto const * p : {"addr:interpolation", "building", "entrance"})
|
for (auto const * p : {"addr:interpolation", "building", "entrance", "landuse"})
|
||||||
m_types.push_back(c.GetTypeByPath({p}));
|
m_types.push_back(c.GetTypeByPath({p}));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -381,7 +381,7 @@ IsAddressObjectChecker::IsAddressObjectChecker() : BaseChecker(1 /* level */)
|
|||||||
IsAddressChecker::IsAddressChecker() : BaseChecker(1 /* level */)
|
IsAddressChecker::IsAddressChecker() : BaseChecker(1 /* level */)
|
||||||
{
|
{
|
||||||
Classificator const & c = classif();
|
Classificator const & c = classif();
|
||||||
for (auto const * p : {"addr:interpolation", "building", "entrance"})
|
for (auto const * p : {"addr:interpolation", "building", "entrance", "landuse"})
|
||||||
m_types.push_back(c.GetTypeByPath({p}));
|
m_types.push_back(c.GetTypeByPath({p}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user