Commit 6dc481ad authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Prefer building to other competing tags that set a visual category

parent 1fbaba73
......@@ -2024,6 +2024,10 @@ GeoDataFeature::GeoDataVisualCategory StyleBuilder::determineVisualCategory(cons
return GeoDataFeature::None;
}
if (osmData.containsTag("building", "yes")) {
return GeoDataFeature::Building;
}
if (osmData.containsTag("historic", "castle") && osmData.containsTag("castle_type", "kremlin")) {
return GeoDataFeature::None;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment