41 if (map.find(
tag) != map.end()) {
42 next->matchNode(nodeID, ti, attributes);
49 if (map.find(
tag) != map.end()) {
50 next->matchWay(wayID, ti, attributes);
57 auto& map = relation->
getTags();
58 if (map.find(
tag) != map.end()) {
59 next->matchRelation(relID, ti, attributes);
A RenderAttributes object contains mappings from NodeIDs and WayIDs to Style objects which define how...
TESTABLE const DataMap< CachedString, CachedString > & getTags() const
Returns a map with key-to-tag-mapping for osm-tags.
const shared_ptr< Selector > next
virtual void matchNode(NodeId nodeID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const
virtual void matchRelation(RelId relID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const
const shared_ptr< Geodata > geodata
HasTagSelector(const shared_ptr< Rule > &rule, const shared_ptr< Selector > &next, const string &tag)
This file is part of alaCarte.
virtual void matchWay(WayId wayID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const