Remove the visual category "building"
Needs ReviewPublic

Authored by mnafees on Aug 31 2017, 9:40 AM.

Details

Summary

Resolves T6324

Diff Detail

Repository
R34 Marble
Lint
Lint Skipped
Unit
Unit Tests Skipped
mnafees created this revision.Aug 31 2017, 9:40 AM
rahn edited edge metadata.Aug 31 2017, 6:58 PM

Looks good to me!

nienhueser added inline comments.Sep 3 2017, 9:42 AM
src/plugins/runner/osm/OsmWay.cpp
86

Why is this done?
Generally I wonder if buildings still render icons. E.g. if a building has both building=yes and shop=supermarket it should render a building with a supermarket icon on top. Note that this is different from the (also commonly found) shop=supermarket node inside a building.
Previously building icons were accomplished with the code around m_buildingStyles[category]->iconStyle() above. Rendering itself was then delegated to PlacemarkLayer. The rendering should still work even when the building visual category is gone, does it?

mnafees added inline comments.Sep 4 2017, 7:25 PM
src/plugins/runner/osm/OsmWay.cpp
86

Hmm, so do you mean that we need to keep the

setVisualCategory()

call or do we need to restore the removed line# 1306?

nienhueser added inline comments.Sep 5 2017, 4:34 AM
src/plugins/runner/osm/OsmWay.cpp
86

I think the isBuilding check is not needed here. And generally i wonder if building icons still work after the patch series.