[core] Fix search after replacement of churchyard with religious land

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-07-11 22:07:20 +07:00
parent 4c3392b881
commit d85949c716
2 changed files with 4 additions and 4 deletions

View File

@@ -2455,7 +2455,6 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_SimpleTypesSmoke)
{"landuse", "allotments"},
{"landuse", "basin"},
{"landuse", "cemetery"},
{"landuse", "churchyard"},
{"landuse", "commercial"},
{"landuse", "construction"},
{"landuse", "farmland"},
@@ -2470,6 +2469,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_SimpleTypesSmoke)
{"landuse", "quarry"},
{"landuse", "railway"},
{"landuse", "recreation_ground"},
{"landuse", "religious"},
{"landuse", "reservoir"},
{"landuse", "residential"},
{"landuse", "salt_pond"},
@@ -3114,7 +3114,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_HighwayTypesConversion)
// Segregated path becomes cycleway + footway.
{{{"highway", "cycleway"}, {"highway", "footway"}}, {{"highway", "path"}, {"segregated", "yes"}}},
// A non-segregated cycleway becomes shared path/footway + bicycle=designated.
{{{"highway", "footway", "bicycle"}, {"hwtag", "yesbicycle"}}, {{"highway", "cycleway"}, {"segregated", "no"}, {"foot", "designated"}}},
{{{"highway", "path", "bicycle"}, {"hwtag", "yesbicycle"}, {"hwtag", "yesfoot"}, {"psurface", "unpaved_good"}}, {{"highway", "cycleway"}, {"foot", "yes"}, {"surface", "unpaved"}}},
@@ -3140,7 +3140,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_PathGrades)
{{"highway", "path"}, {{"highway", "path"}, {"sac_scale", "unsupported_value"}, {"trail_visibility", "unsupported_value"}}},
{{"highway", "path", "difficult"}, {{"highway", "path"}, {"sac_scale", "demanding_mountain_hiking"}, {"trail_visibility", "excellent"}}},
{{"highway", "path", "difficult"}, {{"highway", "path"}, {"trail_visibility", "bad"}}},
{{"highway", "path", "difficult"}, {{"highway", "path"}, {"trail_visibility", "bad"}}},
{{"highway", "path", "expert"}, {{"highway", "path"}, {"sac_scale", "alpine_hiking"}}},
{{"highway", "path", "expert"}, {{"highway", "path"}, {"trail_visibility", "horrible"}}},