Commit da611f66 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

remove redundant code

Buildings are taken care for already by osmVisualCategory().
parent b8d82b4f
......@@ -1965,12 +1965,6 @@ GeoDataFeature::GeoDataVisualCategory StyleBuilder::determineVisualCategory(cons
return GeoDataFeature::None;
}
auto tagIter = osmData.findTag(QStringLiteral("building"));
if (tagIter != osmData.tagsEnd() &&
buildingValues().contains(tagIter.value())) {
return GeoDataFeature::Building;
}
if( osmData.containsTag("natural", "glacier") && osmData.containsTag("glacier:type", "shelf") ){
return GeoDataFeature::NaturalIceShelf;
}
......
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